AFAIR the ftp protocol has problems with NAT. i had a similar problem
with a LAN i administered. the routing machine itself could access ftp
clients but any of the internal machines couldn't. i recompied my kernel
with Networking Options->Netfilter Configuration->Ftp Protocol Support
and everything worked fine then. I've also heard that passive ftp can
get around this but i havent tested it.
Regards
ivan kelly
On Fri, Oct 26, 2001 at 07:10:23PM +0100, Niall O Broin wrote:
> A colleague of mine recently upgraded his internet access from ISDN to ADSL
> and has encountered a strange FTP problem. It seems most likely that the
> problem is related to the 3Com ADSL router which also does NAT for his
> network but as the problem is only on one server (so far) I'm hoping I can
> resolve it on the server side.
>> The problem is that when he connects to the server and gets data (e.g. does
> an ls) the client hangs. We've been in touch with the author of wu-ftpd and
> he suggested that recompiling wu-ftpd and giving the --enable_bad_clients to
> configure might work because some clients incorrectly don't wait for a close
> from the remote end. Tried that, didn't work :-(
>> The curious thing is that it's only on this one server which is running
> RH6.2. If I take a copy of the ftpd binary (a slightly earlier version of
> wu-ftpd) which is running on another server (RH5.3) the problem still exists.
>> As I write this it occurs to me that this might be kernel related, the two
> mentioned boxes having different kernel versions, (the working one has 2.2.6
> and the non working 2.2.14), but as these boxes are colo'ed in the US kernel
> upgrades are a tad tricky. Two kernel monte would help, but I'd have to
> compile a kernel with TKM support - anyone see the problem here :-) ?
>>> Suggestions welcome - very welcome, even.
>>>>> Regards,
>>> Niall
>> P.S. One good suggestion is obviously to use scp which I am trying to
> persuade him to do. Mind you, he's a Mac user and I'm sure he'll miss his
> cute Macintosh GUI FTP client.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!