<div dir="ltr"><div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>I would like to run a syslog-ng server that accepts TLS connections.</div><div>I want to identify clients based on the server name they use to connect and do specific processing for each client.</div><div>I see the following macros being available to be used in filter, but I don't see .<a href="http://TLS.SN">TLS.SN</a> (or something like that to indicate server name used by client to connect)</div><div><br></div><div><h6 name="macro-tls-x509" style="box-sizing:border-box;line-height:1.1;margin:4px 0px;font-size:12px;font-family:Arial,sans-serif;padding-left:0px">.TLS.X509</h6><a name="kanchor977" style="box-sizing:border-box;padding-top:7px;padding-bottom:7px;background-color:transparent;font-family:"Open Sans","Segoe UI","Helvetica Neue","MS P Gothic","Meiryo UI","Meiryo UI Reg","\0030e1\0030a4\0030ea\0030aa  Reg","MS UI Gothic Reg","Hiragino Kaku Gothic Reg","\0030d2\0030e9\0030ae\0030ce\0089d2\0030b4  Pro W3 Reg","Microsoft YaHei",微软雅黑,"Hiragino Sans GB","Microsoft JhengHei",微軟正黑體,"Malgun Gothic",Gulim,Tahoma,"Arial Unicode",sans-serif;font-size:13px"></a><a name="kanchor978" style="box-sizing:border-box;padding-top:7px;padding-bottom:7px;background-color:transparent;font-family:"Open Sans","Segoe UI","Helvetica Neue","MS P Gothic","Meiryo UI","Meiryo UI Reg","\0030e1\0030a4\0030ea\0030aa  Reg","MS UI Gothic Reg","Hiragino Kaku Gothic Reg","\0030d2\0030e9\0030ae\0030ce\0089d2\0030b4  Pro W3 Reg","Microsoft YaHei",微软雅黑,"Hiragino Sans GB","Microsoft JhengHei",微軟正黑體,"Malgun Gothic",Gulim,Tahoma,"Arial Unicode",sans-serif;font-size:13px"></a><a name="kanchor979" style="box-sizing:border-box;padding-top:7px;padding-bottom:7px;background-color:transparent;font-family:"Open Sans","Segoe UI","Helvetica Neue","MS P Gothic","Meiryo UI","Meiryo UI Reg","\0030e1\0030a4\0030ea\0030aa  Reg","MS UI Gothic Reg","Hiragino Kaku Gothic Reg","\0030d2\0030e9\0030ae\0030ce\0089d2\0030b4  Pro W3 Reg","Microsoft YaHei",微软雅黑,"Hiragino Sans GB","Microsoft JhengHei",微軟正黑體,"Malgun Gothic",Gulim,Tahoma,"Arial Unicode",sans-serif;font-size:13px"></a><a name="kanchor980" style="box-sizing:border-box;padding-top:7px;padding-bottom:7px;background-color:transparent;font-family:"Open Sans","Segoe UI","Helvetica Neue","MS P Gothic","Meiryo UI","Meiryo UI Reg","\0030e1\0030a4\0030ea\0030aa  Reg","MS UI Gothic Reg","Hiragino Kaku Gothic Reg","\0030d2\0030e9\0030ae\0030ce\0089d2\0030b4  Pro W3 Reg","Microsoft YaHei",微软雅黑,"Hiragino Sans GB","Microsoft JhengHei",微軟正黑體,"Malgun Gothic",Gulim,Tahoma,"Arial Unicode",sans-serif;font-size:13px"></a><a name="kanchor981" style="box-sizing:border-box;padding-top:7px;padding-bottom:7px;background-color:transparent;font-family:"Open Sans","Segoe UI","Helvetica Neue","MS P Gothic","Meiryo UI","Meiryo UI Reg","\0030e1\0030a4\0030ea\0030aa  Reg","MS UI Gothic Reg","Hiragino Kaku Gothic Reg","\0030d2\0030e9\0030ae\0030ce\0089d2\0030b4  Pro W3 Reg","Microsoft YaHei",微软雅黑,"Hiragino Sans GB","Microsoft JhengHei",微軟正黑體,"Malgun Gothic",Gulim,Tahoma,"Arial Unicode",sans-serif;font-size:13px"></a><a name="kanchor982" style="box-sizing:border-box;padding-top:7px;padding-bottom:7px;background-color:transparent;font-family:"Open Sans","Segoe UI","Helvetica Neue","MS P Gothic","Meiryo UI","Meiryo UI Reg","\0030e1\0030a4\0030ea\0030aa  Reg","MS UI Gothic Reg","Hiragino Kaku Gothic Reg","\0030d2\0030e9\0030ae\0030ce\0089d2\0030b4  Pro W3 Reg","Microsoft YaHei",微软雅黑,"Hiragino Sans GB","Microsoft JhengHei",微軟正黑體,"Malgun Gothic",Gulim,Tahoma,"Arial Unicode",sans-serif;font-size:13px"></a><span style="font-family:"Open Sans","Segoe UI","Helvetica Neue","MS P Gothic","Meiryo UI","Meiryo UI Reg","\0030e1\0030a4\0030ea\0030aa  Reg","MS UI Gothic Reg","Hiragino Kaku Gothic Reg","\0030d2\0030e9\0030ae\0030ce\0089d2\0030b4  Pro W3 Reg","Microsoft YaHei",微软雅黑,"Hiragino Sans GB","Microsoft JhengHei",微軟正黑體,"Malgun Gothic",Gulim,Tahoma,"Arial Unicode",sans-serif;font-size:13px"></span><p style="box-sizing:border-box;margin:6px 0px;line-height:18px;font-family:"Open Sans","Segoe UI","Helvetica Neue","MS P Gothic","Meiryo UI","Meiryo UI Reg","\0030e1\0030a4\0030ea\0030aa  Reg","MS UI Gothic Reg","Hiragino Kaku Gothic Reg","\0030d2\0030e9\0030ae\0030ce\0089d2\0030b4  Pro W3 Reg","Microsoft YaHei",微软雅黑,"Hiragino Sans GB","Microsoft JhengHei",微軟正黑體,"Malgun Gothic",Gulim,Tahoma,"Arial Unicode",sans-serif;font-size:13px"><i style="box-sizing:border-box">Description:</i> When using a transport that uses TLS, these macros contain information about the peer's certificate. That way, you can use information from the client certificate in filenames, database values, or as other metadata. If you clients have their own certificates, then these values are unique per client, but unchangeable by the client. The following macros are available in syslog-ng OSE version <span style="box-sizing:border-box">3.9</span> and later.</p><ul style="box-sizing:border-box;margin:12px 0px 12px 30px;list-style:none;font-family:"Open Sans","Segoe UI","Helvetica Neue","MS P Gothic","Meiryo UI","Meiryo UI Reg","\0030e1\0030a4\0030ea\0030aa  Reg","MS UI Gothic Reg","Hiragino Kaku Gothic Reg","\0030d2\0030e9\0030ae\0030ce\0089d2\0030b4  Pro W3 Reg","Microsoft YaHei",微软雅黑,"Hiragino Sans GB","Microsoft JhengHei",微軟正黑體,"Malgun Gothic",Gulim,Tahoma,"Arial Unicode",sans-serif;font-size:13px"><li value="1" style="box-sizing:border-box;margin:3px;list-style-type:disc"><p style="box-sizing:border-box;margin:6px 0px;line-height:18px"><span class="gmail-Code" style="box-sizing:border-box;font-family:"Courier New",Courier;background-color:rgb(255,255,246)">.TLS.X509_CN</span>: The Common Name of the certificate.</p></li><li value="2" style="box-sizing:border-box;margin:3px;list-style-type:disc"><p style="box-sizing:border-box;margin:6px 0px;line-height:18px"><span class="gmail-Code" style="box-sizing:border-box;font-family:"Courier New",Courier;background-color:rgb(255,255,246)">.TLS.X509_O</span>: The value of the Organization field.</p></li><li value="3" style="box-sizing:border-box;margin:3px;list-style-type:disc"><p style="box-sizing:border-box;margin:6px 0px;line-height:18px"><span class="gmail-Code" style="box-sizing:border-box;font-family:"Courier New",Courier;background-color:rgb(255,255,246)">.TLS.X509_OU</span>: The value of the Organization Unit field.</p></li></ul></div><div><div style="color:rgb(0,0,0);font-family:-webkit-standard">Thanks</div><div style="color:rgb(0,0,0);font-family:-webkit-standard">Raghu</div></div><div><br></div></div></div></div>