data

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2019 License: BSD-2-Clause Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAliasedNetworks

func GetAliasedNetworks() ([]*net.IPNet, error)

func GetBlacklist

func GetBlacklist() (*blacklist.NetworkBlacklist, error)

func GetBloomFilter

func GetBloomFilter() (*bloom.BloomFilter, error)

func GetCandidatePingResults

func GetCandidatePingResults() ([]*net.IP, error)

func GetCleanPingResults

func GetCleanPingResults() ([]*net.IP, error)

func GetMostRecentFilePathFromDir

func GetMostRecentFilePathFromDir(candidateDir string) (string, error)

func GetMostRecentTargetNetworkString

func GetMostRecentTargetNetworkString() (string, error)

func GetProbabilisticClusterModel

func GetProbabilisticClusterModel() (*modeling.ClusterModel, error)

func GetScanResultsNetworkRanges

func GetScanResultsNetworkRanges() ([]*net.IPNet, error)

func LoadBloomFilterFromOutput

func LoadBloomFilterFromOutput() (*bloom.BloomFilter, error)

func UpdateAliasedNetworks

func UpdateAliasedNetworks(nets []*net.IPNet, filePath string)

func UpdateBlacklist

func UpdateBlacklist(blacklist *blacklist.NetworkBlacklist, filePath string)

func UpdateBloomFilter

func UpdateBloomFilter(filter *bloom.BloomFilter, filePath string)

func UpdateCandidatePingResults

func UpdateCandidatePingResults(ips []*net.IP, filePath string)

func UpdateCleanPingResults

func UpdateCleanPingResults(addrs []*net.IP, filePath string)

func UpdateScanResultsNetworkRanges

func UpdateScanResultsNetworkRanges(networks []*net.IPNet, filePath string)

func WriteMostRecentTargetNetwork

func WriteMostRecentTargetNetwork(toWrite *net.IPNet) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL