13712 Commits

Author SHA1 Message Date
Rainer Gerhards
1c6c78edb2
openssl driver: clean up a bit 2019-04-12 08:45:30 +02:00
Rainer Gerhards
8a57feb296
maintain ChangeLog 2019-04-11 17:38:30 +02:00
Rainer Gerhards
43ce588780
Merge pull request #3611 from alorbach/issue3605
openssl network driver: Added support setting openssl config commands
2019-04-11 17:33:17 +02:00
Rainer Gerhards
f03517d8af
Merge pull request #3613 from rgerhards/nitfix
testbench plumbing: remove left-over debug output
2019-04-11 14:31:16 +02:00
Rainer Gerhards
3f46487a79 testbench plumbing: remove left-over debug output 2019-04-11 13:18:04 +02:00
2f20fdd8c2 openssl network driver: Added support setting openssl configcommands
We are using the gnutlsPriorityString setting variable, to pass
configuration commands to openssl.
The format is one command per line, command and value separated by equal sign (=).
See this sample:
	gnutlsPriorityString="command=value
	secondcommand=value"

Also added a test that disables certain TLS/SSL Version through this parameter which
causes the connection within the test to fail due wrong tls version number.
This error is checked and if found the test will pass.

Support only on OpenSSL 1.02 or higher.
Testcase will log an error if OpenSSL Versions has not TLSv1.3 support.
This can be ignored. The tests works regardless of this logged error.

closes: https://github.com/rsyslog/rsyslog/issues/3605
2019-04-11 11:31:38 +02:00
Rainer Gerhards
98a28933c7
maintain ChangeLog 2019-04-10 17:50:54 +02:00
Rainer Gerhards
0467557f2a
Merge pull request #2557 from rgerhards/i1296
imfile: emit error on startup if no working directory is set
2019-04-10 17:45:37 +02:00
Rainer Gerhards
07b04324f3
Merge pull request #3610 from rgerhards/pmnormalize
pmnormalize: fix memory leak, improve tests
2019-04-10 17:44:15 +02:00
Rainer Gerhards
1ee1da9410
pmnormalize: fix memory leak, improve tests
This patch fixes a set of problems plus provides more and enhanced
tests for the module.

Most important problem was a memory leak that occured when a message
could not be passed at all. For each message that could not be parsed
memory of at least the size the message is leaked. Depending on
traffic pattern this can quickly lead to OOM. Note, however, that
this leak was never reported - it was discovered as part of code
review.

closes https://github.com/rsyslog/rsyslog/issues/2007
2019-04-10 13:15:01 +02:00
Rainer Gerhards
4577417e2a
Merge pull request #3608 from rgerhards/codecov-modules
CodeCov: split off contrib modules from main project
2019-04-10 10:42:20 +02:00
Rainer Gerhards
9e731c4fcf
CodeCov: split off contrib modules from main project 2019-04-10 09:29:02 +02:00
Rainer Gerhards
e81e1fcd1a
imfile: emit error on startup if no working directory is set
When the work directory has not been set or is invalid, state files
are created in the root of the file system. This is neither expected
nor desirable. We now complain loudly about this fact. For backwards
compatibility reasons, we still need to support running imfile in
this case.

