summaryrefslogtreecommitdiffstats
path: root/tools/omfwd.c
Commit message (Collapse)AuthorAgeFilesLines
* removed compile time fixed message size limit (was 2K)Rainer Gerhards2008-09-021-3/+10
| | | | | The limit can now be set via $MaxMessageSize global config directive (finally gotten rid of MAXLINE ;))
* bugfix: IPv6 addresses could not be specified in forwarding actionsRainer Gerhards2008-08-051-2/+17
| | | | | | New syntax @[addr]:port introduced to enable that. Root problem was IPv6 addresses contain colons. Also somewhat enhanced debugging messages.
* bugfix: UDP syslog forwarding did not work on all platformsRainer Gerhards2008-07-141-3/+6
| | | | | | the ai_socktype was incorrectly set to 1. On some platforms, this lead to failing name resolution (e.g. FreeBSD 7). Thanks to HKS for reporting the bug.
* Merge branch 'beta'Rainer Gerhards2008-07-011-15/+7
| | | | | | | | | | | | | | | Conflicts: ChangeLog conf.c doc/Makefile.am doc/manual.html omfwd.c plugins/omgssapi/omgssapi.c This was a bit hard to merge; if there are problems, they may be in the area of the new "comment in action line" code that came from the beta.
* added (internal) error codes to error messagesRainer Gerhards2008-06-271-7/+7
| | | | | Also added redirector to web description of error codes closes bug http://bugzilla.adiscon.com/show_bug.cgi?id=20
* somewhat improved plain tcp syslog reliabilityRainer Gerhards2008-06-091-1/+6
| | | | | | ...by doing a connection check before sending. Credits to Martin Schuette for providing the idea. Details are available at http://blog.gerhards.net/2008/06/reliable-plain-tcp-syslog-once-again.html
* bugfix: removed some memory leaks in TLS codeRainer Gerhards2008-06-041-7/+21
|
* Merge branch 'ietf-tls'Rainer Gerhards2008-05-271-23/+15
|\
| * changed config directive name to reflect different useRainer Gerhards2008-05-221-23/+15
| | | | | | | | | | | | $ActionSendStreamDriverCertFingerprint is now $ActionSendStreamDriverPermittedPeer and can be used both for fingerprint and name authentication (similar to the input side)
* | Merge branch 'ietf-tls'Rainer Gerhards2008-05-211-18/+77
|\| | | | | | | | | | | Conflicts: ChangeLog
| * first implementation of TLS server client authentication checkRainer Gerhards2008-05-191-15/+35
| | | | | | | | | | | | | | The TLS server now checks the client fingerprint. This works, but is highly experimental. Needs to be refined for practice. Also: - implemented permittedPeers helper construct to store names - changed omfwd implementation to use new permittedPeers
| * regained netstream driver genericity; improved driversRainer Gerhards2008-05-171-3/+9
| | | | | | | | | | | | | | | | | | - made action logic pass optional auth params only if they are actually configured - added new authMode and Fingerprint methods to ptcp netstream driver (keeping them once again generic) - added diagnostics messages when invalid auth modes were configured
| * added first rough ability to authenticate the server against its certificateRainer Gerhards2008-05-161-18/+51
| | | | | | | | | | | | | | | | | | | | This is very experimental and needs some more work. It probably even segfaults - but the base code is there and running. The rest is refinement. While working on this, I did these two bugfixes: - bugfix: small mem leak in omfwd on exit (strmdriver name was not freed) - bugfix: $ActionSendStreamDriver had no effect
* | bugfix: default syslog port was no longer used if none was configured.varmojfekoj2008-05-211-1/+1
|/ | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* invalid strdup when no driver name was set caused segfaultRainer Gerhards2008-05-051-1/+2
|
* support for different forwarding stream drivers addedRainer Gerhards2008-05-051-2/+15
| | | | they can now be set on an action-by-action basis
* added $InputTCPServerStreamDriverMode config directiveRainer Gerhards2008-04-301-1/+1
|
* fixed problem with module unload sequenceRainer Gerhards2008-04-291-12/+6
|
* added $ActionSendStreamDriverMode config directiveRainer Gerhards2008-04-281-0/+6
|
* added new netstrms classRainer Gerhards2008-04-231-4/+19
| | | | netstrms is at the top layer of the socket abstraction
* converted netstrm into generic netstrm and the nsd_pctp driverRainer Gerhards2008-04-181-0/+2
|
* improvements in omfwd and cleanup of omgssapiRainer Gerhards2008-04-171-4/+30
| | | | | - some (small) cleanup of omgssapi - optimized omfwed, now loads TCP code only if this is actually necessary
* modified omfwd to work with netstrm (and also did some cleanup)Rainer Gerhards2008-04-171-303/+238
|
* moved "family" variable to global data poolRainer Gerhards2008-04-171-2/+6
|
* some more cleanupRainer Gerhards2008-04-161-0/+643
reduced dependencies, moved non-runtime files to its own directory except for some whom's status is unclear