[gopher] Strange implementations of "Missing file"
Kim Holviala
kim at holviala.com
Wed May 16 14:24:36 UTC 2012
On May 16, 2012, at 16:33 , Nuno J. Silva wrote:
>> => finger: /robots.txt: no such user
>> gopher://holviala.com:79/0/robots.txt
>
> In the case of Kim's server, from the error message and the port number,
> I guess that's just his finger daemon
Yup, that's just a standard finger server.
For the original poster, here's my code that seems to work ok:
if (buf[0] == '3' && strstr(buf, "\terror.host")) type = TYPE_ERROR;
if (strstr(buf, "Error: ")) type = TYPE_ERROR;
if (strstr(buf, "does not exist")) type = TYPE_ERROR;
if (strstr(buf, "doesn't exist")) type = TYPE_ERROR;
if (strstr(buf, "could not be found")) type = TYPE_ERROR;
if (strstr(buf, "No such file or directory")) type = TYPE_ERROR;
if (strstr(buf, "file not found")) type = TYPE_ERROR;
> but right now I can't see any
> behavior at all (the connection gets closed with no response -- Kim,
> those hits you got right now, that was me, apologies).
Of course you can *cough* finger me *cough cough*. I'm male, btw, hope that didn't ruin your day :-D.
Anyway, my finger service seems to work for me? Telnet to port 79 and type "kim" + enter and you should get a reply back.
- Kim
More information about the Gopher-Project
mailing list