mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-20 01:30:42 +01:00
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
23 lines
737 B
Plaintext
23 lines
737 B
Plaintext
# 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 13519
|
|
|
|
$template outfmt,"%msg:F,58:2%\n"
|
|
$template dynfile,"rsyslog.out.log" # trick to use relative path names!
|
|
:msg, contains, "msgnum:" ?dynfile;outfmt
|