All of lore.kernel.org
 help / color / mirror / Atom feed
From: Askar <askarali@gmail.com>
To: "netfilter@lists.netfilter.org" <netfilter@lists.netfilter.org>
Subject: slow ftp
Date: Thu, 17 Feb 2005 21:48:06 +0500	[thread overview]
Message-ID: <a0f69e505021708481c4be836@mail.gmail.com> (raw)

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


             reply	other threads:[~2005-02-17 16:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-17 16:48 Askar [this message]
     [not found] ` <030e01c51511$cf9c6e10$b000a8c0@cybergeneration.com>
2005-02-17 17:11   ` slow ftp Askar
2005-02-17 17:15 ` Jason Opperisano
2005-02-17 17:51 ` R. DuFresne
2005-02-18  4:51   ` Askar

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=a0f69e505021708481c4be836@mail.gmail.com \
    --to=askarali@gmail.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 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.