[gopher] Strange implementations of "Missing file"

Damien Carol damien.carol at gmail.com
Wed May 16 14:50:33 UTC 2012


Thanks for the source code, I will try to use something similar.
If your server is a finger service, I will remove this address of the
crawler.

2012/5/16 Kim Holviala <kim at holviala.com>

> 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
>
>
>
> _______________________________________________
> Gopher-Project mailing list
> Gopher-Project at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/gopher-project
>



-- 
Damien CAROL
gopher://dams.zapto.org/1/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/gopher-project/attachments/20120516/f566b2bf/attachment.html>


More information about the Gopher-Project mailing list