1332 Commits

Author SHA1 Message Date
Allan Park
263c18fc0c Added new module: KSI log signing ver. 1.2 (lmsig_ksi_ls12) 2017-05-11 16:50:41 +00:00
Pascal Withopf
8a84f775d5 imkafka: add new parameter confParam (#1)
testbench: Fixed testbench settings for new imkafka/omkafka tests
2017-05-11 14:05:38 +02:00
Rainer Gerhards
87b29734f3 core bugfix: memory leak if no parser handles message
if no parser can handle a message, the message object is
leaked. If this happens frequently, a rather large leak exists.

see also https://github.com/rsyslog/rsyslog/issues/102
2017-05-11 12:48:08 +02:00
Rainer Gerhards
5a4ea1dd91 bugfix: parser subsystem did not report first 1000 errors...
... when no matching parser could be found. From then on, it reported
all remaining occurences of this incident. This was right the counter
of what was intended, happend due to invalid check condition.
2017-05-11 12:48:08 +02:00
Rainer Gerhards
397ae67d8d testbench: add test for internal message processing memleak
also does some required changes to the test plumbing
2017-05-10 12:43:45 +02:00
7cba5f8128 testbench: Changed kafka server properties for propper multi setup
These changes are required for future testcases.
2017-05-10 09:27:31 +02:00
Rainer Gerhards
0fa3e9249d testbench: invalid init sequence
this causes all libfaketime tests to fail, due to unset
environment variable (which is set in init). Previously
this was no problem because the environment variable did
not exist in any case. Thus the problem went undetected
for a long time.
2017-05-09 17:21:20 +02:00
f5438bdea2 imkafka: Initial version if imkafka added
Basic features need to be added now.

testbench: Added kafka test with multi kafka instances

All kafka instances are connected to one zookeeper instance.
Diag script has been adjusted to propper start/stop single
kafka instances.

autotools: Added version check for librdkafka to be higher than 0.9.1
2017-05-09 11:15:20 +02:00
Rainer Gerhards
0d35f40356 testbench: reduce kafka test verbosity
(squash) enhance kafka test
2017-05-09 11:14:42 +02:00
Rainer Gerhards
7812cab64a experimenting with test 2017-05-09 11:14:14 +02:00
d277650721 testbench: Added omkafka test with multiple kafka/zookeeper instances 2017-05-09 11:09:20 +02:00
PascalWithopf
a0a6e5bbba imfile: fix problem that fileNotFoundError was reported repeatedly in polling mode
fix https://github.com/rsyslog/rsyslog/issues/1534
2017-05-03 10:00:28 +02:00
PascalWithopf
3f789a4458 imfile: add error message when file is not found and parameter to disable this message 2017-05-02 10:54:56 +02:00
Rainer Gerhards
55e9ee87fc Merge pull request #1529 from PascalWithopf/imptcp-discardTruncatedMsg
imptcp: add new parameter discardTruncatedMsg
2017-04-26 12:22:05 +02:00
Rainer Gerhards
5e27f96554 Merge pull request #1527 from PascalWithopf/imtcpMaxFrame
imtcp: add parameter maxFrameSize
2017-04-26 12:21:01 +02:00
Rainer Gerhards
34b35488df Merge pull request #1528 from PascalWithopf/imtcp-discardTruncatedMsg
imtcp: add new parameter discardTruncatedMsg
2017-04-26 12:19:31 +02:00
PascalWithopf
054edbc728 imptcp: add new parameter discardTruncatedMsg 2017-04-26 08:24:23 +02:00
PascalWithopf
08c265d24d imtcp: add new parameter discardTruncatedMsg 2017-04-25 08:54:00 +02:00
Rainer Gerhards
eff8f42acb Merge pull request #1524 from janmejay/master
Double impstats flush-interval because 1-flush-per-second is not enough tolerance on very slow machines
2017-04-20 15:32:42 +02:00
PascalWithopf
01feb44bf1 imtcp: add parameter maxFrameSize 2017-04-20 12:58:57 +02:00
Rainer Gerhards
6b07d0701a Merge pull request #1523 from PascalWithopf/maxFrameSize
imptcp: add parameter maxFrameSize
2017-04-20 11:47:28 +02:00
Rainer Gerhards
da9fdb61e0 Merge pull request #1490 from PascalWithopf/imptcpConnectionMsg
imptcp: add optional connection tracking message
2017-04-20 11:45:33 +02:00
PascalWithopf
9bfb9a5824 imptcp: add optional connection tracking message
closes https://github.com/rsyslog/rsyslog/issues/1488
2017-04-20 09:21:13 +02:00
Janmejay Singh
da8c0b9e92 Double impstats flush-interval because 1-flush-per-second does not give the test enough tolerance on slow machines. 2017-04-20 12:26:55 +05:30
PascalWithopf
b224c75425 imptcp: add parameter maxFrameSize 2017-04-20 08:14:42 +02:00
Rainer Gerhards
94bba07b7f Merge pull request #1522 from PascalWithopf/octetCountedError
imptcp: fix Segmentation Fault when octet count is too high
2017-04-19 15:44:11 +02:00
PascalWithopf
0381a0de64 imptcp: fix Segmentation Fault when octet count is to high 2017-04-19 13:06:30 +02:00
PascalWithopf
835e645b73 testbench: add tests for mmnormalize 2017-04-18 09:47:58 +02:00
Rainer Gerhards
9f95005ebf Merge pull request #1511 from PascalWithopf/solaris
workaround for solaris testbench
2017-04-13 16:20:55 +02:00
PascalWithopf
1628ef2a37 testbench: workaround for solaris 2017-04-13 14:07:38 +02:00
Rainer Gerhards
d82f54a28c CI: add way to gather all check logs if CI times out "make check"
This can happen under buildbot, and with it we can use the new script
in a follow-on buildbot step. Doesn't work with travis as it
terminates the complete CI run on timeout (no single-step timeout).
2017-04-12 10:37:20 +02:00
Rainer Gerhards
af60b7f9e1 testbench: reduce start-/stop-timeout
The current value (5 minutes) seemed excessevily wrong and should
probably indicate an error in any case. The new value of 2 minutes
should be fairly safe as well.
2017-04-11 15:12:02 +02:00
Rainer Gerhards
8d67c03d45 solaris: fix coding issues 2017-04-11 10:18:42 +02:00
Rainer Gerhards
896c6bde69 Merge pull request #1497 from jgerhards/i1480
imptcp: add new error message functionality and tests
2017-04-05 16:58:23 +02:00
Jan Gerhards
14ff653076 imptcp: add recognition for custom delimiter for truncating error messages 2017-04-05 09:00:24 +02:00
Jan Gerhards
6253435e0a modified imptcp-oversize-display test for clarity
due to an earlier test cycl a test message contained two headers. to avoid confusion, the latter header has beenreplacerd with the letter 'k'.
2017-04-04 15:11:29 +02:00
Jan Gerhards
a636227457 add test for long tcflood without frame delimiter 2017-04-04 13:10:02 +02:00
Jan Gerhards
4eee59f517 fix bug causing tcpflood to have incompatible options 2017-04-04 12:26:50 +02:00
Jan Gerhards
16d2e0da84 imptcp: add functionality to show message and remaining length when truncating messages
closes https://github.com/rsyslog/rsyslog/issues/1480
2017-04-04 11:21:47 +02:00
Rainer Gerhards
7d19c19838 Merge pull request #1414 from jgerhards/newTest
add new test
2017-04-04 11:06:09 +02:00
Rainer Gerhards
203cf82be8 testbench: add support for solaris 2017-04-03 14:14:56 +02:00
Rainer Gerhards
981e7121d8 re-enable building on Solaris 2017-04-03 12:09:09 +02:00
Art
6dab9834cb Support SNI when connecting as a client
Add SNI hostname if and only if host is not a bare IP address
Rename sndrcv_tls_anon -> sndrcv_tls_anon_hostname, and include a hostname in this test
Add bare IPv4 and IPv6 TLS tests
Change port in some tests to make wireshark traces easier to interpret during a full test run
2017-04-03 11:33:11 +02:00
Rainer Gerhards
f3bcab2ef1 Merge pull request #1477 from jvymazal/master
reverted str2num() bSuccess return to be consistent with past behavior
2017-04-03 09:03:22 +02:00
Rainer Gerhards
344715d402 Merge pull request #1458 from BastianStender/network_namespaces
omfwd: add support for network namespaces
2017-04-02 10:43:04 +02:00
Rainer Gerhards
803734c47c Merge pull request #1429 from nbrownus/imptcp-mode
Add ability to set owner/group/access perms for imptcp uds
2017-04-02 10:38:48 +02:00
Thomas Deutschmann
853de91b24
testbench: tcpflood failed to build if RELP support was disabled (2/2)
The previous commit 73e3b7ab for issue #1426 was incomplete and missed
the librelp.h header include.

Gentoo-Bug: https://bugs.gentoo.org/614424
2017-04-01 19:26:08 +02:00
Rainer Gerhards
8ee87e818b Merge pull request #1380 from PascalWithopf/i-625
mmnormalize: add possibility to get rule from string
2017-03-31 14:01:02 +02:00
Pascal Withopf
0de9a5bcd7 mmnormalize: add possibility to get rule from array 2017-03-31 09:30:09 +02:00
Jan Gerhards
2be33580de imptcp: add test for message truncation and fix errormessage 2017-03-29 10:44:14 +02:00