* ip_nat_ftp and TCP retransmission
@ 2006-09-21 7:04 Jukka Laaksola
0 siblings, 0 replies; only message in thread
From: Jukka Laaksola @ 2006-09-21 7:04 UTC (permalink / raw)
To: netfilter
Hi!
We have problems with ftp client behind NAT. Our firewall is Debian
sarge with iptables version 1.2.11-10. ip_nat_ftp module seems to work
usually perfect but sometimes active ftp fails.
In our case there are many PORT-commands in FTP session and those PORT
commands ip and host parameters are changed correctly by ip_nat_ftp
module. But occasionally the ftp client behind the NAT does not get
enough soon response to PORT port command from public ftp server. Then
the client does retransmission on PORT command. ip_nat_ftp does not
change the server ip and port of those retransmissed PORT commands.
Something like that:
----8<----
220 OPNET FTP server OK
USER anonymous
200 Command OK.
PORT x,y,z,162,19,201
200 PORT command successful.
STOR ASIAKAS
150 Opening data connection.
226 Transfer complete.
200 PORT command successful.
RETR AINEISTO
150 Opening data connection.
226 Transfer complete.
PORT x,y,z,162,20,86
200 PORT command successful.
STOR PALVELU
150 Opening data connection.
226 Transfer complete.
PORT x,y,z,162,20,87
200 PORT command successful.
RETR AINEISTO
150 Opening data connection.
226 Transfer complete.
PORT x,y,x,162,20,88
PORT 192,168,1,59,20,88
----8<----
The x,y,z,162 is our public IP and the 192.168.1.59 is IP of the FTP
client. The ftp client is bank software client and there comes
communication failure at those retransmission. The ftp server closes the
connection after retransmission because of the PORT command with private IP.
Is there anything we can try to correct the problem?
Thanks
--
Jukka Laaksola
Netland Oy
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-09-21 7:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-21 7:04 ip_nat_ftp and TCP retransmission Jukka Laaksola
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.