2817 Commits

Author SHA1 Message Date
Rainer Gerhards
a65f638523 Merge branch 'v4-stable' into v4-beta 2009-12-04 13:14:14 +01:00
Rainer Gerhards
44ee165390 Merge branch 'v3-stable' into v4-stable 2009-12-04 13:13:12 +01:00
Rainer Gerhards
8021912232 bugfix: potential segfault when -p command line option was used
thanks to varmojfekoj for pointing me at this bug
2009-12-04 13:11:50 +01:00
Rainer Gerhards
09a10603ff bugfix: hostname accidently set to IP address for some message sources
for example imudp. Thanks to Anton for reporting this bug.
2009-11-30 12:43:03 +01:00
Rainer Gerhards
4cc7a7c16c Merge branch 'v4-stable' into v4-beta 2009-11-30 11:51:32 +01:00
Rainer Gerhards
cf1275d846 Merge branch 'v3-stable' into v4-stable 2009-11-30 11:51:20 +01:00
Rainer Gerhards
7b40604e9a bugfix: $CreateDirs variable not properly initialized
default thus was random (but most often "on")
2009-11-30 11:50:57 +01:00
Jonathan Bond-Caron
3056c15ef4 bugfix (kind of): check if TCP connection is still alive if using TLS
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2009-11-25 16:35:54 +01:00
Rainer Gerhards
903811a856 preparing for 4.5.7 v4.5.7 2009-11-18 10:55:17 +01:00
Rainer Gerhards
2a1d97263f Merge branch 'v4-stable' into v4-beta 2009-11-17 09:41:00 +01:00
Rainer Gerhards
d8b3669e6d Merge branch 'v3-stable' into v4-stable
Conflicts:
	doc/rsyslog_conf.html
	runtime/net.c
2009-11-17 09:40:43 +01:00
Rainer Gerhards
dd40c7ff90 minor doc: enhanced description of loadable modules 2009-11-17 09:25:22 +01:00
Rainer Gerhards
8aec830cf5 Merge branch 'v4-stable' into v4-beta 2009-11-12 14:46:58 +01:00
Rainer Gerhards
96790ad403 cosmetic: mention imported v3-bugfix in ChangeLog 2009-11-12 14:27:54 +01:00
Rainer Gerhards
f6dfcc7c3d correcting -q/-Q patch - was invalid
This is the correct patch. The previous one solved the segfault, but
disabled the -q/Q options.
2009-11-12 14:21:53 +01:00
Rainer Gerhards
bedc903ae0 Merge branch 'v3-stable' into v4-stable 2009-11-12 14:10:00 +01:00
Rainer Gerhards
e4542eb926 bugfix: segfault on startup when -q or -Q option was given
bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=157
Thanks to Jonas Nogueira for reporting this bug.
2009-11-12 14:07:12 +01:00
Rainer Gerhards
0fd8143d87 Merge branch 'v4-stable' into v4-beta
Conflicts:
	tests/Makefile.am
2009-11-12 13:21:46 +01:00
Rainer Gerhards
0a5b731f2f bugfix: $ActionExecOnlyOnceEveryInterval did not work.
This was a regression from the time() optimizations done in v4.
Bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=143
Thanks to Klaus Tachtler for reporting this bug.
2009-11-12 13:14:39 +01:00
Rainer Gerhards
22bf4fc832 somewhat enhanced test suite
also prepared test case for TLS testing, but not activated it
inside the build itself.
A note on TLS testing: the current testsuite (in git!) already contains
TLS test cases. However, getting these test cases correct is not simple.
That's not a problem with the code itself, but rater a problem with
synchronization in the test environment. So I have deciced to keep the
TLS tests in, but not yet actually utilize them. This is most probably
left as an excercise for future (devel) releases.
2009-11-11 14:12:09 +01:00
Rainer Gerhards
a9cf6e0e92 testbench improvement: gzip-plain-tcp mode is now being tested
... also improved two-instance test mechanism, now have a generic
approach.
2009-11-11 12:06:02 +01:00
Rainer Gerhards
7077420d58 added support for dual-rsyslogd-instance test cases to testbench
... plus a simple initial test of the tcp forwarding capability.
2009-11-11 11:44:24 +01:00
Rainer Gerhards
b4dd4ef83a doc: added reasoning for why use env vars to configure debug system 2009-11-10 13:50:07 +01:00
Rainer Gerhards
2b5e15d549 added a so-called "On Demand Debug" mode
in which debug output can be generated only after the process has started,
but not right from the beginning. This is assumed to be useful for
hard-to-find bugs.  Also improved the doc on the debug system.
2009-11-10 12:50:48 +01:00
Rainer Gerhards
224c3aef8b bumped version number 2009-11-05 15:27:16 +01:00
Rainer Gerhards
dfbdb0d98d preparing for 4.5.6 v4.5.6 2009-11-05 15:25:31 +01:00
Rainer Gerhards
6a99be4696 added pipe action test to testbench & testbench bugfix 2009-11-05 14:31:37 +01:00
Rainer Gerhards
a5cd509be7 bugfix: named pipes did no longer work (they always got an open error)
this was a regression from the omfile rewrite in 4.5.0
2009-11-05 12:44:57 +01:00
Rainer Gerhards
037576dcc7 bugfix(testbench): testcase did not properly wait for rsyslod shutdown
thus some unpredictable behavior and a false negative test result
could occur. [BACKPORTED from v5]
2009-10-30 09:06:50 +01:00
Rainer Gerhards
04ca261119 Merge branch 'v4-stable' into v4-beta
Conflicts:
	ChangeLog
	configure.ac
	doc/manual.html
	plugins/imrelp/imrelp.c
