Re: solution time for www/smtp hole
Tony Sanders (sanders@bsdi.com)
Fri, 13 Aug 1993 15:20:56 -0500
> Alternatively, you could look for _any_ returned string upon initial connection
> and use that to decide that it isn't a gopher server, because gopher servers
> connect silently. This would at least rule out ftp, smtp, telnet, nntp, and
> all other services which announce their presence upon initial connection.
> Are there any other recognized services which do _not_ announce themselves?
You can't look for returned strings because that's non-deterministic
and doesn't solve the problem (as it's based on a timeout).
If gopher doesn't need newlines then it seems to me the best solution
is to just truncate the URL at the first newline.
--sanders