summaryrefslogtreecommitdiffstats
path: root/tools/omfwd.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v5-stable' into betaRainer Gerhards2011-05-091-3/+2
|\ | | | | | | | | Conflicts: tools/omfwd.c
| * Merge branch 'v4-stable' into v5-stableRainer Gerhards2011-05-091-2/+2
| |\
| | * bugfix: invalid storage type for config variablesRainer Gerhards2011-05-091-1/+1
| | |
| | * bugfix: stream driver mode was not correctly set on tcp ouput on big endian ↵Tomas Heinrich2011-05-091-1/+1
| | | | | | | | | | | | | | | | | | systems. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | omfwd: made send function handling incomplete sends correctlyRainer Gerhards2011-04-041-12/+7
| | |
* | | added one more testcase for sending TCP/TLS syslogRainer Gerhards2011-04-041-0/+4
| | |
* | | omfwd: speeded up tcp forwarding by reducing number of API callsRainer Gerhards2011-04-041-11/+66
| | |
* | | Merge branch 'v5-beta'Rainer Gerhards2011-03-111-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/omlibdbi/omlibdbi.c tests/Makefile.am tests/diag.sh
| * | added work-around for bug in gtls, which causes fd leak when using TLSBojan Smojver2011-02-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | The capability has been added for module to specify that they do not like being unloaded. related bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=222 Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | Merge branch 'v5-devel'Rainer Gerhards2010-12-171-2/+0
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog action.c plugins/imudp/imudp.c runtime/glbl.c
| * | Merge branch 'v4-stable' into v5-stableRainer Gerhards2010-12-161-2/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/parser.c runtime/queue.c runtime/wtp.c template.c threads.c tools/syslogd.c
| | * some cleanup based on clang static analyzer resultsRainer Gerhards2010-12-161-2/+0
| | |
* | | fixed regression from last commitRainer Gerhards2010-07-271-0/+1
| | | | | | | | | | | | config variables were not properly initialized
* | | milestone commit: output plugin interface changes (may NOT run)Rainer Gerhards2010-07-271-48/+58
| | | | | | | | | | | | | | | | | | | | | The output interface has been changed, but we do not yet utilize the new interface. Also, it looks like a regression was introduced. But before hunting it down, I'd like to make a commit (what also easys the regresion hunt).
* | | moving towards scoping inside rsyslog.confRainer Gerhards2010-07-211-9/+9
|/ / | | | | | | first step: adding object-type specifier to config statement table
* | Merge branch 'v4-stable' into v5-stableRainer Gerhards2010-03-291-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html runtime/debug.c runtime/stream.c tests/Makefile.am tests/diskqueue.sh tests/nettester.c tools/omfile.c
| * bugfix: recent patch to fix small memory leak could cause invalid free.Rainer Gerhards2010-03-161-2/+2
| | | | | | | | This could only happen during config file parsing.
* | Merge branch 'v4-beta' into betaRainer Gerhards2010-02-041-0/+3
|\|
| * Merge branch 'v4-stable' into v4-betaRainer Gerhards2010-02-041-0/+3
| |\
| | * bugfix: several smaller bugs resolved after flexelint reviewvarmojfekoj2010-02-041-0/+3
| | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| | * bugfix (backport): omfwd segfaultRainer Gerhards2009-08-271-2/+0
| | | | | | | | | | | | | | | | | | | | | Note that the orginal (higher version) patch states this happens only when debugging mode is turned on. That statement is wrong: if debug mode is turned off, the message is not being emitted, but the division by zero in the actual parameters still happens.
| | * Merge branch 'v4.3.2' (v4-beta) into v4-stablev4.4.0Rainer Gerhards2009-08-211-19/+50
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html tests/Makefile.am
| | * \ Merge branch 'v3-stable' into v4-stableRainer Gerhards2009-07-131-2/+2
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
* | | | | Merge branch 'v4-beta' into betaRainer Gerhards2010-01-121-0/+6
|\| | | |
| * | | | fixed a memory leak when sending messages in zip-compressed formatNaoya Nakazawa2010-01-111-0/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * | | | added tcp output rebinding option.Rainer Gerhards2009-07-141-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | added tcp output rebinding option. needs some more testing and doc
* | | | | more cleanup and working towards a parser module calling interfaceRainer Gerhards2009-11-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I cleaned up a lot of config variable access along the way. This version compiles and runs, but does not yet offer any enhanced functionality. pmrfc5424 is just a dummy that is not yet being used.
* | | | | enhanced test environment (including testbench)Rainer Gerhards2009-10-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | support for enhancing probability of memory addressing failure by using non-NULL default value for malloced memory (optional, only if requested by configure option). This helps to track down some otherwise undetected issues within the testbench and is expected to be very useful in the future.
* | | | | added tcp output rebinding option.Rainer Gerhards2009-07-141-0/+6
| | | | | | | | | | | | | | | | | | | | needs some more testing and doc
* | | | | Merge branch 'beta'Rainer Gerhards2009-07-131-2/+2
|\| | | |
| * | | | Merge branch 'v3-stable' into v4-betaRainer Gerhards2009-07-131-2/+2
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | Conflicts: ChangeLog
| | * | | fix compile error in zip sender patchRainer Gerhards2009-07-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... at least I was smart enough to remind me that I did not do one test ;) That reminder was the compiler error. Now removed and test done ;) [simple things tend to work, lol]
| | * | | bugfix: sending syslog messages with zip compression did not workRainer Gerhards2009-07-131-2/+2
| | | | |
| * | | | bugfix: omfwd segfault when debugging is turned onRainer Gerhards2009-07-091-2/+0
| | | | |
* | | | | first version supporting udp spoofing and non-spoofing at the same timeRainer Gerhards2009-07-091-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | omudpspoof is now a dedicated output module. It's calling semantics so far are based on omfwd, plus the need for the template to have the IP address as a string in the starting position.
* | | | | moved udp spoofing code to its own output module (omudpspoof)Rainer Gerhards2009-07-091-108/+12
| | | | |
* | | | | Merge branch 'master' into udpspoofRainer Gerhards2009-07-091-18/+55
|\| | | | | | | | | | | | | | | | | | | | | | | | Conflicts: tools/omfwd.c
| * | | | re-enabled pipe, tty and console in omfileRainer Gerhards2009-06-121-0/+1
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | ... by moving code to stream.c. Thanks to the new design, new cases are not really needed, resulting in cleaner code. I also did a cleanup of header file usage as a side-activity.
| * | | added ability for the UDP output action to rebind its send socket after ↵Rainer Gerhards2009-05-291-19/+50
| | |/ | |/| | | | | | | | | | | | | | | | | | | sending n messages New config directive $ActionSendUDPRebindInterval added for the purpose. By default, rebinding is disabled. This is considered useful for load balancers.
| * | fixed some problems with "make check"Demo2009-03-311-1/+1
| | | | | | | | | | | | | | | interestingly, they manifested on Debian, only, but potentially existed on other platforms, too.
| * | bugfix: fixed some segaults on SolarisRainer Gerhards2009-03-251-1/+0
| | | | | | | | | | | | where vsprintf() does not check for NULL pointers
* | | changed imudp so that it supports sender spoofing.David Lang2009-07-081-10/+100
| |/ |/| | | | | | | | | | | | | This patch disables non-spoofed mode, it is primarily a code contribution to facilitate building a full-blown, configurable spoofing capabity. But obviously it can also be used in cases where only spoofing is desired. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | some minor bugfixesRainer Gerhards2009-06-181-1/+1
|/ | | | | | | | | | | | | | | - bugfix: invalid error message issued if $inlcudeConfig was on an empty set of files (e.g. *.conf, where none such files existed) thanks to Michael Biebl for reporting this bug - bugfix: when run in foreground (but not in debug mode), a debug message ("DoDie called") was emitted at shutdown. Removed. thanks to Michael Biebl for reporting this bug - bugfix: some garbagge was emitted to stderr on shutdown. This garbage consisted of file names, which were written during startup (key point: not a pointer error) thanks to Michael Biebl for reporting this bug - bugfix: startup and shutdown message were emitted to stdout thanks to Michael Biebl for reporting this bug
* 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
|