<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hi all, <br>
I have follow the <a
href="https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-latest-guides/en/syslog-ng-tutorial-mutual-auth-tls/html/create-ca.html">link</a>
for providing mutual authentication. I have create CA on a server
and certificates for the server and client. On the server site
have put:<br>
===========================================<br>
source s_sys {<br>
system();<br>
#unix-stream("/dev/log");<br>
internal();<br>
network(<br>
port(6514)<br>
# tcp(port(5140));<br>
# file("/proc/kmsg" log_prefix("kernel: "));<br>
transport("tls")<br>
tls( key_file("/etc/syslog-ng/cert.d/serverkey.pem")<br>
cert_file("/etc/syslog-ng/cert.d/servercert.pem")<br>
ca_dir("/etc/syslog-ng/ca.d"))<br>
);<br>
};<br>
i have define d_mysql etc. <br>
<br>
log { source(s_sys); destination(d_mysql); };<br>
=============================================================<br>
on the client site i have:<br>
destination tls_destination {<br>
network("x.x.x.x" port(6514));<br>
transport("tls")<br>
tls( ca_dir("/etc/syslog-ng/ca.d")<br>
key_file("/etc/syslog-ng/cert.d/clientkey.pem")<br>
cert_file("/etc/syslog-ng/cert.d/clientcert.pem") )<br>
};<br>
log { source(s_sys); destination(tls_destination); };<br>
==================================================================<br>
And when i restart the syslog-ng on a client site i have the
following error:<br>
<br>
/etc/init.d/syslog-ng restart<br>
Stopping syslog-ng:
[FAILED]<br>
Error parsing destination, destination plugin network not found in
/etc/syslog-ng/syslog-ng.conf at line 45, column 5:<br>
<br>
network("x.x.x.x" port(6514));<br>
^^^^^^^<br>
<br>
syslog-ng documentation:
<a class="moz-txt-link-freetext" href="http://www.balabit.com/support/documentation/?product=syslog-ng">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
mailing list: <a class="moz-txt-link-freetext" href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
<br>
syslog-ng --version<br>
syslog-ng 3.2.5<br>
Installer-Version: 3.2.5<br>
Revision:
<a class="moz-txt-link-abbreviated" href="mailto:ssh+git://bazsi@git.balabit//var/scm/git/syslog-ng/syslog-ng-ose--mainline--3.2#master#9d4bea28198bd731df1a61e980a2af5b88d81116">ssh+git://bazsi@git.balabit//var/scm/git/syslog-ng/syslog-ng-ose--mainline--3.2#master#9d4bea28198bd731df1a61e980a2af5b88d81116</a><br>
Compile-Date: Jul 25 2014 15:20:50<br>
Enable-Threads: on<br>
Enable-Debug: off<br>
Enable-GProf: off<br>
Enable-Memtrace: off<br>
Enable-Sun-STREAMS: off<br>
Enable-IPv6: on<br>
Enable-Spoof-Source: on<br>
Enable-TCP-Wrapper: on<br>
Enable-SSL: off<br>
Enable-SQL: on<br>
Enable-Linux-Caps: off<br>
Enable-Pcre: on<br>
Enable-Pacct: off<br>
<br>
So can someone tell me what i'm doing wrong ?<br>
<br>
Kind regards<br>
Ivan<br>
</font>
</body>
</html>