Rainer Gerhards
c577e9c64c
bugfix: message without MSG part could case a segfault
...
[backported from v5 commit 98d1ed504ec001728955a5bcd7916f64cd85f39f]
This actually was a "recent" regression, but I did not realize that it
was introduced by the performance optimization in v4-devel. Shame on
me for having two devel versions at the same time...
2010-02-22 09:31:10 +01:00
Rainer Gerhards
f764f24baa
updated rsyslog/php-syslog-ng doc, now that phpLogCon has evolved so much
2010-02-17 15:45:56 +01:00
Rainer Gerhards
76b3f2cd87
preparing for 4.5.8
v4.5.8
2010-02-10 15:26:27 +01:00
Rainer Gerhards
b1a1181720
minor doc fix: wrong default
...
... that clearly showed I could not do my math ;)
2010-02-09 17:51:23 +01:00
Rainer Gerhards
dd2e1a6906
fixed a small memory leak during config file parsing
2010-02-09 17:47:16 +01:00
Rainer Gerhards
b5e44445f9
added one more test to testbench
2010-02-08 18:35:27 +01:00
Rainer Gerhards
eff5630ec0
enhanced test suite
...
now CSV and regex extraction are being tested (would have caught the
bug fixed with the last commit).
2010-02-08 17:28:58 +01:00
Rainer Gerhards
e1584b71f3
several bugfixes for the property replacer
...
- bugfix: property replacer returned invalid parameters under some (unusual)
conditions. In extreme cases, this could lead to garbled logs and/or
a system failure.
- bugfix: invalid length returned (often) when using regular expressions
inside the property replacer
- bugfix: submatch regex in property replacer did not honor "return 0 on
no match" config case
2010-02-08 16:53:30 +01:00
Rainer Gerhards
c34e7d2114
integrated new PostgreSQL doc
...
converted to html, linked, etc...
2010-02-08 14:30:08 +01:00
Marc Schiffbauer
184d8cf6d2
improved PostgreSQL database create script, provided doc on PostgreSQL setup
...
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2010-02-08 14:20:15 +01:00
Rainer Gerhards
85a0ed1cce
bugfix: imuxsock incorrectly stated inputname "imudp"
...
Thanks to Ryan Lynch for reporting this.
2010-02-06 12:03:24 +01:00
Rainer Gerhards
ef193bf0ae
Merge branch 'v4-stable' into v4-beta
2010-02-04 16:43:21 +01:00
varmojfekoj
8c3ab2e26f
bugfix: several smaller bugs resolved after flexelint review
...
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2010-02-04 16:02:57 +01:00
Cristiano
66d129c9ca
(slightly) enhanced support for FreeBSD by setting _PATH_MODDIR to the correct value on FreeBSD.
...
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2010-02-03 15:42:14 +01:00
Rainer Gerhards
939852b1cd
Merge branch 'v4-stable' into v4-beta
...
Conflicts:
runtime/queue.c
2010-01-26 12:02:07 +01:00
varmojfekoj
7d098f14cb
bugfix: potential segfault on queue shutdown
...
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2010-01-26 11:54:33 +01:00
Rainer Gerhards
8a3a6f4deb
did some adoptions necessary to use the bugfix with v4-beta code base
2010-01-26 11:38:21 +01:00
Rainer Gerhards
2c86548063
Merge branch 'queuepatch' into v4-betanew
...
Conflicts:
runtime/queue.c
2010-01-26 11:33:32 +01:00
varmojfekoj
ca8884d85d
bugfixes for potential segfaults during queue shutdown
...
(bugs require certain non-standard settings to appear)
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2010-01-26 11:30:06 +01:00
Rainer Gerhards
bd03b86c63
bugfix: -d did not enable display of debug messages
...
regression from introduction of "debug on demand" mode
Thanks to Michael Biebl for reporting this bug
2010-01-19 15:49:26 +01:00
Rainer Gerhards
9cfa072caa
bugfix: blanks inside file names did not terminate file name parsing.
...
This could reslult in the whole rest of a line (including comments)
to be treated as file name in "write to file" actions.
Thanks to Jack for reporting this issue.
2010-01-19 15:15:22 +01:00
Rainer Gerhards
9a0e844c91
Merge branch 'v4-stable' into v4-beta
2010-01-19 14:39:55 +01:00
Michael Biebl
112b69d983
Fix a typo regarding syslog.h and syslog(3)
...
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2010-01-19 14:39:24 +01:00
Rainer Gerhards
5b4e06fc28
bugfix: rsyslog hangs when writing to a named pipe which nobody was reading.
...
Thanks to Michael Biebl for reporting this bug.
2010-01-15 17:01:10 +01:00
Rainer Gerhards
f88291d561
Merge branch 'v4-beta-memleak' into v4-beta
2010-01-12 12:50:43 +01:00
Rainer Gerhards
3cb29f4e2b
doc bugfix: "-h" option no longer exists
2010-01-12 12:45:42 +01:00
Naoya Nakazawa
009738a0ac
fixed a memory leak when sending messages in zip-compressed format
...
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2010-01-11 12:34:46 +01:00
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