closes https://github.com/rsyslog/rsyslog/issues/1296
2019-04-10 09:02:22 +02:00
Rainer Gerhards
fcb83fb247
Merge pull request #3476 from pduveau/omrabbitmq_featured
Featuring omrabbitmq
2019-04-09 12:53:43 +02:00
Rainer Gerhards
2ba3924863
Merge pull request #3603 from n2yen/rm-imdocker-unittest
remove redundant compiled imdocker-unit-tests
2019-04-09 12:34:35 +02:00
Rainer Gerhards
48772eb153
maintain ChangeLog 2019-04-09 12:33:33 +02:00
Rainer Gerhards
c1c140cd07
Merge pull request #3591 from pduveau/improg_tests
improg : tests and memory leak patch
2019-04-09 12:29:26 +02:00
Nelson Yen
47bfa582c0 fix coverity errors
- remove logically dead code.
- remove unnecessary NULL check
2019-04-08 14:33:46 -07:00
Nelson Yen
f72dbe4009 remove unneeded imdocker-unit-tests
Remove the compile time tests which are now redundant,
due to the variety of imdocker testbench tests.
2019-04-08 14:22:11 -07:00
Philippe Duveau
3f673be483 improg : tests (traces) + patch + distcheck 2019-04-08 20:33:40 +02:00
Rainer Gerhards
74f9e29663
maintain ChangeLog 2019-04-08 12:37:49 +02:00
Rainer Gerhards
5d63a797f2
Merge pull request #3604 from rgerhards/i3598
build system bugfix: omhttp was ignored during "make distcheck"
2019-04-08 12:36:29 +02:00
Philippe Duveau
b2600c2aa6 Featuring omrabbitmq + tests + LGTM alert 2019-04-08 12:11:33 +02:00
Rainer Gerhards
e6a8510391 build system bugfix: omhttp was ignored during "make distcheck"
see also https://github.com/rsyslog/rsyslog/pull/3598
2019-04-08 11:04:01 +02:00
Rainer Gerhards
096360663b
Merge pull request #3598 from Whissi/add-missing-omhttp-tests
testbench: Add missing omhttp tests to EXTRA_DIST
2019-04-08 11:03:30 +02:00
Rainer Gerhards
8c2d76ed4c
maintain ChangeLog 2019-04-08 10:34:13 +02:00
Rainer Gerhards
bf5fefc584
Merge pull request #3577 from richm/omelasticsearch-issue-3573
omelasticsearch - retry: set rawmsg to data from original request
2019-04-08 10:31:15 +02:00
Thomas Deutschmann
6192e0a9c9
testbench: Add missing omhttp tests to EXTRA_DIST 2019-04-05 21:51:50 +02:00
Rainer Gerhards
664f7ea3a5
Merge pull request #3595 from rgerhards/tb-core
testbench: better info if core file is found during test
2019-04-05 18:31:57 +02:00
Rainer Gerhards
86ff87f002
Merge pull request #3479 from pduveau/contrib_pmdb2diag
Contrib_pmdb2diag
2019-04-05 16:51:46 +02:00
Rainer Gerhards
5522497bf0
Merge pull request #3593 from rgerhards/imfile-symlink
testbench: better instrumenation for imfile-symlink test
2019-04-05 16:06:35 +02:00
Rainer Gerhards
fe71d5bbad
testbench: better info if core file is found during test 2019-04-05 15:38:01 +02:00
Rainer Gerhards
8ec6789a39
Merge pull request #3597 from rgerhards/imdocker-unittest
testbench: disable imdocker-unittests because it does not work
2019-04-05 15:36:27 +02:00
Rainer Gerhards
910a302f80
testbench: disable imdocker-unittests because it does not work
It also causes unrelated testbench failures.

see also https://github.com/rsyslog/rsyslog/issues/3596
2019-04-05 14:01:13 +02:00
Rainer Gerhards
932039da61
Merge branch 'issue3587' 2019-04-05 09:58:16 +02:00
Rainer Gerhards
12f64b3ad5
maintain ChangeLog
patch was reverted as it was errornous - removing from ChangeLog
as well
2019-04-05 09:54:08 +02:00
Rainer Gerhards
1a95406046
Merge pull request #3589 from rsyslog/revert-3535-issue-1503
Revert "WiP: rsyslog doesn't respond to TLS close_notify "
2019-04-05 09:53:05 +02:00
Rainer Gerhards
e88332fb1a
testbench: better instrumenation for imfile-symlink test
This test frequently fails. We suspect real problem. New instrumentation
hopefully helps narrowing down the case when the problem re-occurs.

The test was also slightly improved by removing an unnecessary duplicate
check.

see also https://github.com/rsyslog/rsyslog/issues/3550
2019-04-05 09:00:32 +02:00
f8950c1548 openssl nsd driver: Enhanced error output for SSL_ERROR_SYSCALL 2019-04-04 16:05:25 +02:00
Rainer Gerhards
7386336340
Revert "WiP: rsyslog doesn't respond to TLS close_notify " 2019-04-04 15:59:07 +02:00
Philippe Duveau
969c337ac0 Create contrib pmdb2diag + alignment for clang + test 2019-04-04 04:12:36 +02:00
Rainer Gerhards
393ce8a5a1
maintain ChangeLog 2019-04-03 16:06:28 +02:00
Rainer Gerhards
11b386eee4
Merge pull request #3535 from Arnix/issue-1503
WiP: rsyslog doesn't respond to TLS close_notify
2019-04-03 16:01:44 +02:00
Rainer Gerhards
a78e57b797
Merge pull request #3583 from rgerhards/bump-zookeeper
testbench: bump zookeeper version
2019-04-03 14:06:52 +02:00
Rainer Gerhards
2dec5b3c61
maintain ChangeLog 2019-04-03 12:55:46 +02:00
Rainer Gerhards
f4ed61e9ce
Merge pull request #3539 from richm/mmkubernetes-cache-expiration
mmkubernetes - support for metadata cache expiration
2019-04-03 12:52:57 +02:00
Rainer Gerhards
3ccc8fc322
testbench: bump zookeeper version
The version used so far is no longer available.
2019-04-02 14:59:48 +02:00
Rainer Gerhards
9a4b724623
maintain ChangeLog 2019-04-02 11:23:24 +02:00
Rainer Gerhards
cf29d39c73
Merge branch 'i3570' 2019-04-02 11:22:10 +02:00
Rainer Gerhards
c5bdf20893
maintain ChangeLog 2019-04-02 10:48:03 +02:00