94 Commits

Author SHA1 Message Date
Rainer Gerhards
18399f11cd re-implemented $EscapeControlCharacterTab config directive
Based on Jonathan Bond-Caron's patch for v4. This now also includes some
automatted tests.
2009-11-27 11:26:09 +01:00
Rainer Gerhards
c051786ea6 solved some minor nits in make distcheck 2009-11-13 10:58:43 +01:00
Rainer Gerhards
adab485b93 Merge branch 'v4-devel'
Conflicts:
	tests/Makefile.am
2009-11-12 13:36:29 +01:00
Rainer Gerhards
329b20451f Merge branch 'v4-beta' into v4-devel 2009-11-12 13:23:03 +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
20f1c9c502 improved testbench: added tests for UDP forwarding and omudpspoof 2009-11-12 11:24:52 +01:00
Rainer Gerhards
c6c875a65d Merge branch 'v4-devel' 2009-11-11 14:15:00 +01:00
Rainer Gerhards
ef1b6c725b Merge branch 'v4-beta' into v4-devel
Conflicts:
	tests/Makefile.am
2009-11-11 14:14:37 +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
4578dc6a2d Merge branch 'v4-devel' into tmp 2009-11-05 14:34:21 +01:00
Rainer Gerhards
cd5f653ad8 Merge branch 'v4-beta' into v4-devel
Conflicts:
	tests/Makefile.am
2009-11-05 14:34:08 +01:00
Rainer Gerhards
6a99be4696 added pipe action test to testbench & testbench bugfix 2009-11-05 14:31:37 +01:00
Rainer Gerhards
0c721accce Merge branch 'v4-devel' 2009-11-03 09:20:48 +01:00
Rainer Gerhards
e4ca8a3119 added function getenv() to RainerScript 2009-11-03 09:20:02 +01:00
Rainer Gerhards
05d693123b added omruleset output module, which provides great flexibility in action processing.
THIS IS A VERY IMPORTANT ADDITION, see its doc for why.
2009-11-02 11:39:38 +01:00
Rainer Gerhards
7a51d07e94 added test for ruleset-specific main queue 2009-10-30 08:48:55 +01:00
Rainer Gerhards
9079f66830 improved testbench
- added a test to check handling of damaged .qi files on startup
- made sure each test identifies itself on startup
2009-10-21 15:17:19 +02:00
Rainer Gerhards
1bf76e99d6 preparing for 5.3.2 2009-10-21 10:17:44 +02:00
Rainer Gerhards
0acdae34bd streamlined new addition to testbench 2009-10-19 15:36:16 +02:00
Rainer Gerhards
f094fcb261 added one more parser test case 2009-10-09 15:48:32 +02:00
Rainer Gerhards
8cd291a0c9 Merge branch 'v4-stable' into v4-beta
Conflicts:
	ChangeLog
	runtime/msg.c
2009-08-27 12:13:01 +02:00
Rainer Gerhards
b3e16a9f53 Merge branch 'v4-stable' into v4-devel
Conflicts:
	ChangeLog
	runtime/msg.c
2009-08-25 15:59:46 +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
e22a26ddbf added forgotten testcase 2009-08-20 14:24:51 +02:00
Rainer Gerhards
feeb622c4e bugfix: discard action caused segfault 2009-07-30 09:47:47 +02:00
Rainer Gerhards
cf4e3a4d99 moved check_JAVA as suggested by Michael Biebl - thx 2009-07-20 18:43:38 +02:00
Rainer Gerhards
4130ca8670 Merge branch 'v4-devel' 2009-07-09 17:21:01 +02:00
Rainer Gerhards
9de685929e bugfix: message could be truncated after TAG, often when forwarding
This was a result of an internal processing error if maximum field
sizes had been specified in the property replacer.
Also did some testbench improvements, including omstdout.
2009-07-09 16:32:14 +02:00
Rainer Gerhards
7c0ca75537 added yet another forgotten file... 2009-07-02 17:23:43 +02:00
Rainer Gerhards
e9c659c157 fixed missing file in distribution tarball 2009-07-02 17:17:32 +02:00
Rainer Gerhards
d22f240bc3 Merge branch 'master' into v5-devel 2009-06-26 14:09:15 +02:00
Rainer Gerhards
6be06d50e3 added some basic multithreading tests to testbench 2009-06-26 14:08:30 +02:00
Rainer Gerhards
675d46f5b5 cleanup (removed left-over from backport) 2009-06-24 10:29:57 +02:00
Rainer Gerhards
651bee9cf5 Merge branch 'omfile' into tmp
This was a complex manual merge, especially in action.c. So if
there occur some problems, this would be a good point to start
troubleshooting. I run a couple of tests before commiting and
they all went well.

Conflicts:
	action.c
	action.h
	runtime/queue.c
	runtime/queue.h
	runtime/wti.c
	runtime/wti.h
2009-06-22 15:12:35 +02:00
Rainer Gerhards
11cb1e008b some cleanup 2009-06-19 11:45:21 +02:00
Rainer Gerhards
77c992e215 fully optimized datetime module and enhanced test suite
tests for the various timestamp formats have been added
2009-06-19 11:30:57 +02:00
Rainer Gerhards
f33dd51c80 fixed abort condition with oversize tags
this was a regression I introduced this afternoon
2009-06-18 17:48:11 +02:00
Rainer Gerhards
b5f3387357 Merge branch 'omfile' into v5-devel
Note that this was NOT a trivial merge, and there may be
some issues. This needs to be seen when we continue developing.

Conflicts:
	runtime/msg.h
	runtime/obj.h
	runtime/queue.c
	runtime/srUtils.h
	runtime/stream.c
	runtime/stream.h
	runtime/wti.c
	tests/Makefile.am
	tools/omfile.c
	tools/syslogd.c
2009-06-16 13:59:09 +02:00
Rainer Gerhards
0290be816e fixed small nit in build system 2009-06-10 16:55:00 +02:00
Rainer Gerhards
9704f129f7 added capability to fsync() queue disk files for enhanced reliability
also adds speed, because you do no longer need to run the whole file
system in sync mode. New testbench and new config directives:
- $MainMsgQueueSyncQueueFiles
- $ActionQueueSyncQueueFiles
2009-06-09 19:00:18 +02:00
Rainer Gerhards
cf12897376 Merge branch 'master' into v5-devel
Conflicts:
	runtime/rsyslog.h
	tests/Makefile.am
2009-06-04 10:19:47 +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
92d10abc1b Merge branch 'master' into v5-devel
Conflicts:
	ChangeLog
	runtime/rsyslog.h
2009-06-04 03:27:41 +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
29cacc3c8a Merge branch 'master' into v5-devel
Conflicts:
	tests/Makefile.am
2009-05-28 19:01:34 +02:00
Rainer Gerhards
d7c98e7a6e Merge branch 'beta' into master
Conflicts:
	tests/Makefile.am
2009-05-28 18:34:17 +02:00
Rainer Gerhards
8d8befaeca Merge branch 'v3-stable' into beta
Conflicts:
	tests/Makefile.am
2009-05-28 18:23:53 +02:00
Rainer Gerhards
23dac82b68 small enhancement: config validation run now exits with code 1 if an error is detected.
This change is considered important but small enough
to apply it directly to the stable version. [But it is a border case,
the change requires more code than I had hoped. Thus I have NOT tried
to actually catch all cases, this is left for the current devel
releases, if necessary]
2009-05-28 17:59:11 +02:00