mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-20 10:50:41 +01:00
21 lines
662 B
Plaintext
21 lines
662 B
Plaintext
# see tcpsndrcv.sh for details
|
|
# this is the TLS client
|
|
# rgerhards, 2009-11-11
|
|
$IncludeConfig diag-common2.conf
|
|
|
|
# certificates
|
|
$DefaultNetstreamDriverCAFile testsuites/x.509/ca.pem
|
|
$DefaultNetstreamDriverCertFile testsuites/x.509/client-cert.pem
|
|
$DefaultNetstreamDriverKeyFile testsuites/x.509/client-key.pem
|
|
|
|
# Note: no TLS for the listener, this is for tcpflood!
|
|
$ModLoad ../plugins/imtcp/.libs/imtcp
|
|
$InputTCPServerRun 13514
|
|
|
|
# set up the action
|
|
$DefaultNetstreamDriver gtls # use gtls netstream driver
|
|
$ActionSendStreamDriverMode 1 # require TLS for the connection
|
|
$ActionSendStreamDriverAuthMode anon
|
|
$ActionSendTCPRebindInterval 50
|
|
*.* @@127.0.0.1:13515
|