summaryrefslogtreecommitdiffstats
path: root/include/ulogd/ulogd.h
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of SVN tag in comment.Eric Leblond2013-01-181-2/+1
| | | | This patch also update some copyright and licence declaration.
* Add missing u64 function.Eric Leblond2012-12-211-0/+5
|
* src: fix version that -V displaysPablo Neira Ayuso2012-08-031-2/+0
| | | | | | | It was wrong, use VERSION constant which uses the version information available in configure.ac. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* src: add ULOGD_DTYPE_SUM for nfacct-based accountingPablo Neira Ayuso2012-06-221-1/+2
| | | | | | This new type will be used in flow-up patch to support XML output. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* ulogd: add okey_set_u64Pablo Neira Ayuso2012-02-221-0/+6
| | | | Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* ulogd: fix double call of stop for reused input pluginsPablo Neira Ayuso2011-01-071-0/+2
| | | | | | | | | | | This patch adds reference counting for plugins. This is used to fix a double stop for input plugins that are reused. This problem was reported by Salih Gonullu <sag@open.ch>: http://marc.info/?l=netfilter&m=129439584700693&w=2 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* Revert "ulogd: permit compilation of plugin outside of tree"Eric Leblond2009-04-181-2/+0
| | | | | | This reverts commit 0ff525cb0506b2c043bc9df6d7e7b486c865bc38. A stable and clean API should be provided if we choose to offer for external module capability.
* ulogd: permit compilation of plugin outside of treeEric Leblond2009-04-051-0/+2
| | | | | This patch modifies Makefile.am to install the headers needed for compilation of plugins outside of the source tree.
* ulogd: include config.h in all files.Eric Leblond2009-03-101-0/+1
| | | | | This patch adds config.h inclusion in ulogd.h to be able to use all defined value in the whole project.
* Fix crash on IPv6 packet.Eric Leblond2009-01-131-1/+4
| | | | | Incorrect definition of a IPv6 input key handling function was causing a crash in ulogd.
* Unload plugins when quitting.Eric Leblond2008-12-091-0/+8
| | | | | This patch adds unloading of plugins (call dlclose()) in ulogd2. This make valgrind happy and will be useful for daemon live reconfiguration.
* add ukey_* function for key assignationPablo Neira Ayuso2008-12-091-1/+59
| | | | | | | | | This patch cleans up the current key assignation by introducing a set of functions ukey_* to set the key value as Eric Leblond and we discussed during the latest Netfilter Workshop. This patch is based on an idea from Holger Eitzenberger. Signed-off-by: Eric Leblond <eric@inl.fr>
* cleanup for key builder and fix IPv6 support and introduce 128-bits typePablo Neira Ayuso2008-06-021-0/+14
| | | | | | This patch cleans up the key building by breaking lines at 80 columns and it fixes the IPv6 support (use of a pointer after free) by introducing a new 128 bit type.
* This patch adds plist a linked list to the pluginstance/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org2008-03-251-0/+2
| | | | | | | | structure. It can be used by input modules to duplicate an entry. This solves the issue of not being able to use the same plugin instance twice. Signed-off-by: Eric Leblond <eric@inl.fr>
* IP2BIN filter convert IP address from host storage to a "binary" string which/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org2008-03-251-0/+1
| | | | | | | | | | | can be use by MySQL. This is not strictly speaking raw data but it was of type RAW. Following remark from Hugo Mildenberger, I introduce in this patch a dedicated type ULOGD_RET_RAWSTR. The main reason not to use a ULOGD_RET_STRING parameter is that the paramater is not human readable. 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-11/+2
| | | | - fix crash when enabling pollinterval clause in flow-based accounting
* From: Eric Leblond <eric@inl.fr>/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org2008-02-091-0/+5
| | | | | | | Some macros were defined several time. This was the case of GET_VALUE, pp_is_valid. This patch puts the definition in ulogd.h and fixes the definition of pp_is_valid which was wrong (causing segfault by acessing to fields at NULL).
* now 'make dist-bzip2' finally works/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2006-01-081-0/+1
|
* introduce core timer handling/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2006-01-071-0/+14
|
* move plugin wildcard input key generation into core/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2005-12-151-0/+1
|
* add new 'ulogd_key_size()' function/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2005-12-151-12/+3
|
* rename all linux list related structs/functs/macros to 'llist', since mysql ↵/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2005-12-051-5/+5
| | | | is now cluttering the namespace by its 'list_add' function.
* make 'num_keys' an attribute of pluginstance instead of pluginlaforge2005-11-201-21/+17
|
* use bitmask instead of enum for input/output data typelaforge2005-11-201-10/+10
|
* introduce version field for plugins, refuse loading plugins with different ↵laforge2005-11-051-1/+4
| | | | version
* cleanup unused structs / memberslaforge2005-11-041-11/+2
|
* remvoe unneeded structure memberslaforge2005-10-081-3/+0
|
* too many changes to comment on. ulogd now compiles again.laforge2005-10-021-8/+40
|
* minor updateslaforge2005-06-241-3/+2
|
* current snapshot (still not compiling)laforge2005-04-171-0/+2
| | | | | - add more sophisticated signal delivery to pluginstances - partial LOGEMU port to ulogd2
* current working state (doesn't compile yet)laforge2005-04-171-9/+13
|
* add file descriptor handling of main select loop, fix typo, update copyright ↵laforge2005-04-171-0/+19
| | | | notice
* minor cosmetic updateslaforge2005-04-161-7/+10
|
* intermediate development snapshotlaforge2004-10-101-15/+20
|
* add pluginstance stack parsing/building routineslaforge2004-10-021-0/+2
|
* commit my latest changes from Ottawa (July 2004)laforge2004-08-221-51/+83
|
* - add .init and .fini member to output pluginlaforge2004-04-241-1/+5
| | | | | - defer file opens + other initialization until after setuid() was called - cosmetic cleanup (no _ in static functions, use 'static' whenever possible)
* signal handler has no return valuelaforge2003-01-131-3/+3
|
* typo fixlaforge2002-06-131-5/+5
|
* make it compile again (small bugfixes after sighandler checkin)laforge2001-06-171-2/+3
|
* Support for logfile cycling (SIGHUP handler)laforge2001-06-141-2/+4
|
* added a few syntactic correctionslaforge2001-05-261-3/+3
|
* fix minor bug in new ulogd_log macro (prevented additional args)laforge2001-02-041-4/+4
|
* - fixes segfault bug when packet received but no interpreters registered ↵laforge2001-02-041-3/+6
| | | | | | | (reported by Drori Ghiora) - fixes logfile bug: wrong filename and line number displayed - fixes logfile bug: logfile is fflush()ed after each line (reported by Drori Ghiora)
* huge reorganization for 0.9laforge2000-11-201-20/+22
| | | | | | | | | - added hashtables everywhere - no more dynamic allocation for each packet - mysql output plugin - more keys in ulogd_BASE - moved libipulog into ulogd directory - introduced autoconf
* - new syslog emulation output targetlaforge2000-11-161-2/+20
| | | | - lot of bugfixes
* Major update. Almost everything has changed.laforge2000-11-161-5/+36
| | | | | | - no more dynamic allocations at runtime - only once at startup - less list traversal through interpreter and key hashes - output plugins can request only certain results!
* added example config filelaforge2000-09-121-4/+10
| | | | | | bugfixes in conffile.c ulogd_log still prints obsolete \n cosmetic fixes
* ulogd_log now a functionlaforge2000-09-121-2/+11
|
* made nlgroup + pluginpath configurablelaforge2000-09-091-4/+8
| | | | | added default values for all config keys started writing ulogd_log