summaryrefslogtreecommitdiffstats
path: root/tests/testsuites/sndrcv_tls_anon_rcvr.conf
blob: 01143b22e1382303ed014f322b67827dd16438c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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