2498 Commits

Author SHA1 Message Date
varmojfekoj
30c2e42ec3 added option to use unlimited-size select() calls
Thanks to varmjofekoj for the patch

Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2009-11-17 09:00:01 +01:00
Rainer Gerhards
c104eea4e5 preparing for 4.4.2 release v4.4.2 2009-10-09 14:06:51 +02:00
Rainer Gerhards
cb97616276 RFC5424 formatted messages with only structured data and no MSG part were improperly handled.
This was a regression of one of the last bugfixes, so no previously released
version contained this bug (thus it does not show up in the ChangeLog).
2009-10-01 16:54:34 +02:00
Rainer Gerhards
e13537ce90 Merge branch 'v3-stable' into v4-stable 2009-09-30 12:42:41 +02:00
Rainer Gerhards
7afe4b3a79 Merge branch 'v2-stable' into v3-stable 2009-09-30 12:42:01 +02:00
Rainer Gerhards
3be997f943 doc bugfix: default for $DirCreateMode incorrectly stated 2009-09-30 12:41:38 +02:00
Rainer Gerhards
f45217e776 bugfix: zero-sized UDP messages are no longer processed
Until now, they were forwarded to processing, but this makes no sense
Also, it looks like the system seems to provide a zero return code
on a UDP recvfrom() from time to time for some internal reasons. These
"receives" are now silently ignored.
2009-09-29 14:37:33 +02:00
Rainer Gerhards
536415cf3d bugfix: invalid handling of zero-sized messages
could lead to mis-addressing and potential memory corruption/segfault
2009-09-29 14:22:11 +02:00
Rainer Gerhards
5c6eee3e44 bumped version number 2009-09-29 13:59:02 +02:00
Rainer Gerhards
37ba1df6e3 bugfix: random data could be appended to message, possibly causing segfaults 2009-09-24 09:48:38 +02:00
Rainer Gerhards
6d8df12597 Merge branch 'v3-stable' into v4-stable
Conflicts:
	doc/rsyslog_conf.html
2009-09-04 15:17:23 +02:00
Rainer Gerhards
d7cfdcf28c clarified use of $ActionsSendStreamDriver[AuthMode/PermittedPeers]
in doc set (require TLS drivers)
2009-09-04 15:11:27 +02:00
Rainer Gerhards
1e9febaf28 bugfix: reverse lookup reduction logic in imudp do DNS queries too often
A comparison was done between the current and the former source address.
However, this was done on the full sockaddr_storage structure and not
on the host address only. This has now been changed for IPv4 and IPv6.
The end result of this bug could be a higher UDP message loss rate than
necessary (note that UDP message loss can not totally be avoided due
to the UDP spec)
2009-09-03 15:48:57 +02:00
Rainer Gerhards
fb8ce409fe preparing for 4.4.1 release v4.4.1 2009-09-02 14:34:00 +02:00
Rainer Gerhards
7aa30acc74 bugfix (backport): omfwd segfault
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.
2009-08-27 12:10:44 +02:00
Rainer Gerhards
1164429974 bugfix: invalid double-quoted PRI, among others in outgoing messages
This causes grief with all receivers.
Bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=147
2009-08-25 15:55:57 +02:00
Rainer Gerhards
8c125325cf features requiring Java are automatically disabled if Java is not present
(thanks to Michael Biebl for his help!)
2009-08-25 12:14:50 +02:00
Rainer Gerhards
03918b4478 bugfix: Java testing tools were required, even if testbench was disabled
This resulted in build errors if no Java was present on the build system,
even though none of the selected option actually required Java.
(I forgot to backport a similar fix to newer releases).
2009-08-24 12:21:28 +02:00
Rainer Gerhards
bd7542b515 Merge branch 'v4.3.2' (v4-beta) into v4-stable
Conflicts:
	ChangeLog
	configure.ac
	doc/manual.html
	tests/Makefile.am
v4.4.0
2009-08-21 10:19:56 +02:00
Rainer Gerhards
51aa94ea2c fixed left-over from merge failure
thanks to Michael Biebl for pointing the problem out
2009-07-30 15:25:49 +02:00
Rainer Gerhards
b6340c7714 removed mentioning HUP as a way of restarting from the doc set
... part of the deprecation effort for v5
2009-07-15 10:19:23 +02:00
Rainer Gerhards
fec2041e03 Merge branch 'v3-stable' into v4-stable
Conflicts:
	ChangeLog
	configure.ac
	doc/manual.html
