summaryrefslogtreecommitdiffstats
path: root/syslogd.c
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* first steps in implementing object interfaces (stage work for later dynamicRainer Gerhards2008-02-211-1/+12
| | | | class loading)
* changed rsCStrObj name to cstr_t, which is more inline with the rest ofRainer Gerhards2008-02-211-1/+1
| | | | rsyslog (now) and also much easier to type
* created initial vmprg classRainer Gerhards2008-02-201-0/+2
|
* added vmop class (stage for expression execution)Rainer Gerhards2008-02-201-0/+2
|
* $MainMessageQueueDiscardSeverity can now also handle textual severitiesRainer Gerhards2008-02-201-1/+1
| | | | (previously only integers)
* changed rsCStrDestruct() to use the new interface conventionsRainer Gerhards2008-02-201-8/+6
|
* created var class out of property_tRainer Gerhards2008-02-201-0/+1
|
* created new class ctok_tokenRainer Gerhards2008-02-201-0/+1
|
* - added ctok class (the config tokenizer)Rainer Gerhards2008-02-191-1/+6
| | | | - done stage work to begin implement tokenizer
* some include file cleanupRainer Gerhards2008-02-191-3/+0
|
* cleanupRainer Gerhards2008-02-191-6/+0
|
* - moved config file code to its own fileRainer Gerhards2008-02-191-1100/+16
| | | | | | - finally made CONT_LINES in config the only standard support (the code contained code for other case, which were never executed by the preprocessor)
* - added doc on how expressions will workRainer Gerhards2008-02-191-2/+2
| | | | | | - cleaned up the stringbuf Construct interface - did some cleanup on stringbuf calls - we now have much better interfaces and macros
* - removed no longer necessary signal from threads.cRainer Gerhards2008-02-181-6/+10
| | | | | - changed debug output request signal to SIGUSR2 (as originally intented), restored SIGUSR1 semantics
* - changed interface "printchopped()" so that it looks more like a genericRainer Gerhards2008-02-181-8/+19
| | | | | | | message submission interface. Part of the ongoing modularization effort. - bugfix: invalid kernel log format -- see bug http://bugzilla.adiscon.com/show_bug.cgi?id=1
* - implemented $ActionLibdbiDriverDirectory config directiveRainer Gerhards2008-02-151-2/+0
| | | | | - some cleanup - doc improvements
* did some more work on omlibdbi, but did not yet get libdbi working. I guessRainer Gerhards2008-02-151-0/+2
| | | | its a compile problem, but have not found it so far.
* - added new facility and severity syntaxes to cfsysline handlerRainer Gerhards2008-02-141-1/+0
| | | | | - implemented $InputFileFacility config directive - implemented $InputFileSeverity config directive
* moved decoding of syslog names to a more appropriate placeRainer Gerhards2008-02-141-90/+3
|
* - fixed a race condition in DoDie() - cosmetic issue in debugging mode,Rainer Gerhards2008-02-131-2/+2
| | | | | could not happen in production - added the ability to persist current read location for the file monitor
* - introduced a new, more powerful, message submission interface submitMsg()Rainer Gerhards2008-02-131-2/+22
| | | | | | in additon to logmsg() - a first, rough implementation of imfile that is able to read files (but does not persist or handle rotation or whatever)
* changed interface of logmsg() to make it more straightforwardRainer Gerhards2008-02-131-8/+5
|
* - improved diagnostic information for abort casesRainer Gerhards2008-02-121-0/+2
| | | | | - some initial effort for malloc/free debugging support - bugfix: using dynafile actions caused rsyslogd abort
* bugfix: discard action and backup actions did not work due to problem inRainer Gerhards2008-02-121-4/+4
| | | | | | direct queue mode. Now fixed. Tracker was http://sourceforge.net/tracker/index.php?func=detail&aid=1886931&group_ id=123448&atid=696552