Documentation
¶
Index ¶
- func AddDns(domain string, ipaddr *net.IP) error
- func AddGlob(g *models.GlobGroup) error
- func Connect()
- func DeletePolicy(src_ip string, glob_group string) error
- func GetAllPolicies() *[]models.Policy
- func GetDomainForIP(ip string) string
- func GetGlob(name string) *models.GlobGroup
- func GetGlobs() []models.GlobGroup
- func GetIPsMatchingGlob(g *models.GlobGroup) []string
- func GetIpPolicies(p *models.Policy) *[]models.IpPolicy
- func GetPolicy(src_ip string, glob_group string) *models.Policy
- func GetSrcGlobUsage(rate int, mins int, k int, above bool) model.Vector
- func UpdatePolicy(src_ip string, glob_group string, class int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeletePolicy ¶
func GetAllPolicies ¶
func GetDomainForIP ¶
Retrieve the most likely domain for a given IP based on our DNS cache. This should be enhanced to include the source IP as well
func GetIPsMatchingGlob ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.