diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-11 14:12:09 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-11 14:12:09 +0100 |
commit | 22bf4fc83274df41f9d490f522718f248e35c1f5 (patch) | |
tree | 84d47bf9e689a808012c0402501664d1f9da4ce1 /tests/testsuites/sndrcv_tls_anon_rcvr.conf | |
parent | a9cf6e0e92184bc26e5d967f23b8803091b69e6a (diff) | |
download | rsyslog-22bf4fc83274df41f9d490f522718f248e35c1f5.tar.gz rsyslog-22bf4fc83274df41f9d490f522718f248e35c1f5.tar.xz rsyslog-22bf4fc83274df41f9d490f522718f248e35c1f5.zip |
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.
Diffstat (limited to 'tests/testsuites/sndrcv_tls_anon_rcvr.conf')
-rw-r--r-- | tests/testsuites/sndrcv_tls_anon_rcvr.conf | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/testsuites/sndrcv_tls_anon_rcvr.conf b/tests/testsuites/sndrcv_tls_anon_rcvr.conf new file mode 100644 index 00000000..01143b22 --- /dev/null +++ b/tests/testsuites/sndrcv_tls_anon_rcvr.conf @@ -0,0 +1,22 @@ +# see equally-named shell file for details +# this is the config fil for the TLS server +# rgerhards, 2009-11-11 +$IncludeConfig diag-common.conf + +$ModLoad ../plugins/imtcp/.libs/imtcp + +# certificates +$DefaultNetstreamDriverCAFile testsuites/x.509/ca.pem +$DefaultNetstreamDriverCertFile testsuites/x.509/client-cert.pem +$DefaultNetstreamDriverKeyFile testsuites/x.509/client-key.pem + +$DefaultNetstreamDriver gtls # use gtls netstream driver + +# then SENDER sends to this port (not tcpflood!) +$InputTCPServerStreamDriverMode 1 +$InputTCPServerStreamDriverAuthMode anon +$InputTCPServerRun 13515 + +$template outfmt,"%msg:F,58:2%\n" +$template dynfile,"rsyslog.out.log" # trick to use relative path names! +:msg, contains, "msgnum:" ?dynfile;outfmt |