<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Apr 24, 2021 at 2:37 AM Rob Landley <<a href="mailto:rob@landley.net">rob@landley.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 4/22/21 9:00 PM, enh via Toybox wrote:<br>
> After a network outage, a long-running telnetd was spinning trying to<br>
> read from a socket that was in TIME_WAIT. It's easy to reproduce this by<br>
> using the regular telnet client and typing ^]^D to exit abruptly.<br>
<br>
Doesn't apply without the previous one. I'll apply the whole stack on the theory<br>
it's in pending so I don't have a strong attachment to what's there, and you've<br>
just put a lot more effort into understanding it than I have so far.<br>
<br>
But I don't think telnet should depend on having access to a DNS server<br>
describing any of the machines involved...<br></blockquote><div><br></div><div>this is telnet*d*, not telnet. but, yeah, it's unclear to me whether -- despite the fact that the login argument is called "hostname" -- we're really supposed to supply the name or just the address[1]. that said, BSD telnetd even has an option to disallow connections from addresses it can't do a reverse lookup on (<a href="https://www.freebsd.org/cgi/man.cgi?query=telnetd&sektion=8">https://www.freebsd.org/cgi/man.cgi?query=telnetd&sektion=8</a>).</div><div><br></div><div>they were different times :-)</div><div> </div><div>____</div><div>1. the present code will supply the address rather than the name anyway, in the case that there's no DNS entry. so unless your objection is "shouldn't even _try_ DNS", i don't think this makes any practical difference.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Rob<br>
_______________________________________________<br>
Toybox mailing list<br>
<a href="mailto:Toybox@lists.landley.net" target="_blank">Toybox@lists.landley.net</a><br>
<a href="http://lists.landley.net/listinfo.cgi/toybox-landley.net" rel="noreferrer" target="_blank">http://lists.landley.net/listinfo.cgi/toybox-landley.net</a><br>
</blockquote></div></div>