7 Commits

Author SHA1 Message Date
d6c1b7fe65 ossl driver: Fixed authentication mode anon
Authmode and peer settings were set afer new TLS Session initialized.
This caused all sessions to be handeled with certvalid mode instead
of the configired authmode.

Changed verify_callback to only log certificate errors into debug
log now when anon authmode is configured.

Fixed sndrcv ossl tests by using mixed certificates now.

closes: https://github.com/rsyslog/rsyslog/issues/3037
2018-12-20 03:19:25 -08:00
Rainer Gerhards
089971d499
testbench: debug instrument sndrcv_tls_ossl_anon_rebind
trying to get insight into occasional failure

see also https://github.com/rsyslog/rsyslog/issues/3256
2018-11-08 09:53:39 +01:00
Rainer Gerhards
69ef6e329b fix bad bash coding style and disable shellcheck false positives
Also now permit interactivly running tests without explicitly setting
$srcdir. This now works if we are inside ./tests and fails, as before,
when we are in a different directory.

Detected by shellcheck via CodeFactor.io
2018-10-23 13:27:37 +02:00
Rainer Gerhards
566788ecac * remove unnecessary calls to "wait_startup"
This is automatically called by "startup" and "startup_vg". Tests
  looked like a left-over from old testbench plumbing.
2018-09-04 10:50:57 +02:00
Rainer Gerhards
20696a754b
testbench: streamline plumbing
no functional changes, but modernization and cleanup
2018-09-01 13:18:50 +02:00
friedl
493ed7af8f Test Refactor part 9 - DONOTMERGE (#2928)
* Testbench refactoring part 9
2018-08-15 17:20:11 +02:00
2f30c4270a add openssl TLS driver (#2761)
add openssl TLS driver

Also fixes some nits in existing testbench tests (e.g. expired test certs) and extend tcpflood to support openssl as well.

closes: https://github.com/rsyslog/rsyslog/issues/1390
closes: https://github.com/rsyslog/rsyslog/issues/1840
closes: https://github.com/rsyslog/rsyslog/issues/1352
closes: https://github.com/rsyslog/rsyslog/issues/1702
closes: https://github.com/rsyslog/rsyslog/issues/2547
2018-06-13 13:20:23 +02:00