classify

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2018 License: GPL-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package classify classifies sessions as certain applications each packet gets sent to a classd daemon (the categorization engine) the classd daemon returns the classification information and classify attaches the information to the session.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PluginConntrackHandler

func PluginConntrackHandler(message int, entry *dispatch.ConntrackEntry)

PluginConntrackHandler receives conntrack dispatch. The message will be one of three possible values: N, U, or D for new entry, an update to an existing entry, or delete of an existing entry.

func PluginNfqueueHandler

func PluginNfqueueHandler(mess dispatch.NfqueueMessage, ctid uint32, newSession bool) dispatch.NfqueueResult

PluginNfqueueHandler is called for raw nfqueue packets. We pass the packet directly to the Sandvine NAVL library for classification, and push the results to the conntrack dictionary.

func PluginShutdown

func PluginShutdown()

PluginShutdown is called when the daemon is shutting down

func PluginStartup

func PluginStartup()

PluginStartup is called to allow plugin specific initialization

func SetHostPort

func SetHostPort(value string)

SetHostPort sets the address for the classdDaemon. Default is "127.0.0.1:8123"

Types

This section is empty.

Jump to

Keyboard shortcuts

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