summaryrefslogtreecommitdiffstats
path: root/omfwd.c
Commit message (Collapse)AuthorAgeFilesLines
* some more cleanupRainer Gerhards2008-04-161-643/+0
| | | | | reduced dependencies, moved non-runtime files to its own directory except for some whom's status is unclear
* cleanup: removed no longer needed filesRainer Gerhards2008-04-161-1/+0
|
* removed dependency on MAXHOSTNAMELEN as much as it made sense.Rainer Gerhards2008-04-101-4/+8
| | | | | | | | | | 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.
* - added support for high-precision timestamps when receiving legacy syslogRainer Gerhards2008-03-281-3/+28
| | | | | | messages - added new $ActionForwardDefaultTemplate directive - added new $ActionGSSForwardDefaultTemplate directive
* finally removing NoHops - code was commented out all since v1.somewhat.Rainer Gerhards2008-03-271-62/+50
|
* removed a now-longer needed callback from the output module interface.Rainer Gerhards2008-03-221-6/+0
| | | | Results in reducing code complexity.
* bugfix: duplicate public symbol in omfwd and omgssapi could lead toRainer Gerhards2008-03-141-1/+1
| | | | segfault. thanks to varmojfekoj for the patch.
* bugfix: framing mode variable was uninitialized, leading to wrong framingRainer Gerhards2008-03-141-1/+1
|
* cleanupRainer Gerhards2008-03-131-17/+0
|
* improved session recovery when outbound tcp connection breaks, reducesRainer Gerhards2008-03-121-1/+2
| | | | | probability of message loss at the price of a highly unlikely potential (single) message duplication
* changed omgssapi and omfwd to utilize new object calling interface; made aRainer Gerhards2008-03-121-16/+31
| | | | | tcpclt class; (stage work, among others, for more intelligent recovery from TCP session recovery)
* implemented module unload handling (required a number of interface changes)Rainer Gerhards2008-03-111-0/+3
|
* renamed library module file names to lm*, so that they match the overallRainer Gerhards2008-03-071-1/+1
| | | | scheme (like im* and om*)
* - added RSYSLOGD_MODDIR environment variableRainer Gerhards2008-03-071-2/+4
| | | | | - added -M rsyslogd option (allows to specify module directory location) - converted net.c into a loadable library plugin
* fixed some compiler warnings under FreeBSDRainer Gerhards2008-03-061-1/+1
|
* - extracted logerror*() family of functions from syslogd, made them theirRainer Gerhards2008-03-051-6/+9
| | | | | | own class and converted to new object calling conventions (interface-based) - converted gss-misc into a loadable library module
* - changed module interface to support querying obj interface (stage work)Rainer Gerhards2008-03-041-1/+1
| | | | - changed module interface version, as the interface change is quite large
* fixed a bug that caused a potential hang in file and fwd output moduleRainer Gerhards2008-01-301-2/+3
| | | | varmojfekoj provided the patch - many thanks!
* 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-4/+4
| | | | | | 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...
* created omtesting, a debug and development aid output module. This is stageRainer Gerhards2007-12-311-1/+1
| | | | | work for the new queueing engine - we need a way to delay rule execution and that's what the module currently does ;)
* removed gss-api code from omfwd.cRainer Gerhards2007-12-281-256/+1
|
* omgssapi createdRainer Gerhards2007-12-281-59/+4
|
* moved TCPSend() and frame building code to tcpsyslog.cRainer Gerhards2007-12-281-229/+22
|
* took TCPSend() apart and made it generic via function pointersRainer Gerhards2007-12-281-97/+118
|
* internal restructuring in omfwd.c - stage work for further modularization IRainer Gerhards2007-12-271-142/+184
| | | | | think I also fixed a bug as a side-effect - but not looked to much at it
* some cleanupRainer Gerhards2007-12-271-3/+3
|
* applied cross-platform patch from darix to facilitate GSS-API compile onRainer Gerhards2007-12-271-1/+1
| | | | more platforms
* fixed socket leak in omfwd.cRainer Gerhards2007-12-261-26/+6
|
* removed imudp code dependency on "finet"Rainer Gerhards2007-12-261-0/+1
|
* removed omfwd code dependency on finetRainer Gerhards2007-12-261-3/+41
|
* removed no longer needed mutex from omfwdRainer Gerhards2007-12-211-7/+0
|
* moved udp send code to its own functionRainer Gerhards2007-12-201-37/+50
|
* removed single-threading support for sending TCP messages; causedRainer Gerhards2007-12-201-150/+5
| | | | | simplyfication of output module interface as well as core syslog processing.
* applied enhanced gss-api functionality provided by varmojfekojRainer Gerhards2007-12-191-2/+2
|
* applied some more cleanup provided by Michael BieblRainer Gerhards2007-12-191-3/+0
|
* code cleanups thanks to Michael BieblRainer Gerhards2007-12-181-0/+3
|
* restructured #include's somewhat thanks to Michael BieblRainer Gerhards2007-12-181-0/+3
|
* - begun to create input module interface and macrosRainer Gerhards2007-12-141-0/+2
| | | | - changed module interface to include function to query type
* changed license to GPLv3 (for what is to become rsyslog v3)Rainer Gerhards2007-12-141-7/+8
|
* corrected a debug setting that survived released. Caused TCP connections toRainer Gerhards2007-12-111-2/+1
| | | | be retried unnecessarily often.
* added an identifier to command handler table - need to identify whichRainer Gerhards2007-11-211-3/+3
| | | | command handler entries need to be removed when module is unloaded
* added new modExit() entry point to loadable module interfaceRainer Gerhards2007-11-211-0/+5
|
* applied gssapi patch from varmojfekoj - gss-api is now supportedRainer Gerhards2007-11-191-57/+313
|
* - simplified code in shouldProcessThisMessage() for debug outputRainer Gerhards2007-09-241-3/+6
| | | | - changed strerror() calls to thread-safe strerror_r() variant
* cleaned up compiler warningsRainer Gerhards2007-09-111-0/+5
|
* patches and docu update for 1.19.3v1-19-3Michael Meckelein2007-08-311-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-22/+22
| | | | clib
* applied patch from Michel Samia to fix compilation when the pthreadsRainer Gerhards2007-08-071-0/+2
| | | | feature is disabled