All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ben" <nigma@nigma.info>
To: netfilter@lists.netfilter.org
Subject: extreme rDNS lag with iptables
Date: Tue, 4 Nov 2003 15:27:04 -0500	[thread overview]
Message-ID: <E1AH7km-00008y-AB@aphex.cyberpixels.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1990 bytes --]

Hello,

 

I'm new to this list, so forgive me is I seem newbish :-)

 

The problem I am having that when I turn on iptables, I see rDNS lag to
about 30 seconds.  I see this happen with two programs I am using, proftpd
and uwimap.  Both work fine with flush tables, but when I run the following

 

IPTABLES="/sbin/iptables"

 

#Flush everything, start from scratch

$IPTABLES -F

 

#Set default policies to DROP

$IPTABLES -P INPUT DROP

$IPTABLES -P FORWARD DROP

 

#Set default OUTPUT policy to ACCEPT

$IPTABLES -P OUTPUT ACCEPT

 

# Open ports for server/services

$IPTABLES -A INPUT -p tcp --dport 20 -j ACCEPT 

$IPTABLES -A INPUT -p tcp --dport 21 -j ACCEPT 

$IPTABLES -A INPUT -p tcp --dport 22 -j ACCEPT 

$IPTABLES -A INPUT -p tcp --dport 25 -j ACCEPT 

$IPTABLES -A INPUT -p tcp --dport 37 -j ACCEPT 

$IPTABLES -A INPUT -p tcp --dport 43 -j ACCEPT 

$IPTABLES -A INPUT -p tcp --dport 53 -j ACCEPT 

$IPTABLES -A INPUT -p udp --dport 53 -j ACCEPT 

$IPTABLES -A INPUT -p tcp --dport 80 -j ACCEPT 

$IPTABLES -A INPUT -p tcp --dport 110 -j ACCEPT 

$IPTABLES -A INPUT -p tcp --dport 113 -j ACCEPT 

$IPTABLES -A INPUT -p tcp --dport 143 -j ACCEPT 

$IPTABLES -A INPUT -p tcp --dport 443 -j ACCEPT 

$IPTABLES -A INPUT -p tcp --dport 465 -j ACCEPT 

$IPTABLES -A INPUT -p udp --dport 465 -j ACCEPT 

$IPTABLES -A INPUT -p tcp --dport 873 -j ACCEPT 

$IPTABLES -A INPUT -p udp --dport 873 -j ACCEPT 

$IPTABLES -A INPUT -p tcp --dport 993 -j ACCEPT 

$IPTABLES -A INPUT -p tcp --dport 995 -j ACCEPT 

$IPTABLES -A INPUT -p tcp --dport 2082 -j ACCEPT 

$IPTABLES -A INPUT -p tcp --dport 2083 -j ACCEPT 

$IPTABLES -A INPUT -p tcp --dport 2086 -j ACCEPT 

$IPTABLES -A INPUT -p tcp --dport 2087 -j ACCEPT 

$IPTABLES -A INPUT -p tcp --dport 2089 -j ACCEPT

 

I see login request spike from almost instant to upwards of 30 seconds.
This of course causes timeouts with most client software.

 

Has anyone run into this before? Does anyone know how I might go about
fixing it?


[-- Attachment #2: Type: text/html, Size: 9189 bytes --]

             reply	other threads:[~2003-11-04 20:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-04 20:27 Ben [this message]
2003-11-04 20:39 ` extreme rDNS lag with iptables Aldo S. Lagana
2003-11-04 20:47 ` Jörg Schütter
2003-11-05  0:41 ` Sven-Haegar Koch

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=E1AH7km-00008y-AB@aphex.cyberpixels.com \
    --to=nigma@nigma.info \
    --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.