<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Mangal;
        panose-1:2 4 5 3 5 2 3 3 2 2;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thank you Bazsi.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Girish<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> syslog-ng-bounces@lists.balabit.hu [mailto:syslog-ng-bounces@lists.balabit.hu]
<b>On Behalf Of </b>Scheidler, Balázs<br>
<b>Sent:</b> Wednesday, March 09, 2016 2:45 AM<br>
<b>To:</b> Syslog-ng users' and developers' mailing list<br>
<b>Subject:</b> Re: [syslog-ng] Syslog over TLS : Protocol is TCP and TLS<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p><br>
On Mar 8, 2016 07:22, &quot;Girish Kumar&quot; &lt;<a href="mailto:girish.kumar@al-enterprise.com">girish.kumar@al-enterprise.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Thanks Bazi.<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; I would like to analyze little more on syslog-ng log files related to TLS. Could you please let me know how to enable debug logs in syslog-ng.<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; I have one more query on ssl option.<br>
&gt;<br>
&gt; There is a &nbsp;TLS options in 3.7.2 , &nbsp;ssl-options() &nbsp;which is used for setting ssl option.&nbsp; Options are no-sslv2, no-sslv3, no-tlsv1, no-tlsv11, no-tlsv12 and by default option is no-sslv2. Hope my understanding is correct. I referred the following link<br>
&gt;<br>
&gt; <a href="https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-latest-guides/en/syslog-ng-ose-guide-admin/html/tlsoptions.html">
https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-latest-guides/en/syslog-ng-ose-guide-admin/html/tlsoptions.html</a><br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; Could you please let me know how to set ssl-option in syslog-ng 3.6. I didn’t find similar option there.&nbsp; Currently my syslog-ng server is 3.6.2 and client is 3.7.2<br>
&gt;<o:p></o:p></p>
<p>In syslog-ng 3.6 nosslv2 was hardwired and couldn't be configured.<o:p></o:p></p>
<p>&gt; &nbsp;<br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt; Girish<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; From: <a href="mailto:syslog-ng-bounces@lists.balabit.hu">syslog-ng-bounces@lists.balabit.hu</a> [mailto:<a href="mailto:syslog-ng-bounces@lists.balabit.hu">syslog-ng-bounces@lists.balabit.hu</a>] On Behalf Of Scheidler, Balázs<br>
&gt; Sent: Monday, March 07, 2016 1:17 PM<br>
&gt; To: Syslog-ng users' and developers' mailing list<br>
&gt; Subject: Re: [syslog-ng] Syslog over TLS : Protocol is TCP and TLS<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; Well, if you open the payload of the initial packages (e.g. after the SYN-SYNACK-ACK handshake), you should see binary stuff instead of plain text log messages.<br>
&gt;<br>
&gt;<br>
&gt; -- <br>
&gt; Bazsi<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; On Mon, Mar 7, 2016 at 7:07 AM, Girish Kumar &lt;<a href="mailto:girish.kumar@al-enterprise.com">girish.kumar@al-enterprise.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi &nbsp;All,<br>
&gt;<br>
&gt; Finally I was able to setup syslog-ng client and server. Communicate over TLS. Thanks for all your help.<br>
&gt;<br>
&gt; In wireshark capture &nbsp;I am seeing all protocol as TCP and not as TLS.&nbsp; Please let me know whether my communication has happened over TLS.<br>
&gt;<br>
&gt; If yes how do I validate that. Can I &nbsp;enable additional logs &nbsp;in &nbsp;syslog-ng ?<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; My tls part of conf file<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; Client<br>
&gt;<br>
&gt; --------<br>
&gt;<br>
&gt; destination d_destination {<br>
&gt;<br>
&gt; &nbsp;&nbsp;&nbsp; syslog(&quot;135.254.163.151&quot; port(6514)<br>
&gt;<br>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; transport(&quot;tls&quot;)<br>
&gt;<br>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tls( ca_dir(&quot;/etc/ca.d&quot;)<br>
&gt;<br>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; key_file(&quot;/etc/cert.d/myCliPrivate.key&quot;)<br>
&gt;<br>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cert_file(&quot;/etc/cert.d/myCliCert.pem&quot;) )<br>
&gt;<br>
&gt; &nbsp;&nbsp;&nbsp; );<br>
&gt;<br>
&gt; };<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; Server<br>
&gt;<br>
&gt; ---------<br>
&gt;<br>
&gt; source d_source {<br>
&gt;<br>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; syslog(ip(&quot;135.254.163.151&quot;) port(6514)<br>
&gt;<br>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; transport(&quot;tls&quot;)<br>
&gt;<br>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tls( key_file(&quot;/etc/syslog-ng/cert.d/mySerPrivate.key&quot;)<br>
&gt;<br>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cert_file(&quot;/etc/syslog-ng/cert.d/mySerCert.pem&quot;)<br>
&gt;<br>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ca_dir(&quot;/etc/syslog-ng/ca.d&quot;))<br>
&gt;<br>
&gt; &nbsp;&nbsp;&nbsp; );<br>
&gt;<br>
&gt; };<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt; Girish<br>
&gt;<br>
&gt;<br>
&gt; ______________________________________________________________________________<br>
&gt; Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
&gt; Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng">
http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
&gt; FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt;<br>
&gt; ______________________________________________________________________________<br>
&gt; Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
&gt; Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng">
http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
&gt; FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
&gt;<br>
&gt;<o:p></o:p></p>
</div>
</body>
</html>