Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fixed bug: default for $DropMsgsWithMaliciousDnsPTRRecords was not reset on | Rainer Gerhards | 2007-08-08 | 1 | -0/+1 |
| | | | | up and on $ResetConfigVariables | ||||
* | bumped up version number | Rainer Gerhards | 2007-08-08 | 2 | -2/+4 |
| | |||||
* | prepared for 1.18.1 releasev1-18-1 | Rainer Gerhards | 2007-08-08 | 2 | -5/+10 |
| | |||||
* | preparing for 1.18.1 | Rainer Gerhards | 2007-08-08 | 1 | -1/+2 |
| | |||||
* | added a database cleanup script based on a suggestion of Michael Mansour. | Rainer Gerhards | 2007-08-08 | 4 | -1/+63 |
| | | | | Michael Meckelein adapted it sligthly for use with rsyslog. | ||||
* | changed rsyslog.h include order to solve debian sid zlib inlcude issue | Michael Meckelein | 2007-08-08 | 15 | -14/+15 |
| | |||||
* | added config file directive $ActionResumeInterval | Rainer Gerhards | 2007-08-08 | 3 | -3/+29 |
| | |||||
* | added "slightly outdated" warnings | Rainer Gerhards | 2007-08-08 | 2 | -2/+7 |
| | |||||
* | added $ActionResumeInterval config directive | Rainer Gerhards | 2007-08-08 | 2 | -0/+37 |
| | |||||
* | changed function name dprintf() to dbgprintf() as it conflicts with the | Rainer Gerhards | 2007-08-08 | 20 | -264/+259 |
| | | | | clib | ||||
* | all compile-time settings are now shown in rsyslogd -v, not just the active | Rainer Gerhards | 2007-08-08 | 2 | -24/+49 |
| | | | | ones | ||||
* | optimized select handling, after select polling cycle is now finished when | Rainer Gerhards | 2007-08-08 | 2 | -44/+60 |
| | | | | all active selectors are processed | ||||
* | moved the "after select polling code (for fds)" to its own function | Rainer Gerhards | 2007-08-08 | 1 | -153/+175 |
| | |||||
* | added $MainMsgQueueSize config directive | Rainer Gerhards | 2007-08-07 | 1 | -0/+21 |
| | |||||
* | add config directive $MainMsgQueueSize, which now allows to configure the | Rainer Gerhards | 2007-08-07 | 2 | -7/+23 |
| | | | | queue size dynamically | ||||
* | moved code to create/delete message queue to init(), after reading the conf | Rainer Gerhards | 2007-08-07 | 2 | -10/+18 |
| | | | | | file. This is a prequisite to allow specifying the queue size in the conf file. | ||||
* | applied patch from Michel Samia to fix compilation when the pthreads | Rainer Gerhards | 2007-08-07 | 3 | -0/+8 |
| | | | | feature is disabled | ||||
* | moved action object out of syslogd.c to its own fileset (action.c/h) | Rainer Gerhards | 2007-08-06 | 5 | -178/+265 |
| | |||||
* | applied a patch from varmojfekoj which solved a potential segfault of | Rainer Gerhards | 2007-08-06 | 2 | -4/+13 |
| | | | | rsyslogd on HUP | ||||
* | reduced number of identical error messages in ommysql.c while suspended | Rainer Gerhards | 2007-08-03 | 1 | -4/+12 |
| | |||||
* | bumping version number | Rainer Gerhards | 2007-08-03 | 2 | -2/+4 |
| | |||||
* | preparing for 1.18.0v1-18-0 | Rainer Gerhards | 2007-08-03 | 4 | -6/+11 |
| | |||||
* | perparing for 1.18.0 release | Rainer Gerhards | 2007-08-03 | 1 | -1/+4 |
| | |||||
* | - I found out that we finally have problems with the (somewhat recursive) | Rainer Gerhards | 2007-08-03 | 12 | -33/+386 |
| | | | | | | | | | | | | | | | | | | | | | | | | call to logerror() that many of the modules do. I have not tried it, but I think things will become wild when we compile without pthread support. Threading prevents full recursion, so we have not seen any bad effects so far. However, the problems that I experienced in ommysl (that caused me to re-structure startWorker()) are actually rooted in this issue. I first thought to fix it via a module interace, but I now came to the conclusion that it is not more effort and much cleaner to do an internal error buffering class. This is implemented in errbuf.c/h. - I just noticed that this is not actually an error buf, but the core of an input module for all internal messages. As such, I implement it now as iminternal.c/h. Of course, there is no input module interface yet designed, but that doesn't matter. Worst-case, I need to re-write the im, best case I can use the im (at least partly) to define the interface. - added a few functions to the linkedlist class - error messages during startup are now buffered - so we do no longer need to think about how emergency logging might work. Actually, these are logged to whatever is instatiated in the log file. This enhances the chance that we will be able to drop the error message somewhere it is seen. | ||||
* | - added CODE_STD_FINALIZERparseSelectorAct to module-generation macros | Rainer Gerhards | 2007-08-03 | 9 | -258/+137 |
| | | | | | | - restructered rsyslogd startup - moved startWorker() to a more appropriate place - updated ommysql.c to fully support suspension/resumption by rule engine | ||||
* | cleanup (removed unused code) | Rainer Gerhards | 2007-08-02 | 1 | -14/+0 |
| | |||||
* | some cleanup | Rainer Gerhards | 2007-08-02 | 4 | -6/+3 |
| | |||||
* | added $ActionExecOnlyIfPreviousIsSuspended config directive | Rainer Gerhards | 2007-08-02 | 1 | -4/+33 |
| | |||||
* | implemented $ActionExecOnlyWhenPreviousIsSuspended config directive | Rainer Gerhards | 2007-08-02 | 2 | -10/+22 |
| | |||||
* | got a working version of suspension/resumption logic including omfwd.c | Rainer Gerhards | 2007-08-02 | 2 | -82/+153 |
| | |||||
* | added resumption logic to rsyslogd (but not yet any module) | Rainer Gerhards | 2007-08-02 | 2 | -4/+19 |
| | |||||
* | added tryResume() API to module interface | Rainer Gerhards | 2007-08-02 | 11 | -19/+82 |
| | |||||
* | changed doAction() syslogd internal functions to allow for larger data & | Rainer Gerhards | 2007-08-02 | 1 | -3/+10 |
| | | | | | | state data - in preparation for actions that shall only be executed when previous action was suspended (the switchover case, e.g. for failed databases or TCP receivers) | ||||
* | added capability to have multiple actions per selector | Rainer Gerhards | 2007-08-02 | 2 | -4/+20 |
| | |||||
* | enabled functionality to have more than one action per selector | Rainer Gerhards | 2007-08-02 | 1 | -26/+17 |
| | |||||
* | moved cfsysline-calling into cfline() - now a unified interface again | Rainer Gerhards | 2007-08-02 | 1 | -18/+11 |
| | |||||
* | enhanced syslogd memory structures to support multiple actions per selector | Rainer Gerhards | 2007-08-02 | 1 | -111/+298 |
| | | | | | however, this can not yet be configured do to missing config code for this case | ||||
* | enhanced linkedList class, new method to get count, new method to execute a | Rainer Gerhards | 2007-08-02 | 2 | -0/+51 |
| | | | | user-supplied function on all members | ||||
* | shuffeled code in cfline() to prepare for a better system of processing the | Rainer Gerhards | 2007-08-01 | 4 | -139/+237 |
| | | | | selector_t linked list | ||||
* | moved definition of selector_t to syslogd.c again, as this now no longer is | Rainer Gerhards | 2007-08-01 | 2 | -42/+42 |
| | | | | a global structure | ||||
* | moved action-describing data fields out of selector_t to its own structure; | Rainer Gerhards | 2007-08-01 | 2 | -138/+200 |
| | | | | | changed code to use this dynamically-allocated structure; this is in preparation for multiple actions per selector | ||||
* | prepared code to move action-specifc selector_t data members to their own | Rainer Gerhards | 2007-08-01 | 1 | -53/+74 |
| | | | | structure | ||||
* | even more cleanup ;) | Rainer Gerhards | 2007-08-01 | 3 | -29/+31 |
| | |||||
* | modified rklogd to only change the console log level if -c is specified | Rainer Gerhards | 2007-08-01 | 1 | -2/+5 |
| | |||||
* | bumped version number | Rainer Gerhards | 2007-08-01 | 2 | -2/+5 |
| | |||||
* | modified rklogd to only change the console log level if -c is specified | Rainer Gerhards | 2007-08-01 | 1 | -3/+3 |
| | |||||
* | preparing for 1.17.6v1-17-6 | Rainer Gerhards | 2007-08-01 | 3 | -9/+14 |
| | |||||
* | enhanced/renamed $include(config) directive | Rainer Gerhards | 2007-08-01 | 1 | -11/+40 |
| | |||||
* | - changed name of $Include to $IncludeConfig - sound better as it is more | Rainer Gerhards | 2007-08-01 | 2 | -12/+2 |
| | | | | explicit (we'll see where else we get includes for...) | ||||
* | enhanced $Include to allow inclusion of a complete directory | Rainer Gerhards | 2007-08-01 | 3 | -8/+100 |
| |