Thanks for the source code, I will try to use something similar.<br>If your server is a finger service, I will remove this address of the crawler.<br><br><div class="gmail_quote">2012/5/16 Kim Holviala <span dir="ltr"><<a href="mailto:kim@holviala.com" target="_blank">kim@holviala.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On May 16, 2012, at 16:33 , Nuno J. Silva wrote:<br>
<br>
>> => finger: /robots.txt: no such user<br>
>> gopher://<a href="http://holviala.com:79/0/robots.txt" target="_blank">holviala.com:79/0/robots.txt</a><br>
><br>
</div><div class="im">> In the case of Kim's server, from the error message and the port number,<br>
> I guess that's just his finger daemon<br>
<br>
</div>Yup, that's just a standard finger server.<br>
<br>
For the original poster, here's my code that seems to work ok:<br>
<br>
if (buf[0] == '3' && strstr(buf, "\terror.host")) type = TYPE_ERROR;<br>
if (strstr(buf, "Error: ")) type = TYPE_ERROR;<br>
if (strstr(buf, "does not exist")) type = TYPE_ERROR;<br>
if (strstr(buf, "doesn't exist")) type = TYPE_ERROR;<br>
if (strstr(buf, "could not be found")) type = TYPE_ERROR;<br>
if (strstr(buf, "No such file or directory")) type = TYPE_ERROR;<br>
if (strstr(buf, "file not found")) type = TYPE_ERROR;<br>
<div class="im"><br>
> but right now I can't see any<br>
> behavior at all (the connection gets closed with no response -- Kim,<br>
> those hits you got right now, that was me, apologies).<br>
<br>
</div>Of course you can *cough* finger me *cough cough*. I'm male, btw, hope that didn't ruin your day :-D.<br>
<br>
Anyway, my finger service seems to work for me? Telnet to port 79 and type "kim" + enter and you should get a reply back.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
<br>
- Kim<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
_______________________________________________<br>
Gopher-Project mailing list<br>
<a href="mailto:Gopher-Project@lists.alioth.debian.org">Gopher-Project@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/gopher-project" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/gopher-project</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Damien CAROL<br>
<a href="gopher://dams.zapto.org/1/" target="_blank">gopher://dams.zapto.org/1/</a><br>