> > ftpd crashes when i pull a long list of files from it. what version
> > and brand is the default ftpd (inetd) installed on the ts7260? has
> > anyone solved this problem? this ftpd crash seems to crash my wget as
> > well. Any one suggest an alternative out there on the net?
Try issuing the "passive" command as soon as you log in.
Not sure if everyone realizes it, but firewalls need to be configured to work
properly with ftp (and vice versa), or problems will occur. In particular,
the ftp session might "hang" indefinitely waiting to establish the data
connection. Some people might interpret this as a "crash". I've never seen
wget "crash", so I suspect this is the case.
Ftp uses 2 socket connections, the 'control connection' and the 'data
connection'. When you first connect to the server you establish a TCP/IP socket
connection between your computer and the server. As long as the firewall allows
you to establish an outgoing connection to the server (and most do), this works
fine, and you can log in. The problem comes in if you try to do a transfer, or
a long list, and it needs to establish a data connection which may be blocked by
the firewall.
FTP comes in two flavors of transfer modes, active and passive. With active
ftp, the remote server connects back to your client for the data connection. If
your firewall blocks this incoming connection, it won't work. With passive
transfer, the server says "OK, you can connect to me again on this other port",
and so you establish both connection outgoing, and none incoming.
Then NAT comes into play... you can't use 192.168.x.x addresses across the open
internet. The clients and servers need to be fudged to use the public
addresses. They don't know what it is, so you need to tell them.
Excuse my rambling, but hopefully that gives you some ideas.
Joe
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|