summaryrefslogtreecommitdiffstats
path: root/syslogd.c
Commit message (Collapse)AuthorAgeFilesLines
* some more cleanupRainer Gerhards2008-04-161-3446/+0
| | | | | reduced dependencies, moved non-runtime files to its own directory except for some whom's status is unclear
* provided ability to initialize the runtimeRainer Gerhards2008-04-161-52/+9
|
* cleanup: removed no longer needed filesRainer Gerhards2008-04-161-1/+2
|
* Merge branch 'bsd-port'Rainer Gerhards2008-04-151-1/+1
|\ | | | | | | | | | | | | Conflicts: ChangeLog plugins/imklog/imklog.c
| * our BSD define conflicted with a BSD system defineRainer Gerhards2008-04-091-1/+1
| | | | | | | | renamed to OS_BSD
* | enhanced legacy syslog parser to handle slightly malformed messagesRainer Gerhards2008-04-111-3/+10
| | | | | | | | | | | | Those with a space in front of the timestamp - at least HP procurve is known to do that and I won't outrule that others also do it. The change looks quite unintrusive and so we added it to the parser.
* | some cleanupRainer Gerhards2008-04-111-1/+0
| |
* | removed dependency on MAXHOSTNAMELEN as much as it made sense.Rainer Gerhards2008-04-101-8/+12
|/ | | | | | | | | | GNU/Hurd does not define it (because it has no limit), and we have taken care for cases where it is undefined now. However, some very few places remain where IMHO it currently is not worth fixing the code. If it is not defined, we have used a generous value of 1K, which is above IETF RFC's on hostname length at all. The memory consumption is no issue, as there are only a handful of this buffers allocated *per run* -- that's also the main reason why we consider it not worth to be fixed any further.
* Merge branch 'beta'Rainer Gerhards2008-04-081-2/+3
|\ | | | | | | | | | | Conflicts: syslogd.c
| * Merge branch 'v3-stable' into betaRainer Gerhards2008-04-081-2/+3
| |\
| | * bugfix: some legacy options not correctly interpreted - thanks toRainer Gerhards2008-04-081-1/+1
| | | | | | | | | | | | varmojfekoj for the patch
| | * - bugfixes in legacy options processing, credits to varmojfekojRainer Gerhards2008-04-081-1/+2
| | | | | | | | | | | | | | | * reset errno before printing a warning message * misspelled directive name in code processing legacy options
* | | implemented $ActionExecOnlyOnceEveryInterval config directiveRainer Gerhards2008-04-081-0/+3
| | |
* | | Merge branch 'beta'Rainer Gerhards2008-04-071-3/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/rsyslog_ng_comparison.html doc/status.html msg.c rsyslog.conf.5 rsyslog.h rsyslogd.8 syslogd.c Conflicts were due to patch being multiple times applied in CVS import.
| * | Merge branch 'v3-stable' into betaRainer Gerhards2008-04-071-4/+1
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog Makefile.am configure.ac doc/status.html rsyslog.conf.5 syslogd.c
| | * cleanup; var object was not dereferenced on terminationRainer Gerhards2008-04-071-4/+1
| | |
| | * fixed segfault when using expression based-filtersRainer Gerhards2008-04-071-2/+2
| | | | | | | | | | | | This was introduced by an invalid CVS patch.
| | * bugfix: segfault with expression-based filters - so far untestedRainer Gerhards2008-04-041-3/+4
| | |
| | * bugfix: some messages were emited without hostnameRainer Gerhards2008-04-041-41/+40
| | |
| | * removed the 32 character size limit (from RFC3164) on the tag. This had badRainer Gerhards2008-04-041-13/+9
| | | | | | | | | | | | | | | | | | | | | | | | effects on existing envrionments, as sysklogd didn't obey it either (probably another bug in RFC3164...). We now receive the full size, but will modify the outputs so that only 32 characters max are used by default. If you need large tags in the output, you need to provide custom templates.
| | * bugfix: memory leaks in script engineRainer Gerhards2008-04-031-3/+12
| | |
| * | bugfix: segfault with expression-based filters - so far untestedRainer Gerhards2008-04-041-3/+4
| | |
| * | bugfix: some messages were emited without hostnameRainer Gerhards2008-04-041-41/+40
| | |
| * | removed the 32 character size limit (from RFC3164) on the tag. This had badRainer Gerhards2008-04-041-13/+9
| | | | | | | | | | | | | | | | | | | | | | | | effects on existing envrionments, as sysklogd didn't obey it either (probably another bug in RFC3164...). We now receive the full size, but will modify the outputs so that only 32 characters max are used by default. If you need large tags in the output, you need to provide custom templates.
| * | bugfix: memory leaks in script engineRainer Gerhards2008-04-031-3/+12
| | |
| * | added more meaningful error messages to rsyslogd (when some errors happensRainer Gerhards2008-04-021-2/+40
| |/ | | | | | | during startup)
* | bugfix: segfault in expression-based filter - so far untestedRainer Gerhards2008-04-041-3/+4
| |
* | cleanupRainer Gerhards2008-04-041-6/+4
| |
* | bugfix: some messages were emited without hostnameRainer Gerhards2008-04-041-42/+44
| |
* | changed command line processing. -v, -M, -c options are now parsed andRainer Gerhards2008-04-041-65/+186
| | | | | | | | | | | | | | | | processed before all other options. Inter-option dependencies have been relieved. Among others, permits to specify intial module load path via -M only (not the environment) which makes it much easier to work with non-standard module library locations. Thanks to varmojfekoj for suggesting this change. Matches bugzilla bug 55.
* | removed the 32 character size limit (from RFC3164) on the tag. This had badRainer Gerhards2008-04-041-13/+9
| | | | | | | | | | | | | | | | effects on existing envrionments, as sysklogd didn't obey it either (probably another bug in RFC3164...). We now receive the full size, but will modify the outputs so that only 32 characters max are used by default. If you need large tags in the output, you need to provide custom templates.
* | added the capability to specify a processing (actually dequeue) timeframeRainer Gerhards2008-04-031-16/+7
| | | | | | | | with queues - so things can be configured to be done at off-peak hours
* | bugfix: memory leaks in script engineRainer Gerhards2008-04-031-3/+12
| |
* | added more meaningful error messages to rsyslogd (when some errors happensRainer Gerhards2008-04-021-2/+40
|/ | | | during startup)
* some cleanupRainer Gerhards2008-03-281-36/+1
|
* provided more generic URLRainer Gerhards2008-03-281-1/+1
|
* added build-in templatesRainer Gerhards2008-03-281-4/+4
|
* - added support for high-precision timestamps when receiving legacy syslogRainer Gerhards2008-03-281-5/+11
| | | | | | messages - added new $ActionForwardDefaultTemplate directive - added new $ActionGSSForwardDefaultTemplate directive
* - changed default file output format to include high-precision timestampsRainer Gerhards2008-03-281-3/+6
| | | | | - added a buid-in template for previous syslogd file format - added new $ActionFileDefaultTemplate directive
* - changed default for "last message repeated n times", which is now off byRainer Gerhards2008-03-271-42/+105
| | | | | | | | | | | default - implemented backward compatibility commandline option parsing - bugfix: -t and -g legacy options max number of sessions had a wrong and much too high value - automatically generated compatibility config lines are now also logged so that a user can diagnose problems with them - added compatibility mode for -a, -o and -p options - MILESTONE: compatibility mode processing finished
* small cleanupRainer Gerhards2008-03-251-1/+1
|
* bugfix: continue parsing if tag is oversize (discard oversize part) -Rainer Gerhards2008-03-251-0/+5
| | | | thanks to mclaughlin77@gmail.com for the patch
* bugfix: internally generated messages had "FROMHOST" property not setRainer Gerhards2008-03-221-0/+1
|
* removed a now-longer needed callback from the output module interface.Rainer Gerhards2008-03-221-43/+0
| | | | Results in reducing code complexity.
* changed queue's discard severities default value to 8 (do not discard) toRainer Gerhards2008-03-221-1/+1
| | | | prevent unintentional message loss
* bugfix: fixed some minor memory leaksRainer Gerhards2008-03-201-3/+23
|
* added flow control options to other input sourcesRainer Gerhards2008-03-191-4/+13
|
* added advanced flow control for congestion cases (mode depending on messageRainer Gerhards2008-03-141-2/+2
| | | | source and its capablity to be delayed without bad side effects)
* bugfix: $ModDir should not be reset on $ResetConfig - this can cause a lotRainer Gerhards2008-03-141-4/+0
| | | | | of confusion and there is no real good reason to do so. Also conflicts with the new -M option and environment setting.
* changed omgssapi and omfwd to utilize new object calling interface; made aRainer Gerhards2008-03-121-2/+0
| | | | | tcpclt class; (stage work, among others, for more intelligent recovery from TCP session recovery)