<div dir="ltr">I'm attempting to setup a TCP IPv6 source declaration that uses TLS but syslog-ng is not happy with the configuration file. <div><br></div><div>The following is what I use for IPv4 and it works fine:<div>
<br></div><div><div>source s_tls</div><div>{</div><div> syslog( ip(0.0.0.0) port(6514)</div><div> transport( "tls" )</div><div> tls (</div><div> key_file("/srv/syslog-ng/certs/priv-key.pem")</div>
<div> cert_file("/srv/syslog-ng/certs/id-cert.pem")</div><div> ca_dir("/srv/syslog-ng/certs")</div><div> cipher_suite("SHA256:!aNULL:!eNULL:!ECDH:!DSS")</div><div> )</div><div>
);</div><div>};</div><div><br></div></div><div style>However the following is not valid:</div><div style><br></div><div style>source s_tls6 {<br></div><div style><div> syslog( ip("::") port(6515)</div><div> transport( "tls" )</div>
<div> tls (</div><div> key_file("/srv/syslog-ng/certs/priv-key.pem")</div><div> cert_file("/srv/syslog-ng/certs/id-cert.pem")</div><div> ca_dir("/srv/syslog-ng/certs")</div>
<div> cipher_suite("SHA256:!aNULL:!eNULL:!ECDH:!DSS")</div><div> )</div><div> );</div><div>};</div><div><br></div><div style>I've tried the ip with and without quotes with no luck. What am I doing wrong?</div>
<div style><br></div><div style>Thanks</div><div style>-Jeff</div></div></div></div>