summaryrefslogtreecommitdiffstats
path: root/syslogd.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
|
* 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)
* implemented module unload handling (required a number of interface changes)Rainer Gerhards2008-03-111-33/+100
|
* some cleanupRainer Gerhards2008-03-071-1/+0
|
* renamed library module file names to lm*, so that they match the overallRainer Gerhards2008-03-071-1/+1
| | | | scheme (like im* and om*)
* extracted regexp functionality to its own dynamically loadable moduleRainer Gerhards2008-03-071-0/+1
|
* - added RSYSLOGD_MODDIR environment variableRainer Gerhards2008-03-071-13/+27
| | | | | - added -M rsyslogd option (allows to specify module directory location) - converted net.c into a loadable library plugin
* added capability to ignore client-provided timestamp on unix sockets andRainer Gerhards2008-03-061-5/+7
| | | | | | | | | | | made this mode the default; this was needed, as some programs (e.g. sshd) log with inconsistent timezone information, what messes up the local logs (which by default don't even contain time zone information). This seems to be consistent with what sysklogd did for the past four years. Alternate behaviour may be desirable if gateway-like processes send messages via the local log slot - in this case, it can be enabled via the $InputUnixListenSocketIgnoreMsgTimestamp and $SystemLogSocketIgnoreMsgTimestamp config directives
* cleanupRainer Gerhards2008-03-061-2/+0
|
* shuffled some more code from syslogd.c to the right placesRainer Gerhards2008-03-051-121/+9
|
* moved date/time handling functions to their own object (2nd pass)Rainer Gerhards2008-03-051-3/+3
|
* moved date/time handling functions to their own objectRainer Gerhards2008-03-051-547/+11
|
* some cleanupRainer Gerhards2008-03-051-26/+4
|
* - extracted logerror*() family of functions from syslogd, made them theirRainer Gerhards2008-03-051-99/+39
| | | | | | own class and converted to new object calling conventions (interface-based) - converted gss-misc into a loadable library module
* - changed modules.c calling conventions to be interface-basedRainer Gerhards2008-03-051-17/+19
| | | | | | | | | | | - moved module loader from conf.c to module.c, where it belongs - made the necessary plumbing to auto-load library modules - upgraded debug system to include iRet in function exit message - changed module interface so that instances need only to be supported by output plugins (if we actually need them for input plugins, we can always add it again...) - milestone: first implementation of library modules (but do not get unloaded on exit/hup so far)
* did some portability changes to make rsyslog compile on HP UXRainer Gerhards2008-03-051-26/+46
|
* - added class tcpsRainer Gerhards2008-03-021-0/+4
| | | | | | - added class tcps_sess - changed imtcp to use new classes; seems to work; imgssapi currently broken
* converted conf.c to an abstract classRainer Gerhards2008-02-291-15/+16
|
* - added "debug" command to debug environment settingsRainer Gerhards2008-02-291-7/+8
| | | | | | | | | - changed the object/interface system to use a new way of calling, giving up the numerical object ID. This was necessary as we needed more extensibility for third-party modules (which don't play at all with the previous fixed object ID). This is stage work for the object loader. Please note that I needed to change the object (de)serializer, I can't outrule that I have introduced bugs there.
* changed obj base object's calling interface to use the new obj_if_tRainer Gerhards2008-02-291-1/+4
| | | | interface structure
* worked on queue stabilityRainer Gerhards2008-02-261-1/+2
|
* bugfix: rsyslogd segfaulted on second SIGHUP tracker:Rainer Gerhards2008-02-261-1/+1
| | | | http://bugzilla.adiscon.com/show_bug.cgi?id=38
* applied patch from varmojfekoj to fix an issue with compatibility mode andRainer Gerhards2008-02-261-2/+2
| | | | default module directories (many thanks!)
* - added sysvar classRainer Gerhards2008-02-251-0/+2
| | | | - added PUSHSYSVAR operation to vm
* - added PUSHMSGVAR operationRainer Gerhards2008-02-251-16/+39
| | | | - included expression support in filter module (and it works ;))
* - added some temporary testing aids to conf.c, so that we can debugRainer Gerhards2008-02-251-0/+4
| | | | | | expression support as it is implemented - fixed a couple of bugs in expression system - added more operations to virtual machine - now works well with constants
* removed no longer needed codeRainer Gerhards2008-02-221-8/+0
|
* applied patch by varmojfekoj to allow gssapi functionality to be build as aRainer Gerhards2008-02-221-8/+153
| | | | | | separate plugin (so that gssapi and plain tcp functionality can be individually distributed). Also inclulded some other enhancements, most importantly initial compatibility mode system