Hi List,

 I've successfully built 4.6.4 with support for TLS and RELP. When I
worked with the imtcp module everything was fine and setting TLS to be
enabled through a snippet like this:


$DefaultNetstreamDriver gtls
$DefaultNetstreamDriverCAFile /root/tls/ca.pem
$DefaultNetstreamDriverCertFile /root/tls/client-cert.pem
$DefaultNetstreamDriverKeyFile /root/tls/client-key.pem
$ModLoad imuxsock
$ModLoad omrelp
$ModLoad imtcp

$ActionSendStreamDriverAuthMode x509/name
$ActionSendStreamDriverPermittedPeer server.example.com
$ActionSendStreamDriverMode 1
*.* @@:omrelp:server.example.com:10514


----

However, when I restart on the client and use logger to send a line
nothing happens, there's also no error reported or anything similar on
the logging output created by rsyslog.

This is the server snippet:

$ModLoad imuxsock
$Modload imtcp
$Modload imrelp
$DefaultNetstreamDriver gtls

$DefaultNetstreamDriverCAFile /root/tls/ca.pem
$DefaultNetstreamDriverCertFile /root/tls/server-cert.pem
$DefaultNetstreamDriverKeyFile /root/tls/server-key.pem

$InputTCPServerStreamDriverAuthMode x509/name
$InputTCPServerStreamDriverPermittedPeer *.example.com
$InputTCPServerStreamDriverMode 1 # run driver in TLS-only mode
$InputRELPServerRun 10514 # start up listener at port 10514
$InputTCPServerRun 10514


I realize that I might have to add the:
RSYSLOG_ForwardFormat to the forward line, but given that I do add it
and it works without TLS, what is the way to enable it to use TLS
together with RELP ?

Any feedback will be highly appreciated!

Thanks,

Sivan
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to