summaryrefslogtreecommitdiffstats
path: root/ulogd/pcap
Commit message (Collapse)AuthorAgeFilesLines
* Remove obsolete patches and files and move ulogd to repository top-level ↵Patrick McHardy2008-05-182-316/+0
| | | | directory
* Marius Tomaschewski (mt@suse.de)/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org2007-08-011-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sqlite3 - added global stmt_siz variable for the allocated size of the stmt buffer (obsoletes local size variable in _sqlite3_createstmt). - added guard at the beginning of _sqlite3_output so the output is disabled if the plugin initialization (db open, ...) fails. - changed many formats to use %zu for size_t variables, esp. in DEBUGP calls - changed to use snprintf instead of sprintf in pgsql_output to take care about the allocated buffer length - using the STMT_ADD macro when the string has to be appended. - fixed sqlite3_prepare() call error handling. - fixed to use ULOGD_MAX_KEYLEN-1 in strncpy. - added severals sqlite3_close(dbh); dbh = NULL; to reset it propelly. * pcap - fixed to use pcapsync_ce.u.value instead of pcapf_ce.u.value for flush - changed to show pcap file name (so the user can see if the default or the file specified in the config is used). * mysql-table - fixed id field definition in mysql.table.ipaddr-as-string; default value can't be set when auto_increment is used. * example configuration file: - fixed to use an usefull default value for sqlite3 db file... * user option - added "user" config option, disabled by default (runs as root). can be overwritten by the already existing "-u" cmd line option. without this option, the customers have to edit init script or source some sysconfig file to pass it via -u ... both not needed.
* Fix ulogd_PCAP on systems where sizeo(struct timeval) != 8 (Chris Humbert) ↵laforge2005-09-231-3/+51
| | | | (Closes: #360)
* apply C99 initializers fix (Roberto Nibali)laforge2005-02-141-3/+3
|
* - use C99 struct initializerslaforge2004-04-241-8/+14
|
* - add .init and .fini member to output pluginlaforge2004-04-241-21/+24
| | | | | - defer file opens + other initialization until after setuid() was called - cosmetic cleanup (no _ in static functions, use 'static' whenever possible)
* fix ulogd_PCAP compilation (Marrtin Josefsson)laforge2004-02-131-3/+3
|
* fix output if file exists and has a size of zero bytes (Yoshihiro Kawabe)laforge2003-10-161-3/+8
|
* new configuration file syntax (Magnus Boden)laforge2003-09-281-6/+5
|
* remove unused variableslaforge2003-08-231-5/+2
|
* crosscompile-ready makefiles/configure scripts for ulogd (Dan Eble)laforge2003-08-231-5/+5
|
* explicitly link against dynamic libs (Joerg Wendland)laforge2003-08-111-1/+1
|
* real fix for skb receive timestamp problem (Harald Welte), revert PCAP ↵laforge2003-04-271-4/+3
| | | | workaround
* Fix broken OUTPUT timestamping since apparently kernel inits the sk_bufflaforge2003-04-271-3/+4
| | | | with a stamp.tv_sec of 0 and junk in stamp.tv_usec. (Curtis@GreenKey.net)
* fix include paths.laforge2002-12-092-7/+7
|
* make ulogd_PCAP build conditional to the existance of pcap.hlaforge2002-07-302-0/+258