[DGD]FTP server
Gregory D Lewis
glewis at maths.adelaide.edu.au
Wed Jun 21 08:46:19 CEST 2000
Tavis Elliott wrote:
> After spending several days avoiding it, I finally have tackled an
> attempt at porting an existing FTP daemon from another mud driver to
> DGD. So far I have everything working with the binary port, the only
> problem being that the FTP daemon is written to do callback connections
> for all the data retr/stor functions. There are two reasons why this
> won't work for me. 1) I don't want to take the time right now to
> compile networking socket stuff into the driver. 2) This won't work for
> those behind a firewall. Now I KNOW ftp will work from behind a
> firewall, so is there a way for someone to point me to some docs on how
> to implement this quickly, so I don't have to read the RFC on the
> protocol? Thanks for any help!
Probably not as helpful as you'd like, but some comments nonetheless:
1. The socket callback stuff is to do active mode ftp. This is what most
ftp clients default to (and some are unable to do passive mode).
2. What you're looking for in terms of the firewall is most probably
passive mode ftp. I don't know of any docs on implementing this
other than the RFC and your friendly neighbourhood *BSD or Linux
ftpd code. Hopefully others will.
3. Compiling the networking package into the driver isn't that hard :).
And once you do so you don't have to take up the binary port with
your ftp server. Not only that, I believe passive mode requires that
the server open a second port for the client to connect to to retrieve
the data, so you're going to need the networking package anyway!
HTH.
--
Greg Lewis Applied Maths Department
Email : glewis at maths.adelaide.edu.au University of Adelaide
--
"Not only is this incomprehensible, but the ink is ugly and the paper
is from the wrong kind of tree."
--Profesoor W.
List config page: http://list.imaginary.com/mailman/listinfo/dgd
More information about the DGD
mailing list