Re: solution time for www/smtp hole

Tony Sanders <>
Message-id: <9308132020.AA19897@austin.BSDI.COM>
To: (Brian Smithson)
Subject: Re: solution time for www/smtp hole 
In-reply-to: Brian Smithson's message of Fri, 13 Aug 93 11:34:33 PDT.
Organization: Berkeley Software Design, Inc.
Date: Fri, 13 Aug 1993 15:20:56 -0500
From: Tony Sanders <>
Status: RO
> 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.