summaryrefslogtreecommitdiffstats
path: root/input/flow/ulogd_inpflow_NFCT.c
Commit message (Collapse)AuthorAgeFilesLines
* This patch contains two linked modifications in NFCT input plugin:/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org2008-03-261-18/+37
| | | | | | | | | - event mask is now configurable though the event_mask configuration variable - event type is now stored in the ct.event output key. This can be used to display the information or to use it to implement some tracking algorithm in userspace. Signed-off-by: Eric Leblond <eric@inl.fr>
* This patch adds support for duplication of the message to be/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org2008-03-251-0/+10
| | | | | | able to use multiple time the same instance of NFCT. Signed-off-by: Eric Leblond <eric@inl.fr>
* - implement a synchronous timer framework/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org2008-02-191-14/+12
| | | | - fix crash when enabling pollinterval clause in flow-based accounting
* Sends one message for each connection event instead of two/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org2008-02-191-68/+168
| | | | Signed-off-by: Eric Leblond <eric@inl.fr>
* Ulogd2: fix some indenting/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net2008-01-121-19/+19
| | | | | | | The following patch fixes some indenting and typo in various ulogd2 files. Eric Leblond <eric@inl.fr>
* Add a printflow plugin is similar to the PRINTPKT plugin, but for flows. It's/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2006-05-231-0/+8
| | | | output is compatible with the SYSLOG and LOGEMU plugins. (Philip Craig)
* fix some hahstable related bugs:/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2006-01-261-8/+12
| | | | | | | 1) correctly name flow.end.usec 2) initialize 'idle' list_head 3) don't allocate hash table in case hash_use=0 4) fix invalid pointer arithmetic
* introduce NFCT input plugin hash table for start/end timestamps. Based on an/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2006-01-121-16/+294
| | | | | | | | | | | | | | | | | | | | original patch by Christian Hentschel, amended like: 1) the hash table has to be per-instance, since [at least in the future] we can have nfnetlink messages routed from other machines over the network, thus every NFCT instance has to have it's own hash table. 2) Whether or not to use a preallocated table is now a configuration value, as is the number of buckets and max_entries 3) configure_nfct was not used in the struct ulogd_plugin.configure 4) don't put the hashtable buckets in BSS, but rather allocate them dynamically 5) allocate all ct_timestamps (in the preallocated case) at once, rather than malloc()ing each on its own. 6) use official IPFIX fields for flow start and flow end instead of private numbers 7) use llist instead of list (linuxlist.h adds an additional 'l') 8) add lots of TODO items 9) add IPFIX_NF_conntrack_id to header file
* - Cosmetic changes (tab indent struct initializers)/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2006-01-121-18/+18
| | | | - Rename "tcp.[sd]port" into "l4.[sd]port" (Christian Hentschel)
* add support for get-counter-and-zero polling/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2006-01-071-2/+64
|
* make 'num_keys' an attribute of pluginstance instead of pluginlaforge2005-11-201-1/+1
|
* introduce version field for plugins, refuse loading plugins with different ↵laforge2005-11-051-0/+1
| | | | version
* - fix endianness of ip address / port numberslaforge2005-11-051-5/+6
| | | | - fix segfault due to missing priv_size
* add some more ipfix related information to NFCTlaforge2005-11-041-10/+45
|
* make NFCT plugin compilelaforge2005-11-041-26/+38
|
* rename CTNL to NFCTlaforge2005-11-041-0/+220