2009-07-13 15:55:46 +02:00
Rainer Gerhards
ef9722ec87 fix compile error in zip sender patch
... 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]
2009-07-13 15:44:09 +02:00
Rainer Gerhards
e27b56f0b7 better configure error message if mysql-devel is missing 2009-07-13 14:56:29 +02:00
Rainer Gerhards
89e18de662 bugfix: sending syslog messages with zip compression did not work 2009-07-13 14:24:16 +02:00
Rainer Gerhards
538543f6d0 preparing for 3.22.1 v3.22.1 2009-07-02 15:40:47 +02:00
Rainer Gerhards
6511278082 bugfix: ssh session hangs after rsyslgod is started from it
stderr/stdout were not closed to be able to emit error messages,
but this caused ssh sessions to hang. Now we close them after the
initial initialization. See forum thread:
http://kb.monitorware.com/controlling-terminal-issues-t9875.html
2009-06-29 12:40:41 +02:00
Rainer Gerhards
736a3631e6 Merge branch 'v3-stable' into v4-stable 2009-06-24 15:16:35 +02:00
Rainer Gerhards
af2dfd1c51 bugfix: invalid mutex release in msg.c
Detected under threading debugger, seems not to have any impact on
actual deployments.
2009-06-24 15:15:49 +02:00
Rainer Gerhards
675d46f5b5 cleanup (removed left-over from backport) v4.3.2 2009-06-24 10:29:57 +02:00
Rainer Gerhards
2533c07a70 Merge branch 'v4-stable' into beta 2009-06-24 10:15:07 +02:00
Rainer Gerhards
11cda87ede Merge branch 'v3-stable' into v4-stable 2009-06-24 10:14:56 +02:00
Michael Biebl
71c57cfa12 minor doc bugfix: name of rsyslogd.pid corrected (was syslogd.pid)
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2009-06-24 10:14:23 +02:00
Rainer Gerhards
eece1c3cd1 Merge branch 'v4-stable' into beta
Conflicts:
	ChangeLog
	configure.ac
	doc/manual.html
2009-06-24 10:11:41 +02:00
Rainer Gerhards
a48918cc27 minor: prepped ChangeLog for next beta 2009-06-24 10:09:57 +02:00
Rainer Gerhards
2d548d56c2 finishing touches for 4.2.0 v4.2.0 2009-06-22 19:45:53 +02:00
Rainer Gerhards
5310ccee31 preparing for v4-stable 2009-06-22 19:22:24 +02:00
Rainer Gerhards
a6ed4b59cc Merge branch 'beta' 2009-06-18 11:11:59 +02:00
Rainer Gerhards
17133f2cd1 Merge branch 'v3-stable' into beta 2009-06-18 11:11:07 +02:00
Rainer Gerhards
bca66bc139 some minor bugfixes
- 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
2009-06-18 11:10:28 +02:00
Rainer Gerhards
74b2b24f50 removed long-obsoleted property UxTradMsg
... as well as some cleanup (some commented-out code is left to
support UxTradMsg again is someone really complains ;)).
2009-06-16 12:31:27 +02:00
Rainer Gerhards
f7579e68a6 done various optimizations to the stringbuf and its users 2009-06-16 11:36:05 +02:00
Rainer Gerhards
015d17ca70 some performance optimizations
- saved gettimeofday() calls in imtcp (and increased reception buffer)
- somewhat optimized stringbuf.c
- some other optimizations
2009-06-16 08:46:45 +02:00
Rainer Gerhards
7f78b2ef65 removed forgotten debug message 2009-06-15 08:13:41 +02:00
Rainer Gerhards
ff6232d2be bugfix: error messages were not emitted to stderr in forked mode
stderr and stdo are now kept open across fork()
2009-06-15 08:12:14 +02:00
Rainer Gerhards
e893a59164 backported macros necessary to create output modules with transaction support
this does not mean the v4 engine will support batches and output
transactions, but I can now write plugins that will work equally well
with v4 AND v5. I consider this useful during the rewrite of omfile.
2009-06-04 10:32:12 +02:00
Rainer Gerhards
58e707b441 backported some of the v5 testbench
this permits us to keep a persistent test environment between
v4 and v5, most importantly using the same tools. As far as the
actual tests are concerned, some had issues. I had no time to check
if that was an issue with the test or an actual issue with the
v3/4 engine. Will do that at some later stage.
2009-06-04 09:57:45 +02:00
Rainer Gerhards
4f742a8e32 added config switch --enable-testbench=no to turn off testbench 2009-06-03 07:51:47 +02:00
Rainer Gerhards
b61e5fffc4 strmsrv now supports KEEPALIVE socket option 2009-06-02 13:11:18 +02:00
Rainer Gerhards
05ba5fc29f slightly extended strms_sess interface 2009-06-02 12:22:00 +02:00