summaryrefslogtreecommitdiffstats
path: root/syslogd.c
Commit message (Collapse)AuthorAgeFilesLines
* fixed bug that caused invalid treatment of tabs (HT) in rsyslog.confRainer Gerhards2008-02-121-3/+2
|
* bugfix: trailing ":" of tag was lost while parsing legacy syslog messagesRainer Gerhards2008-02-111-1/+3
| | | | without timestamp - thanks to Anders Blomdell for providing a patch!
* bugfix: errno could be changed during mark processing, leading to invalidRainer Gerhards2008-02-111-0/+3
| | | | | error messages when processing inputs. Thank to varmojfekoj for pointing out this problem.
* a small inline doc fixRainer Gerhards2008-02-111-3/+5
|
* bugfix: suspended actions were not always properly resumed varmojfekojRainer Gerhards2008-02-111-1/+12
| | | | provided the patch - many thanks!
* added x-info field to rsyslogd startup/shutdown message. Hopefully pointsRainer Gerhards2008-02-111-2/+2
| | | | | users to right location for further info (many don't even know they run rsyslog ;))
* - fixed a bug that could cause invalid string handling via strerror_rRainer Gerhards2008-01-301-4/+18
| | | | varmojfekoj provided the patch - many thanks!
* fixed a bug with standard template definitions (not a big deal) - thanks toRainer Gerhards2008-01-141-1/+1
| | | | varmojfekoj for spotting it
* moved cross-platform define for AI_NUMERICSERV to net.hRainer Gerhards2007-12-261-13/+0
|
* bugfix: when compiled without network support, unix sockets were notRainer Gerhards2007-12-201-1/+1
| | | | properly closed
* bugfix: fixing memory leak when message queue is full and during parsing.Rainer Gerhards2007-12-201-2/+8
| | | | Thanks to varmojfekoj for the patch.
* added forward-compatibility fix, reserved -c command line optionRainer Gerhards2007-12-191-1/+4
|
* applied gss-api enhancement form varmojfekojRainer Gerhards2007-12-191-20/+68
|
* cleaned up char/uchar issueRainer Gerhards2007-12-191-3/+3
|
* applied some more cleanup provided by Michael BieblRainer Gerhards2007-12-191-4/+1
|
* applied Michael Biebl's patch to enhance $includeconfig to support wildcardRainer Gerhards2007-12-181-8/+32
| | | | filenames
* code cleanups thanks to Michael BieblRainer Gerhards2007-12-181-1/+0
|
* restructured #include's somewhat thanks to Michael BieblRainer Gerhards2007-12-181-0/+4
|
* fixed a potential race condition with enqueueMsg() - thanks to mildew forRainer Gerhards2007-12-171-10/+1
| | | | making me aware of this issue
* some cleanup (very minor)Rainer Gerhards2007-12-121-1/+5
|
* handled selector flushing on termination (and hup) correctly. Could loseRainer Gerhards2007-12-121-8/+16
| | | | some information before.
* fixed a potential race condition, see link for details:Rainer Gerhards2007-12-111-24/+43
| | | | http://rgerhards.blogspot.com/2007/12/rsyslog-race-condition.html
* When a hostname ACL was provided and DNS resolution for that name failed,Rainer Gerhards2007-12-111-12/+30
| | | | | | ACL processing was stopped at that point. Thanks to mildew for the patch. Fedora Bugzilla: http://bugzilla.redhat.com/show_bug.cgi?id=395911
* added Bartosz Kuzma patches for better compatibility with NetBSD - manyRainer Gerhards2007-12-031-11/+23
| | | | thanks for them!
* adding sur5r's postgres module - many thanks for providing it! There are aRainer Gerhards2007-12-031-0/+16
| | | | | number of patches necessary to core modules, because we need a new formatting function (date-pgsql).
* cosmetic changes - no code changeRainer Gerhards2007-11-271-3/+2
|
* moved syslog PRI code tables to msg.c as this is the only place where theyRainer Gerhards2007-11-271-44/+0
| | | | are still needed
* - added an identifier to command handler table - need to identify whichRainer Gerhards2007-11-211-2/+6
| | | | | | | | | | command handler entries need to be removed when module is unloaded - added support so that linkedlist key can be used for owner handle - enhanced llExecFunc to support deletion of list elements (on behalf of user function being called, slight interface change) - enhanced linkedlist class so that list elements can now be deleted based on the key value they have - created entry point so that CfSysLine handlers are removed on modExit()
* added an identifier to command handler table - need to identify whichRainer Gerhards2007-11-211-20/+20
| | | | command handler entries need to be removed when module is unloaded
* added new modExit() entry point to loadable module interfaceRainer Gerhards2007-11-211-4/+5
|
* applied gssapi patch from varmojfekoj - gss-api is now supportedRainer Gerhards2007-11-191-9/+62
|
* undid creation of a separate thread for the main loop -- this did not turnRainer Gerhards2007-10-171-19/+20
| | | | out to be needed or useful, so reduce complexity once again.
* changed the threading to include one extra thread that runs the mainloop.Rainer Gerhards2007-10-081-56/+96
| | | | | | | | | | This was done to work around a problem with malloc/free. Note that we are still running on two threads - the startup thread just waits for the new one to finish. For a description of the problem I try to work-around, please see: http://rgerhards.blogspot.com/2007/10/could-i-really-reproduce-bug.html Note that this is an experimental change, which will only stay if it proves to fix the segfault issue we are dealing with.
* applied patch provided by varmojfekoj to support building ommysql in itsRainer Gerhards2007-09-261-6/+0
| | | | own way (now also resides in a plugin subdirectory)
* applied contributed patch to improve repeated message processing (seeRainer Gerhards2007-09-251-1/+5
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=303341)
* more cleanup on thread-safe CRL functionsRainer Gerhards2007-09-251-1/+12
|
* changed ttyname() to ttyname_r() - not a real fix, as this part of the codeRainer Gerhards2007-09-251-3/+3
| | | | was single threaded, but better to be prepared for the future.
* - simplified code in shouldProcessThisMessage() for debug outputRainer Gerhards2007-09-241-23/+23
| | | | - changed strerror() calls to thread-safe strerror_r() variant
* code cleanupRainer Gerhards2007-09-201-55/+77
|
* split the function cvthname() for clarity. Also changed to using theRainer Gerhards2007-09-181-2/+2
| | | | rsRetVal status return system
* added code to handle situations where senders send us messages ending withRainer Gerhards2007-09-141-2/+18
| | | | | | a NUL character. It is now simply removed. This also caused trailing LF reduction to fail, when it was followed by such a NUL. This is now also handled.
* - checked -s/-l option and found that they work as expected - closed caseRainer Gerhards2007-09-111-2/+2
| | | | - added some comments in relation to -s/-l option
* fixed invalid dbgprintf() name - patch contained old name, I had forgottenRainer Gerhards2007-09-111-1/+3
| | | | to update it to new name.
* applied patch by varmojfekoj to change signal handling to the new sigactionRainer Gerhards2007-09-111-18/+67
| | | | API set (replacing the depreciated signal() calls and its friends.
* added commentsRainer Gerhards2007-09-101-1/+8
|
* removed misleading debug message (looked like an error, but was normalRainer Gerhards2007-09-071-1/+1
| | | | state)
* modified $ModLoad so that an absolute path may be specified as module nameRainer Gerhards2007-09-071-1/+5
| | | | (e.g. /rsyslog/ommysql.so)
* - added eCmdHdlrGetWord command handlerRainer Gerhards2007-09-071-3/+11
| | | | - added $ModDir config directive
* - changed part of the CStr interface so that better error tracking isRainer Gerhards2007-09-051-11/+6
| | | | | | | provided and the calling sequence is more intuitive (there were invalid calls based on a too-weired interface) - (hopefully) fixed some remaining bugs rooted in wrong use of the CStr class. These could lead to program abort.
* changed some calles to CStr class to their "safe" counterpart - they couldRainer Gerhards2007-09-041-13/+13
| | | | case program aborts if the object in question was an empty string