All of lore.kernel.org
 help / color / mirror / Atom feed
* FTP problems
@ 2003-02-27 20:23 Del Winiecki
  2003-02-27 21:02 ` Ralf Spenneberg
  0 siblings, 1 reply; 6+ messages in thread
From: Del Winiecki @ 2003-02-27 20:23 UTC (permalink / raw)
  To: netfilter

Hi,
Everything seems to work fine except FTP via NAT.
The interfaces that are not natted handle ftp normally.
When I do ftp from inside where the connection goes thru nat, I get an
instant establisment of connection,syn,ack,syn-ack followed by a 30
second wait...then all works normally from that point. This 30 second
delay is constant with each new ftp connection. I have tried about
everything in the iptables script.
Passive ftp does the same thing.
All the other protocols seem okay including IRC.
I am running RedHat kernel 2.4.18-24.7.x i686, iptables version 1.2.5,
all the latest RedHat updates.

I have loaded:
ip_conntrack
ip_conntrack_ftp
ip_conntrack_irc
ip_table_nat
ip_nat_ftp
ip_nat_irc
ipt_state
ipt_limit
ipt_REJECT
ipt_LOG
ipt_unclean
ipt_mac
iptable_filter
iptable_mangle
iptable_nat

Should the ftp connection show up in /proc/net/ip_conntrack ? It does
NOT show in there.
Is there a problem with the ipt_nat_ftp module?
-Del




^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: FTP problems
@ 2003-02-27 21:26 Robert Allmeroth
  0 siblings, 0 replies; 6+ messages in thread
From: Robert Allmeroth @ 2003-02-27 21:26 UTC (permalink / raw)
  To: netfilter

hello,

I had the same problem.. but it was a DNS problem. Most FTP servers do
a reverse lookup of your IP address and if that fails it takes a while.

Robert

> Everything seems to work fine except FTP via NAT.
> The interfaces that are not natted handle ftp normally.
> When I do ftp from inside where the connection goes thru nat, I get an
> instant establisment of connection,syn,ack,syn-ack followed by a 30
> second wait...then all works normally from that point. This 30 second
> delay is constant with each new ftp connection. I have tried about
> everything in the iptables script.
> Passive ftp does the same thing.
> All the other protocols seem okay including IRC.
> I am running RedHat kernel 2.4.18-24.7.x i686, iptables version 1.2.5,
> all the latest RedHat updates.

> I have loaded:
> ip_conntrack
> ip_conntrack_ftp
> ip_conntrack_irc
> ip_table_nat
> ip_nat_ftp
> ip_nat_irc
> ipt_state
> ipt_limit
> ipt_REJECT
> ipt_LOG
> ipt_unclean
> ipt_mac
> iptable_filter
> iptable_mangle
> iptable_nat

> Should the ftp connection show up in /proc/net/ip_conntrack ? It does
> NOT show in there.
> Is there a problem with the ipt_nat_ftp module?









^ permalink raw reply	[flat|nested] 6+ messages in thread
* FTP Problems
@ 2005-11-14 20:53 Scott Taylor
  0 siblings, 0 replies; 6+ messages in thread
From: Scott Taylor @ 2005-11-14 20:53 UTC (permalink / raw)
  To: linux-admin


Hello,

I have been using MS FTP from behind my firewall for ages, now all of a
sudden it's not working, even though I am using passive mode.

I have not made any changes to my firewall.

My Linux boxen, behind the firewall, can FTP no problem, only Win2K and
WinXP workstations have stopped working in the last month or so.

At first I thought it was my Debian FTP server, but then I tried other FTP
servers and get the same thing.

Login works, but not ls, or any file transfers.

230 User lo logged in.
ftp> ls
500 Illegal PORT command
425 Unable to build data connection: Connection refused

If I turn Passive mode off in the Control Panel -> Internet Options, then
I can't even log in.

Any idea what is going on?

Thanks.

--
Scott

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-11-14 20:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <o9un240gfbb.fsf@yeenoghu.cs.uchicago.edu>
1999-01-04  0:31 ` FTP Problems Hollis R Blanchard
1999-01-04  8:14   ` Martin Costabel
2003-02-27 20:23 FTP problems Del Winiecki
2003-02-27 21:02 ` Ralf Spenneberg
  -- strict thread matches above, loose matches on Subject: below --
2003-02-27 21:26 Robert Allmeroth
2005-11-14 20:53 FTP Problems Scott Taylor

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.