Linux Netfilter discussions
 help / color / mirror / Atom feed
* slow ftp
@ 2005-02-17 16:48 Askar
       [not found] ` <030e01c51511$cf9c6e10$b000a8c0@cybergeneration.com>
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Askar @ 2005-02-17 16:48 UTC (permalink / raw)
  To: netfilter@lists.netfilter.org

hi list

we are running ftp "proftpd" server it takes times when a user
connects to ftp server however when I flush the iptables rules
connection doesn't takes time, iptables firewall on the same machine,
default policies are DROP,
firewall script is very straight forward

rules
.
.
# Using Connection State to By-pass Rule Checking
iptables -A INPUT  -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
.
.
.iptables -A INPUT -p tcp --dport 20:21 -m state --state NEW -j ACCEPT
.
.

# Load the FTP connection state helper module.
modprobe ip_conntrack_ftp
# Load the FTP NAT module.
modprobe ip_nat_ftp

any idea?

regards

-- 
I love deadlines. I like the whooshing sound they make as they fly by.
Douglas Adams


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

end of thread, other threads:[~2005-02-18  4:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-17 16:48 slow ftp Askar
     [not found] ` <030e01c51511$cf9c6e10$b000a8c0@cybergeneration.com>
2005-02-17 17:11   ` Askar
2005-02-17 17:15 ` Jason Opperisano
2005-02-17 17:51 ` R. DuFresne
2005-02-18  4:51   ` Askar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox