Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindAddress ¶
FindAddress fetches the cached name for the argumented address.
func PluginNfqueueHandler ¶
func PluginNfqueueHandler(mess dispatch.NfqueueMessage, ctid uint32, newSession bool) dispatch.NfqueueResult
PluginNfqueueHandler is called to handle nfqueue packet data. We only look at DNS packets, extracting the QNAME and putting it in the session table.
func PluginShutdown ¶
func PluginShutdown()
PluginShutdown function called when the daemon is shutting down. We call Done for the argumented WaitGroup to let the main process know we're finished.
func PluginStartup ¶
func PluginStartup()
PluginStartup function is called to allow plugin specific initialization. We increment the argumented WaitGroup so the main process can wait for our shutdown function to return during shutdown.
Types ¶
Click to show internal directories.
Click to hide internal directories.