From: Mistick Levi <gmistick@gmail.com>
To: netfilter@vger.kernel.org
Subject: Fwd: iptable how many rule can manage iptable
Date: Wed, 12 May 2010 23:19:22 +0300 [thread overview]
Message-ID: <AANLkTilxVDgX_tv6ggVxisuSNXI2FSYnwgxFumtkBLK0@mail.gmail.com> (raw)
In-Reply-To: <AANLkTil4jAxQ-JvggsqWtLmAaasn9gb-CAsY-Pim1dXF@mail.gmail.com>
---------- Forwarded message ----------
From: Mistick Levi <gmistick@gmail.com>
Date: 2010/5/12
Subject: Re: iptable how many rule can manage iptable
To: Mamadou Touré <e2ia.ci@gmail.com>
Cc: netfilter@vger.kernel.org
Hi,
You could use the hosts files (/etc/hosts.deny .. hosts.allow ) in
order to do so,
Im not sure what will be a greater performance penalty, setting a tons
of rules or the hosts file,
because after you edit the hosts file , every query of dns will go
through this long list before going out to the dns server....
put it to the test?
2010/5/12 Jan Engelhardt <jengelh@medozas.de>
>
> On Wednesday 2010-05-12 20:05, Mamadou Touré wrote:
>
> >Hi thank you for your reply.
> >how could i evaluate the quantity of memories.
> >for example of 1 000 000 rules what quantity should i have a least.
>
> If you use `iptables -vvS`, you see:
>
> libiptc vlibxtables.so.4. 5332 bytes.
>
> Which is the size of the current table. Multiply that by NR_CPUS
> (from /proc/config) to get what it's taking up (we're on to reducing
> that).
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2010-05-12 20:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-12 17:09 iptable how many rule can manage iptable Mamadou Touré
2010-05-12 17:39 ` Jan Engelhardt
2010-05-12 18:05 ` Mamadou Touré
2010-05-12 19:23 ` Jan Engelhardt
[not found] ` <AANLkTil4jAxQ-JvggsqWtLmAaasn9gb-CAsY-Pim1dXF@mail.gmail.com>
2010-05-12 20:19 ` Mistick Levi [this message]
2010-05-12 18:09 ` Marek Kierdelewicz
2010-05-12 20:47 ` Mart Frauenlob
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=AANLkTilxVDgX_tv6ggVxisuSNXI2FSYnwgxFumtkBLK0@mail.gmail.com \
--to=gmistick@gmail.com \
--cc=netfilter@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).