<div dir="ltr">Igor,<div><br></div><div>Are those the only errors you're seeing?  When that starts to happen for me, it's on systems where I've run out of file descriptors and the getprotobyname code wants to read /etc/services and can't.  Or you could be hitting some kind of bug in your libc's getprotobyname under pressure.  Or I could've screwed something up :)  I don't *think* you're actually going through libuinet to do getprotobyname, though, unless you've made local changes.  Are you at all comfortable with truss or something like?  (Which OS are you on?)  It'd be good to see exactly what is failing and why.</div>


<div><br></div><div>Thanks,</div><div>Juli.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 10, 2014 at 9:14 AM, Igor Ivanov <span dir="ltr"><<a href="mailto:iivanovforever@gmail.com" target="_blank">iivanovforever@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear all,<div><br></div><div>After running WANProxy (0.8.0) for some time I started to notice following errors on the server side:</div>


<div><br></div><div><font color="#000000"><span style="font-family:'Open Sans',sans-serif;font-size:13px;line-height:19.5px">1403673349.946080 /socket ERR: static Socket* Socket::create(Socket Address Family, Socket Type, const std::string&, const std::string&): Invalid protocol: tcp </span><br style="font-family:'Open Sans',sans-serif;font-size:13px;line-height:19.5px">



<span style="font-family:'Open Sans',sans-serif;font-size:13px;line-height:19.5px">1403673349.946171 /wanproxy/proxy/proxy0/connector INFO: Connect failed: <Error>/0 Success </span><br></font></div><div><span style="font-family:'Open Sans',sans-serif;font-size:13px;line-height:19.5px"><font color="#000000"><br>



</font></span></div><div>Once they appear, it seems I can't use the solution anymore and need to restart it.</div><div><br></div><div>Looking at libuinet code (where the error comes from) it seems the "getprotobyname" API fails, however, my /etc/protocols file looks good and does have a valid entry for "tcp" protocol.</div>



<div><br></div><div>Any thoughts?</div><div><br></div><div>Thanks,</div><div>Igor</div></div>
<br>_______________________________________________<br>
wanproxy mailing list<br>
<a href="mailto:wanproxy@lists.wanproxy.org" target="_blank">wanproxy@lists.wanproxy.org</a><br>
<a href="http://lists.wanproxy.org/listinfo.cgi/wanproxy-wanproxy.org" target="_blank">http://lists.wanproxy.org/listinfo.cgi/wanproxy-wanproxy.org</a><br>
<br></blockquote></div><br></div></div>