summaryrefslogtreecommitdiffstats
path: root/ulogd/sqlite3/ulogd_SQLITE3.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove obsolete patches and files and move ulogd to repository top-level ↵Patrick McHardy2008-05-181-435/+0
| | | | directory
* Marius Tomaschewski (mt@suse.de)/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org2007-08-011-24/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* some further SQLITE3 fixes from the debian packagelaforge2005-09-241-1/+2
|
* ulogd used to log into the wrong columnt (off by one error).laforge2005-09-231-1/+1
| | | | (Vladimir Mosgalin) (Closes: #372)
* various --ip-as-string fixeslaforge2005-02-161-1/+1
|
* fix log-ip-as-string on x86_64 (Javi Averbach)laforge2005-02-161-1/+5
|
* make it compilelaforge2005-02-091-8/+9
|
* add SQLITE3 support (ported from ulogd-1.02 patch by Ben La Monica)laforge2005-02-091-0/+406