<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:"Calibri","sans-serif";color:#1F497D">Thank you Bazsi.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Girish<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </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:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> 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> </o:p></p>
<p><br>
On Mar 8, 2016 07:22, "Girish Kumar" <<a href="mailto:girish.kumar@al-enterprise.com">girish.kumar@al-enterprise.com</a>> wrote:<br>
><br>
> Thanks Bazi.<br>
><br>
> <br>
><br>
> 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>
><br>
> <br>
><br>
> I have one more query on ssl option.<br>
><br>
> There is a TLS options in 3.7.2 , ssl-options() which is used for setting ssl option. 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>
><br>
> <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>
><br>
> <br>
><br>
> Could you please let me know how to set ssl-option in syslog-ng 3.6. I didn’t find similar option there. Currently my syslog-ng server is 3.6.2 and client is 3.7.2<br>
><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>> <br>
><br>
> Regards,<br>
><br>
> Girish<br>
><br>
> <br>
><br>
> <br>
><br>
> 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>
> Sent: Monday, March 07, 2016 1:17 PM<br>
> To: Syslog-ng users' and developers' mailing list<br>
> Subject: Re: [syslog-ng] Syslog over TLS : Protocol is TCP and TLS<br>
><br>
> <br>
><br>
> 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>
><br>
><br>
> -- <br>
> Bazsi<br>
><br>
> <br>
><br>
> On Mon, Mar 7, 2016 at 7:07 AM, Girish Kumar <<a href="mailto:girish.kumar@al-enterprise.com">girish.kumar@al-enterprise.com</a>> wrote:<br>
><br>
> Hi All,<br>
><br>
> Finally I was able to setup syslog-ng client and server. Communicate over TLS. Thanks for all your help.<br>
><br>
> In wireshark capture I am seeing all protocol as TCP and not as TLS. Please let me know whether my communication has happened over TLS.<br>
><br>
> If yes how do I validate that. Can I enable additional logs in syslog-ng ?<br>
><br>
> <br>
><br>
> <br>
><br>
> My tls part of conf file<br>
><br>
> <br>
><br>
> Client<br>
><br>
> --------<br>
><br>
> destination d_destination {<br>
><br>
> syslog("135.254.163.151" port(6514)<br>
><br>
> transport("tls")<br>
><br>
> tls( ca_dir("/etc/ca.d")<br>
><br>
> key_file("/etc/cert.d/myCliPrivate.key")<br>
><br>
> cert_file("/etc/cert.d/myCliCert.pem") )<br>
><br>
> );<br>
><br>
> };<br>
><br>
> <br>
><br>
> <br>
><br>
> Server<br>
><br>
> ---------<br>
><br>
> source d_source {<br>
><br>
> syslog(ip("135.254.163.151") port(6514)<br>
><br>
> transport("tls")<br>
><br>
> tls( key_file("/etc/syslog-ng/cert.d/mySerPrivate.key")<br>
><br>
> cert_file("/etc/syslog-ng/cert.d/mySerCert.pem")<br>
><br>
> ca_dir("/etc/syslog-ng/ca.d"))<br>
><br>
> );<br>
><br>
> };<br>
><br>
> <br>
><br>
> <br>
><br>
> Regards,<br>
><br>
> Girish<br>
><br>
><br>
> ______________________________________________________________________________<br>
> Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
> Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng">
http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
> FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
><br>
> <br>
><br>
><br>
> ______________________________________________________________________________<br>
> Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
> Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng">
http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
> FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
><br>
><o:p></o:p></p>
</div>
</body>
</html>