It is slower because it would have to do a DNS lookup for every IP. Sure, it could be cached but its just informational.<span></span><br><br>On Friday, July 26, 2013, <a href="mailto:mkanet@yahoo.com">mkanet@yahoo.com</a>  wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:10pt;font-family:arial,helvetica,sans-serif"><div>The benefit would be the added convenience of seeing meaningful DNS names instead of numeric IPs for those that prefer this.  The added load on stunnel would be trivial for reverse dns lookups on separate process threads.<br>
<span></span></div><div style="font-style:normal;font-size:12.8px;background-color:transparent;font-family:arial,helvetica,sans-serif"><br><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">-----------------</span></div>


<div>What would be the benefit? It would slow stunnel down. </div>

<div class="MsoNormal">On Jul 26, 2013 5:47 PM, "<a href="javascript:_e({}, 'cvml', 'mkanet@yahoo.com');" target="_blank">mkanet@yahoo.com</a>" <<a href="javascript:_e({}, 'cvml', 'mkanet@yahoo.com');" target="_blank">mkanet@yahoo.com</a>> wrote:</div>


<div><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Thanks,
I guess I could do the equivalent with a batch file; but, was really hoping for
buitin support for this in stunnel.  It would be nice to see in the
upcoming 5.00 release as an option.</span></div>

<div><span style="font-size:10.0pt;font-family:"Arial","sans-serif""> </span></div>

<div><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">-----------------</span></div>

<div><span style="font-size:10.0pt;font-family:"Arial","sans-serif""> </span></div>

<div><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Don't
know on windows, but did a little test with a script to get the hostnames.
First did a test using you records, and then used my current stunnel.log</span></div>

<div><span style="font-size:10.0pt;font-family:"Arial","sans-serif""> </span></div>

<div><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">script
stlog.chk</span></div>

<div><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">==================</span></div>

<div><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">grep
-Eo '([0-9]{1,3}\.){3}[0-9]{1,3}' /var/log/stunnel.log | sort | uniq </span></div>

<div><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">>stout</span></div>

<div><span style="font-size:10.0pt;font-family:"Arial","sans-serif""> </span></div>

<div><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">echo
"" >stout2</span></div>

<div><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">for
a in `cat stout` ; do</span></div>

<div><span style="font-size:10.0pt;font-family:"Arial","sans-serif""> 
echo -n $a " ">>stout2;</span></div>

<div><span style="font-size:10.0pt;font-family:"Arial","sans-serif""> 
host $a | awk '{print $5}' >>stout2;</span></div>

<div><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">done</span></div>

<div><span style="font-size:10.0pt;font-family:"Arial","sans-serif""> </span></div>

<div><span style="font-size:10.0pt;font-family:"Arial","sans-serif""> </span></div>

<div><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">The
results of stout2 are</span></div>

<div><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">127.0.0.1 
localhost.</span></div>

<div><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><a value="+17319474108">173.194.74.108</a> 
<a href="http://qe-in-f108.1e100.net/" target="_blank">qe-in-f108.1e100.net</a>.</span></div>

<div><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><a value="+17319474109">173.194.74.109</a> 
<a href="http://qe-in-f109.1e100.net/" target="_blank">qe-in-f109.1e100.net</a>.</span></div>

<div><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">192.168.128.201 
3(NXDOMAIN)</span></div>

<div><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">74.125.25.108 
<a href="http://pa-in-f108.1e100.net/" target="_blank">pa-in-f108.1e100.net</a>.</span></div>

<div><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">74.125.25.109 
<a href="http://pa-in-f109.1e100.net/" target="_blank">pa-in-f109.1e100.net</a>.</span></div>

<div><span style="font-size:10.0pt;font-family:"Arial","sans-serif""> </span></div>

<div><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Probable
would want to add some code to filter out private address. </span></div>

<div><span style="font-size:10.0pt;font-family:"Arial","sans-serif""> </span></div>

<div><span style="font-size:10.0pt;font-family:"Arial","sans-serif""> </span></div>

<div><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Final
step would be to scan original log and add the name on </span></div>

<div><span style="font-size:10.0pt;font-family:"Arial","sans-serif""></span></div><div class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
stunnel-users mailing list<br>
<a href="javascript:_e({}, 'cvml', 'stunnel-users@stunnel.org');" target="_blank">stunnel-users@stunnel.org</a><br>
<a href="https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users" target="_blank">https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users</a></div>

<div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div style="font-family:times new roman,new york,times,serif;font-size:12pt"> </div> </div>  </div></div></blockquote>