summaryrefslogtreecommitdiffstats
path: root/syslogd.h
Commit message (Collapse)AuthorAgeFilesLines
* removed dependency on MAXHOSTNAMELEN as much as it made sense.Rainer Gerhards2008-04-101-1/+1
| | | | | | | | | | 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.
* implemented $ActionExecOnlyOnceEveryInterval config directiveRainer Gerhards2008-04-081-0/+1
|
* - changed default file output format to include high-precision timestampsRainer Gerhards2008-03-281-1/+1
| | | | | - added a buid-in template for previous syslogd file format - added new $ActionFileDefaultTemplate directive
* added flow control options to other input sourcesRainer Gerhards2008-03-191-1/+1
|
* implemented module unload handling (required a number of interface changes)Rainer Gerhards2008-03-111-1/+0
|
* - added RSYSLOGD_MODDIR environment variableRainer Gerhards2008-03-071-0/+1
| | | | | - 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-1/+2
| | | | | | | | | | | 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
* shuffled some more code from syslogd.c to the right placesRainer Gerhards2008-03-051-1/+1
|
* moved date/time handling functions to their own objectRainer Gerhards2008-03-051-5/+0
|
* - extracted logerror*() family of functions from syslogd, made them theirRainer Gerhards2008-03-051-5/+0
| | | | | | own class and converted to new object calling conventions (interface-based) - converted gss-misc into a loadable library module
* did some portability changes to make rsyslog compile on HP UXRainer Gerhards2008-03-051-0/+14
|
* changed rsCStrObj name to cstr_t, which is more inline with the rest ofRainer Gerhards2008-02-211-4/+4
| | | | rsyslog (now) and also much easier to type
* - added ctok class (the config tokenizer)Rainer Gerhards2008-02-191-1/+4
| | | | - done stage work to begin implement tokenizer
* - moved config file code to its own fileRainer Gerhards2008-02-191-0/+53
| | | | | | - finally made CONT_LINES in config the only standard support (the code contained code for other case, which were never executed by the preprocessor)
* - changed interface "printchopped()" so that it looks more like a genericRainer Gerhards2008-02-181-1/+3
| | | | | | | 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
* - introduced a new, more powerful, message submission interface submitMsg()Rainer Gerhards2008-02-131-0/+1
| | | | | | 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-1/+1
|
* some cleanup on logerrorVar()Rainer Gerhards2008-02-111-0/+2
|
* - fixed a bug that could cause invalid string handling via strerror_rRainer Gerhards2008-01-301-1/+0
| | | | | varmojfekoj provided the patch - many thanks! - adopted varmojfekoj's patch to v3, some more sterror_r's ;)
* fixed a bug that could cause invalid string handling via strerror_rRainer Gerhards2008-01-301-0/+1
| | | | varmojfekoj provided the patch - many thanks!
* - improved debug support a bit (assertions)Rainer Gerhards2008-01-291-1/+14
| | | | | - restructured code, moved some part out of syslogd.c to action.c, where they belong (still some more to do in that regard ;))
* changed some config parameters and some cleanupRainer Gerhards2008-01-101-1/+0
|
* - MsgSetProperty() implementedRainer Gerhards2008-01-071-2/+1
| | | | | - defined a property class - implemented deserializer (needs some more work)
* added $SpoolDirectory config parameterRainer Gerhards2008-01-031-0/+1
|
* some cleanupRainer Gerhards2007-12-271-1/+1
|
* removed gloable variable AcceptRemote and external def of bFinishedRainer Gerhards2007-12-261-3/+0
|
* removed global variable LogPortRainer Gerhards2007-12-261-1/+0
|
* removed imudp code dependency on "finet"Rainer Gerhards2007-12-261-1/+1
|
* moved some of the udp input code to its right placeRainer Gerhards2007-12-251-3/+0
|
* moved some more network codeRainer Gerhards2007-12-251-1/+0
|
* - created an initial version of imudp.c. The majority of UDP reception codeRainer Gerhards2007-12-211-0/+2
| | | | | | | | | | is now in that module and it is dynamically loadable. HOWEVER, that doesn't mean it is a proper module. There are still many, many dependencies on global variables, cross-module calls and such. However, havin the code base separated allows me to carry out some other cleanup before I return to create a really clean implementation of these modules. So it is kind of a stage work. Just don't mistake it with "the real thing"...
* cleaned up code (resulting in some shuffeling from syslogd.c to the "right"Rainer Gerhards2007-12-211-1/+0
| | | | module)
* created first version of imtcp (still very much depending on syslogd.c forRainer Gerhards2007-12-211-0/+1
| | | | configuration and a lot of other things)
* applied enhanced gss-api functionality provided by varmojfekojRainer Gerhards2007-12-191-0/+1
|
* applied some more cleanup provided by Michael BieblRainer Gerhards2007-12-191-2/+0
|
* code cleanups thanks to Michael BieblRainer Gerhards2007-12-181-0/+2
|
* restructured #include's somewhat thanks to Michael BieblRainer Gerhards2007-12-181-2/+0
|
* begun imklog, replacing klogd.c (finally we get rid of it...)Rainer Gerhards2007-12-171-0/+2
|
* changed license to GPLv3 (for what is to become rsyslog v3)Rainer Gerhards2007-12-141-7/+8
|
* begin work on on immark, the first input module. In the long term this willRainer Gerhards2007-12-141-0/+5
| | | | lead to a complete rewrite of the input system
* adding sur5r's postgres module - many thanks for providing it! There are aRainer Gerhards2007-12-031-0/+1
| | | | | number of patches necessary to core modules, because we need a new formatting function (date-pgsql).
* moved syslog PRI code tables to msg.c as this is the only place where theyRainer Gerhards2007-11-271-2/+0
| | | | are still needed
* applied patch provided by varmojfekoj to support building ommysql in itsRainer Gerhards2007-09-261-1/+0
| | | | own way (now also resides in a plugin subdirectory)
* changed rsyslog.h include order to solve debian sid zlib inlcude issueMichael Meckelein2007-08-081-0/+1
|
* changed function name dprintf() to dbgprintf() as it conflicts with theRainer Gerhards2007-08-081-5/+1
| | | | clib
* added tryResume() API to module interfaceRainer Gerhards2007-08-021-17/+0
|
* - loading default values as done yesterday *is* clean (I've just reviewedRainer Gerhards2007-08-011-11/+0
| | | | | | the code again) - moved omfile-specifc global variables (for cfsysline settings) from syslogd.c to omfile.c
* - added omsr object (objomsr.c, objomsr.h) - template request for outputRainer Gerhards2007-07-271-3/+3
| | | | | | modules - changed doAction() interface - templates and output string generation for doActon() is now fully
* moved some references to module data from syslogd.c to modulesRainer Gerhards2007-07-251-1/+1
|
* moved code to output moduleRainer Gerhards2007-07-251-1/+0
|