Documentation
¶
Index ¶
Constants ¶
View Source
const ( P0F_STATUS_BADQUERY = 0x00 P0F_STATUS_OK = 0x10 P0F_STATUS_NOMATCH = 0x20 P0F_ADDR_IPV4 = 0x04 P0F_ADDR_IPV6 = 0x06 P0F_STR_MAX = 31 P0F_MATCH_FUZZY = 0x01 P0F_MATCH_GENERIC = 0x02 )
Variables ¶
View Source
var ( P0F_QUERY_MAGIC = []byte{0x01, 0x46, 0x30, 0x50} // 0x50304601 P0F_RESP_MAGIC = []byte{0x02, 0x46, 0x30, 0x50} //0x50304602 )
Functions ¶
This section is empty.
Types ¶
type IPInfo ¶
type IPInfo struct {
OsMatchQ OSMatchQuality // Match quality
BadSw int // Host is lying about U-A / Server
Distance uint16 // System distance
OsName string // Name of detected OS
OsFlavor string // Flavor of detected OS
HttpName string // Name of detected HTTP app
HttpFlavor string // Flavor of detected HTTP app
LinkType string // Link type
Language string // Language
}
type OSMatchQuality ¶
type OSMatchQuality int
const ( Normal OSMatchQuality = 0 + iota Fuzzy Signature FuzzySignature )
Click to show internal directories.
Click to hide internal directories.