summaryrefslogtreecommitdiffstats
path: root/net.c
Commit message (Collapse)AuthorAgeFilesLines
* - fixed a bug that could cause invalid string handling via strerror_rRainer Gerhards2008-01-301-1/+1
| | | | varmojfekoj provided the patch - many thanks!
* changed the threading to include one extra thread that runs the mainloop.Rainer Gerhards2007-10-081-2/+0
| | | | | | | | | | 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.
* fixed a bug in cvthname() that lead to message loss if part of the sourceRainer Gerhards2007-09-261-3/+6
| | | | hostname would have been dropped
* - simplified code in shouldProcessThisMessage() for debug outputRainer Gerhards2007-09-241-2/+3
| | | | - changed strerror() calls to thread-safe strerror_r() variant
* split the function cvthname() for clarity. Also changed to using theRainer Gerhards2007-09-181-19/+48
| | | | rsRetVal status return system
* - possibly found a bug in cvthname() that lead to a wrong size beingRainer Gerhards2007-09-171-1/+3
| | | | | | | | | specified in a getnameinfo() API call - not sure, though, if it is "the" bug (actually, it looks like it isn't). - this is EXPERIMENTAL - fixed a bug that caused signal handlers in cvthname() not to be restored when a malicious pointer record was detected and processing of the message been stopped for that reason (this should be really rare and can not be related to the segfault bug we are hunting).
* - checked -s/-l option and found that they work as expected - closed caseRainer Gerhards2007-09-111-3/+17
| | | | - added some comments in relation to -s/-l option
* applied patch by varmojfekoj to change signal handling to the new sigactionRainer Gerhards2007-09-111-2/+2
| | | | API set (replacing the depreciated signal() calls and its friends.
* minor typosRainer Gerhards2007-09-111-2/+2
|
* changed rsyslog.h include order to solve debian sid zlib inlcude issueMichael Meckelein2007-08-081-1/+1
|
* changed function name dprintf() to dbgprintf() as it conflicts with theRainer Gerhards2007-08-081-4/+4
| | | | clib
* moved some more modules to their own file setsRainer Gerhards2007-07-221-0/+242