Documentation ¶
Overview ¶
Enriches flows with a geolocation. By default requires RemoteAddr to be set as it populates the RemoteCountry field. Optionally matches both addresses and writes the results to the Src and DstCountry fields.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GeoLocation ¶
type GeoLocation struct { segments.BaseSegment FileName string // required DropUnmatched bool // optional, default is false, determines whether flows are dropped when location is indeterminate MatchBoth bool // optional, default is false, determines whether both addresses are matched // contains filtered or unexported fields }
func (*GeoLocation) Run ¶
func (segment *GeoLocation) Run(wg *sync.WaitGroup)
Click to show internal directories.
Click to hide internal directories.