[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [gopher] Strange implementations of "Missing file"



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@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@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/gopher-project



--
Damien CAROL
gopher://dams.zapto.org/1/
_______________________________________________
Gopher-Project mailing list
Gopher-Project@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/gopher-project

Reply to: