[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Dumpucko!
Output from the beginning of a ftp session:
---------------------
Connected to gromit.it.su.se.
220 gromit.it.su.se FTP server (Version 6.00+heimdal-0.3b+krb4-1.0.2) ready.
Trying GSSAPI...
Authentication successful.
Name (gromit.it.su.se:root): rnyberg
S:232-
S:232-Red Hat Linux release 6.2 (Zoot)
S:232-Kernel 2.2.14-5.0 on an i686
S:232 User rnyberg logged in.
S:230 Dumpucko!
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
-------------------
Thus, after having logged in to my ftp server I noticed that one line of the
server output read "S:230 Dumpucko!", which I found rather peculiar. It's
not very often I get insulted by a ftp server.
Both the server and the client are from the 0.3b distribution.
Greping through the source soon gave me a likely suspect:
In the void pass(char *) function in ftpd.c:
/* some clients insists on sending a password */
if (logged_in && askpasswd == 0){
reply(230, "Dumpucko!");
return;
}
Now, changing "Dumpucko!" to something more informative would, IMHO,
be A Good Thing(tm). I am also curious as to why the heimdal ftp client
is one of those that insists on sending a password (and which password it
sends since it didn't ask me for one).
By the way, is anything happening with rcp - I sent some source to Assar, but
haven't heard anything since. rcp would be very nice :)
/Richard Nyberg