summaryrefslogtreecommitdiffstats
path: root/ulogd/extensions/ulogd_LOGEMU.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove obsolete patches and files and move ulogd to repository top-level ↵Patrick McHardy2008-05-181-139/+0
| | | | directory
* Patches from Marius Tomaschewski <mt@suse.de>:/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org2007-05-281-2/+5
| | | | | | | | | - Fixed sigterm_handler to close logfile and then call output_plugin->fini. The output_plugin->fini function may still use the logger (e.g. sqlite3 does), what causes a SEGV (really happens in case of sqlite3 db init error - as far as I remember) - Changed sighup_handler_print to not to call exit(2) on reopen failure, but try to reopen and fallback to continue using old descriptor on failure. - Fixed mac output in ulogd_BASE.c - Added explicit termination of the hostname buffer: "[...] if namelen is an insufficient length to hold the host name, then the returned name is truncated and it is unspecified whether the returned name is null-terminated. [...]" as SUSv2 specifies. - Added to print "\n" after ULOGD_RET_NONE type as well after an unspecified type. See example above at extensions/ulogd_BASE.c. - Fixed to set the '\0' at the end and not behind the buffer.
* apply C99 initializers fix (Roberto Nibali)laforge2005-02-141-2/+2
|
* use c99 initializers, move logefile parsing to correct functionlaforge2005-02-121-11/+17
|
* - add .init and .fini member to output pluginlaforge2004-04-241-11/+25
| | | | | - defer file opens + other initialization until after setuid() was called - cosmetic cleanup (no _ in static functions, use 'static' whenever possible)
* add 'real' syslog target (untested)laforge2003-10-101-225/+10
|
* new configuration file syntax (Magnus Boden)laforge2003-09-281-6/+5
|
* fix printing of time, bug introduced in 1.01 (Henry Yang)laforge2003-09-121-3/+3
|
* use oob.time.sec instead of reading our own timelaforge2003-08-231-43/+44
|
* add typecasts to (struct in_addr) when calling inet_ntoa()laforge2003-01-131-5/+7
|
* General code cleanup by Roberto Nibali:laforge2002-12-091-4/+7
| | | | | | | | | - linking for dlopen() needs to be after the object generation - fix small typo in Rules.make.in - #ifdef DEBUG all functions that are not used - add missing #include's - fix sloppy braceing - added return for 'int main()'
* fix include paths.laforge2002-12-091-4/+4
|
* add PROTO=%d line if not tcp/udp/icmp (by Martin Josefsson)laforge2002-04-271-2/+5
|
* Fix MAC address printing if there is none (by Andrej Ota)laforge2001-09-271-3/+5
|
* license correction (explicitly use GPLv2)laforge2001-09-011-3/+15
|
* Support for logfile cycling (SIGHUP handler)laforge2001-06-141-4/+23
|
* added support for synchronous writes to ulogd_LOGEMU (Michael Stolovitzsky)laforge2001-05-201-7/+20
|
* added date and hostname printing to be more syslog-alikelaforge2001-03-251-4/+37
|
* fixed bug: old code assumed host-order is little-endian :(laforge2001-02-041-12/+5
|
* huge reorganization for 0.9laforge2000-11-201-15/+23
| | | | | | | | | - 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-0/+243
- lot of bugfixes