2009-10-21 12:04:59 +02:00
Rainer Gerhards
3187982c3c Merge branch 'aaron' into v4-beta
Conflicts:
	ChangeLog
2009-10-21 10:51:43 +02:00
Rainer Gerhards
b513239352 preparing for 4.5.5 v4.5.5 2009-10-21 10:50:22 +02:00
Rainer Gerhards
9407f2a3e0 bumped version number 2009-10-20 15:12:00 +02:00
Rainer Gerhards
24d5ecc891 added imported bugfix to changelog 2009-10-20 11:09:20 +02:00
Rainer Gerhards
b840e300df Merge branch 'v3-stable' into v4-stable 2009-10-20 11:07:52 +02:00
Rainer Gerhards
8e45fd5c8e bugfix: potential hang condition on queue shutdown 2009-10-20 11:05:02 +02:00
Rainer Gerhards
7f9db36d9a Merge branch 'v3-stable' into v4-stable
Conflicts:
	plugins/imrelp/imrelp.c
2009-10-14 17:14:56 +02:00
Rainer Gerhards
d30526568c Merge branch 'v3-stable' into v4-beta
Conflicts:
	plugins/imrelp/imrelp.c
2009-10-14 17:06:40 +02:00
Rainer Gerhards
73cc2afb22 enhance: imrelp now also provides remote peer's IP address
[if librelp != 1.0.0 is used]
2009-10-14 12:56:03 +02:00
Rainer Gerhards
e6b2cba803 bugfix(minor): diag function returned wrong queue memeber count
...for the main queue if an active DA queue existed. This had no relevance
to real deployments (assuming they are not running the debug/diagnostic
module...), but sometimes caused grief and false alerts in the
testbench.
2009-10-14 11:16:43 +02:00
Rainer Gerhards
c104eea4e5 preparing for 4.4.2 release v4.4.2 2009-10-09 14:06:51 +02:00
Rainer Gerhards
17e24eae73 Merge branch 'aaron' into v4-beta 2009-10-08 16:37:01 +02:00
Rainer Gerhards
50d9939148 bugfix: debug string larger than 1K were improperly displayed.
Max size is now 32K.
2009-10-08 16:29:15 +02:00
Rainer Gerhards
2f35a69a59 Merge branch 'aaron' into v4-beta 2009-10-05 12:41:10 +02:00
Rainer Gerhards
0d7521d591 bugfix: invalid storage class selected for some size config parameters.
This resulted in wrong values. The most prominent victim was the
directory creation mode, which was set to zero in some cases. For
details, see related blog post:
http://blog.gerhards.net/2009/10/another-note-on-hard-to-find-bugs.html

This replaces the improper bugfix from two commits ago with a proper one.
2009-10-05 12:38:40 +02:00
Rainer Gerhards
21aef2dffd bugfix[minor]: CHKiRet improperly used 2009-10-02 16:11:13 +02:00
Rainer Gerhards
36bfaf6348 DirCreateMode was always zero. work-around now is to do a...
one-time write to the mode, then all works. However, if no such write
is done, the variable always remains zero. I have used the memory
debugger as well as shuffled the code around and used guard variables
nothing changed. The problem always moved with the changes I did. So
I now consider the one-time write a usable work-around, because it
definitely fixes the issue even though it does not explain why it
happens.
2009-10-02 15:48:37 +02:00
Rainer Gerhards
4c8546fd6f bumped version number 2009-10-02 09:25:54 +02:00
Rainer Gerhards
f771764fab Merge branch 'aaron' into v4-beta
Conflicts:
	runtime/rsyslog.h
2009-10-02 09:21:25 +02:00
Rainer Gerhards
724ba2b27f bumped version number, corrected error message code (minor nit) 2009-10-01 18:47:16 +02:00