From: "Svein E. Seldal" <Svein.Seldal@solidas.com>
To: netfilter@lists.netfilter.org
Subject: FTP/auth problems (slooow links)
Date: Sun, 13 Oct 2002 15:08:21 +0200 [thread overview]
Message-ID: <3DA97045.2040803@solidas.com> (raw)
Hi,
I have read about a couple of previous discussions on the issues of
using iptables together with FTP and acheiving only really *slow*
throughputs. All Q's that I've read concludes that the remedy is to
either passthough auth (ident) packets or to reject it.
I have a linux (2.4.18) running iptables. It is a router and FW, and is
NAT'ing the internal address range (192.168.0.x) to the external range
(1.2.3.x). ip_conntrack, ip_conntrack_ftp and ip_nat_ftp are all loaded
in the router. It is a 266 PII with 128Mb memory.
For any machine that are placed on the inside, there are two methods of
getting to another machine on the inside: either using the direct
internal address 192.168.0.x or by using the external address 1.2.3.x.
The net result is the same, but the latter is routed through the router
(and will always be accepted).
Now, the problem is this: I open two FTP connections from the client
machine 192.168.0.10 to a server, the first to 192.168.0.5 and the other
connection to 1.2.3.5. Again, this is the same machine, only one of them
is going via. the router while the other is not.
The connection going via. the router is slow, very slow. The problem is
that is does not matter if I DROP, REJECT or ACCEPT the auth (ident)
port. It still is as extremely slow -- direct connection takes 20 mins,
while the routed version takes 2-3 hours!!.
My hypothesis could be that the ip_nat_ftp module is causing the
considerable delay, since it must read all FTP data (I'm unsure about
FTP-data though). Another theory could be that the routing memory of the
iptables/kernel is too small. How can I increase it?
Any one else got any ideas? (I've got a lot of angry customers on my
back...)
Thanks,
Svein Seldal
next reply other threads:[~2002-10-13 13:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-13 13:08 Svein E. Seldal [this message]
2002-10-13 16:48 ` FTP/auth problems (slooow links) Alistair Tonner
2002-10-13 20:36 ` Svein E. Seldal
2002-10-14 9:52 ` Nuitari
2002-10-13 23:50 ` Antony Stone
2002-10-14 8:31 ` Connection opening problem (prev: FTP/auth problems (slooow links)) Svein E. Seldal
2002-10-15 21:21 ` Svein E. Seldal
2002-10-15 21:46 ` Antony Stone
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3DA97045.2040803@solidas.com \
--to=svein.seldal@solidas.com \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox