From: Joel Newkirk <netfilter@newkirk.us>
To: Jean-Christian Imbeault <jc@mega-bucks.co.jp>,
netfilter@lists.netfilter.org
Subject: Re: iptables -L *very* slow
Date: Mon, 17 Feb 2003 01:25:59 -0500 [thread overview]
Message-ID: <200302170125.59252.netfilter@newkirk.us> (raw)
In-Reply-To: <3E5074CF.90904@mega-bucks.co.jp>
On Monday 17 February 2003 12:36 am, Jean-Christian Imbeault wrote:
> When I try and print out my iptable rules using iptables -L, it takes
> about three minutes for the rules to print out (and there are only 9
> of them).
>
> Why is does this take so long? Is this a bug?
>
> I am using the newest version of iptables with a custom 2.4.20 kernel.
You'll probably have nearly instant listing with "iptables -n -L". My
guess is that it is taking all that time trying to resolve IP's in your
rules to actual hostnames. That lookup process is bypassed with the
"-n" switch, to use numbers instead of names.
The root cause is a little deeper. Either an IP cannot be resolved, or
it is taking an unusually long time to resolve. The latter might be
caused by flawed DNS configuration at your end, or at the DNS for the
machine in question.
j
next prev parent reply other threads:[~2003-02-17 6:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-17 5:36 iptables -L *very* slow Jean-Christian Imbeault
2003-02-17 6:25 ` Joel Newkirk [this message]
2003-02-17 6:30 ` Arnt Karlsen
2003-02-17 7:34 ` Chris Barnes
2003-02-17 7:32 ` Jean-Christian Imbeault
-- strict thread matches above, loose matches on Subject: below --
2003-02-17 6:14 Eugene Joubert
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=200302170125.59252.netfilter@newkirk.us \
--to=netfilter@newkirk.us \
--cc=jc@mega-bucks.co.jp \
--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