Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | removed dependency on MAXHOSTNAMELEN as much as it made sense. | Rainer Gerhards | 2008-04-10 | 1 | -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 directive | Rainer Gerhards | 2008-04-08 | 1 | -0/+1 |
| | |||||
* | - changed default file output format to include high-precision timestamps | Rainer Gerhards | 2008-03-28 | 1 | -1/+1 |
| | | | | | - added a buid-in template for previous syslogd file format - added new $ActionFileDefaultTemplate directive | ||||
* | added flow control options to other input sources | Rainer Gerhards | 2008-03-19 | 1 | -1/+1 |
| | |||||
* | implemented module unload handling (required a number of interface changes) | Rainer Gerhards | 2008-03-11 | 1 | -1/+0 |
| | |||||
* | - added RSYSLOGD_MODDIR environment variable | Rainer Gerhards | 2008-03-07 | 1 | -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 and | Rainer Gerhards | 2008-03-06 | 1 | -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 places | Rainer Gerhards | 2008-03-05 | 1 | -1/+1 |
| | |||||
* | moved date/time handling functions to their own object | Rainer Gerhards | 2008-03-05 | 1 | -5/+0 |
| | |||||
* | - extracted logerror*() family of functions from syslogd, made them their | Rainer Gerhards | 2008-03-05 | 1 | -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 UX | Rainer Gerhards | 2008-03-05 | 1 | -0/+14 |
| | |||||
* | changed rsCStrObj name to cstr_t, which is more inline with the rest of | Rainer Gerhards | 2008-02-21 | 1 | -4/+4 |
| | | | | rsyslog (now) and also much easier to type | ||||
* | - added ctok class (the config tokenizer) | Rainer Gerhards | 2008-02-19 | 1 | -1/+4 |
| | | | | - done stage work to begin implement tokenizer | ||||
* | - moved config file code to its own file | Rainer Gerhards | 2008-02-19 | 1 | -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 generic | Rainer Gerhards | 2008-02-18 | 1 | -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 Gerhards | 2008-02-13 | 1 | -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 straightforward | Rainer Gerhards | 2008-02-13 | 1 | -1/+1 |
| | |||||
* | some cleanup on logerrorVar() | Rainer Gerhards | 2008-02-11 | 1 | -0/+2 |
| | |||||
* | - fixed a bug that could cause invalid string handling via strerror_r | Rainer Gerhards | 2008-01-30 | 1 | -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_r | Rainer Gerhards | 2008-01-30 | 1 | -0/+1 |
| | | | | varmojfekoj provided the patch - many thanks! | ||||
* | - improved debug support a bit (assertions) | Rainer Gerhards | 2008-01-29 | 1 | -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 cleanup | Rainer Gerhards | 2008-01-10 | 1 | -1/+0 |
| | |||||
* | - MsgSetProperty() implemented | Rainer Gerhards | 2008-01-07 | 1 | -2/+1 |
| | | | | | - defined a property class - implemented deserializer (needs some more work) | ||||
* | added $SpoolDirectory config parameter | Rainer Gerhards | 2008-01-03 | 1 | -0/+1 |
| | |||||
* | some cleanup | Rainer Gerhards | 2007-12-27 | 1 | -1/+1 |
| | |||||
* | removed gloable variable AcceptRemote and external def of bFinished | Rainer Gerhards | 2007-12-26 | 1 | -3/+0 |
| | |||||
* | removed global variable LogPort | Rainer Gerhards | 2007-12-26 | 1 | -1/+0 |
| | |||||
* | removed imudp code dependency on "finet" | Rainer Gerhards | 2007-12-26 | 1 | -1/+1 |
| | |||||
* | moved some of the udp input code to its right place | Rainer Gerhards | 2007-12-25 | 1 | -3/+0 |
| | |||||
* | moved some more network code | Rainer Gerhards | 2007-12-25 | 1 | -1/+0 |
| | |||||
* | - created an initial version of imudp.c. The majority of UDP reception code | Rainer Gerhards | 2007-12-21 | 1 | -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 Gerhards | 2007-12-21 | 1 | -1/+0 |
| | | | | module) | ||||
* | created first version of imtcp (still very much depending on syslogd.c for | Rainer Gerhards | 2007-12-21 | 1 | -0/+1 |
| | | | | configuration and a lot of other things) | ||||
* | applied enhanced gss-api functionality provided by varmojfekoj | Rainer Gerhards | 2007-12-19 | 1 | -0/+1 |
| | |||||
* | applied some more cleanup provided by Michael Biebl | Rainer Gerhards | 2007-12-19 | 1 | -2/+0 |
| | |||||
* | code cleanups thanks to Michael Biebl | Rainer Gerhards | 2007-12-18 | 1 | -0/+2 |
| | |||||
* | restructured #include's somewhat thanks to Michael Biebl | Rainer Gerhards | 2007-12-18 | 1 | -2/+0 |
| | |||||
* | begun imklog, replacing klogd.c (finally we get rid of it...) | Rainer Gerhards | 2007-12-17 | 1 | -0/+2 |
| | |||||
* | changed license to GPLv3 (for what is to become rsyslog v3) | Rainer Gerhards | 2007-12-14 | 1 | -7/+8 |
| | |||||
* | begin work on on immark, the first input module. In the long term this will | Rainer Gerhards | 2007-12-14 | 1 | -0/+5 |
| | | | | lead to a complete rewrite of the input system | ||||
* | adding sur5r's postgres module - many thanks for providing it! There are a | Rainer Gerhards | 2007-12-03 | 1 | -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 they | Rainer Gerhards | 2007-11-27 | 1 | -2/+0 |
| | | | | are still needed | ||||
* | applied patch provided by varmojfekoj to support building ommysql in its | Rainer Gerhards | 2007-09-26 | 1 | -1/+0 |
| | | | | own way (now also resides in a plugin subdirectory) | ||||
* | changed rsyslog.h include order to solve debian sid zlib inlcude issue | Michael Meckelein | 2007-08-08 | 1 | -0/+1 |
| | |||||
* | changed function name dprintf() to dbgprintf() as it conflicts with the | Rainer Gerhards | 2007-08-08 | 1 | -5/+1 |
| | | | | clib | ||||
* | added tryResume() API to module interface | Rainer Gerhards | 2007-08-02 | 1 | -17/+0 |
| | |||||
* | - loading default values as done yesterday *is* clean (I've just reviewed | Rainer Gerhards | 2007-08-01 | 1 | -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 output | Rainer Gerhards | 2007-07-27 | 1 | -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 modules | Rainer Gerhards | 2007-07-25 | 1 | -1/+1 |
| | |||||
* | moved code to output module | Rainer Gerhards | 2007-07-25 | 1 | -1/+0 |
| |