summaryrefslogtreecommitdiffstats
path: root/net.c
Commit message (Collapse)AuthorAgeFilesLines
* - fixed a bug that could cause invalid string handling via strerror_rRainer Gerhards2008-01-301-0/+1
| | | | | 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-1/+1
| | | | varmojfekoj provided the patch - many thanks!
* redesigned queue to utilize helper classes for threading support. This isRainer Gerhards2008-01-241-13/+15
| | | | | | finally in a running state for regular (non disk-assisted) queues, with a minor nit at shutdown. So I can finally commit the work again to CVS...
* some cleanupRainer Gerhards2007-12-271-1/+0
|
* removed global variable LogPortRainer Gerhards2007-12-261-5/+5
|
* removed useless code (is overwritten on return)Rainer Gerhards2007-12-261-1/+0
|
* removed active INET code from syslogd.c - still some auxiliary thingsRainer Gerhards2007-12-261-4/+4
| | | | remain
* removed omfwd code dependency on finetRainer Gerhards2007-12-261-28/+38
|
* moved some of the udp input code to its right placeRainer Gerhards2007-12-251-1/+6
|
* moved udp net code - again, stage workRainer Gerhards2007-12-251-0/+165
|
* moved some more network codeRainer Gerhards2007-12-251-0/+43
|
* moved some more net functionality out of syslogd.c - stage workRainer Gerhards2007-12-251-0/+503
|
* changed license to GPLv3 (for what is to become rsyslog v3)Rainer Gerhards2007-12-141-7/+8
|
* 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