asnfetch

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2023 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Overview

package ansfetch validates, converts and fetchs missing asn db source files

package ansfetch validates, converts and fetchs missing asn db source files

package asnfetch ...

package asnfetch ...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	Domain    string   // domain name
	TLSKeyPin []string // TLS SHA2 KeyPins
}

Node ...

type Source

type Source struct {
	File      string   // asn db local file [cache] location
	Signature string   // asn db local file [cache] signature
	SizeMB    float32  // asn db local file size rough estimate in MegaByte(s)
	SignerKey string   // asn db signers public key
	Domain    string   // source domain name
	TrustCA   string   // pem file for root ca[s] trust anchor
	TLSKeyPin []string // tls cert sha2 keypin
	Url       string   // source url file db
	Urls      string   // source url file db signature
	Proxy     string   // db fetch
	ProxyCert string   // db fetch
	UserAgent string   // db fetch
	IPv4      bool     // source provides IPv4 entries
	IPv6      bool     // source provides IPv6 entries
	Parser    string   // asn db parser
}

Source ...

func GetSRCDB

func GetSRCDB(store string, fetch, noip4, noip6 bool) (srcdb []Source)

GetSRCDB ...

Jump to

Keyboard shortcuts

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