Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PluginNfqueueClientHandler ¶
func PluginNfqueueClientHandler(mess dispatch.NfqueueMessage, ctid uint32, newSession bool) dispatch.NfqueueResult
PluginNfqueueClientHandler is called to handle nfqueue packet data. We look at the first packet of every connection, and put the reverse DNS name for the client address in the session and the dictionary. We get the names from cache if they are available, otherwise we do the reverse lookup and store them in the cache.
func PluginNfqueueServerHandler ¶
func PluginNfqueueServerHandler(mess dispatch.NfqueueMessage, ctid uint32, newSession bool) dispatch.NfqueueResult
PluginNfqueueServerHandler is called to handle nfqueue packet data. We look at the first packet of every connection, and put the reverse DNS name for the server address in the session and the dictionary. We get the names from cache if they are available, otherwise we do the reverse lookup and store them in the cache.
func PluginShutdown ¶
func PluginShutdown()
PluginShutdown function called when the daemon is shutting down.
func PluginStartup ¶
func PluginStartup()
PluginStartup function is called to allow plugin specific initialization.