* iptable how many rule can manage iptable
@ 2010-05-12 17:09 Mamadou Touré
2010-05-12 17:39 ` Jan Engelhardt
2010-05-12 18:09 ` Marek Kierdelewicz
0 siblings, 2 replies; 7+ messages in thread
From: Mamadou Touré @ 2010-05-12 17:09 UTC (permalink / raw)
To: netfilter
Hi, all
i'd like to know how many rule can manage iptable.
I'm asking that because i'd to drop all traffric from my localnet to porn site.
I've a database of porn site witch contain about 900 000 domains.
I know there are solutions like squidguard. But for my linux box i'd
to use iptable to prevent users access to porn site and other
blacklist site.
I waiting for your advices.
regards.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: iptable how many rule can manage iptable
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 18:09 ` Marek Kierdelewicz
1 sibling, 1 reply; 7+ messages in thread
From: Jan Engelhardt @ 2010-05-12 17:39 UTC (permalink / raw)
To: Mamadou Touré; +Cc: netfilter
On Wednesday 2010-05-12 19:09, Mamadou Touré wrote:
>Hi, all
>i'd like to know how many rule can manage iptable.
It depends on the amount of memory you have available at the time of
loading/modifying a table.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: iptable how many rule can manage iptable
2010-05-12 17:39 ` Jan Engelhardt
@ 2010-05-12 18:05 ` Mamadou Touré
2010-05-12 19:23 ` Jan Engelhardt
0 siblings, 1 reply; 7+ messages in thread
From: Mamadou Touré @ 2010-05-12 18:05 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: netfilter
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.
regards
2010/5/12 Jan Engelhardt <jengelh@medozas.de>:
> On Wednesday 2010-05-12 19:09, Mamadou Touré wrote:
>
>>Hi, all
>>i'd like to know how many rule can manage iptable.
>
> It depends on the amount of memory you have available at the time of
> loading/modifying a table.
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: iptable how many rule can manage iptable
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:09 ` Marek Kierdelewicz
2010-05-12 20:47 ` Mart Frauenlob
1 sibling, 1 reply; 7+ messages in thread
From: Marek Kierdelewicz @ 2010-05-12 18:09 UTC (permalink / raw)
To: Mamadou Touré; +Cc: netfilter
>Hi, all
Hi,
>i'd like to know how many rule can manage iptable.
>I'm asking that because i'd to drop all traffric from my localnet to
>porn site. I've a database of porn site witch contain about 900 000
>domains. I know there are solutions like squidguard. But for my linux
>box i'd to use iptable to prevent users access to porn site and other
>blacklist site.
It's not feasible to implement 900 000 long ruleset in iptables
even with ipset extension or with fancy hierarchical chains. The
other problem is that iptables works on ip addresses and your database
is comprised of domains. There can be more then one site on single ip
address. Blocking IPs and not domains could cut access to some legit
sites.
Squid+squidguard is good option. I've heard of some dns based
solutions (domain blacklisting on dnscache level), but I don't know any
actual software.
Best regards,
Marek
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: iptable how many rule can manage iptable
2010-05-12 18:09 ` Marek Kierdelewicz
@ 2010-05-12 20:47 ` Mart Frauenlob
0 siblings, 0 replies; 7+ messages in thread
From: Mart Frauenlob @ 2010-05-12 20:47 UTC (permalink / raw)
To: netfilter; +Cc: e2ia.ci
>> i'd like to know how many rule can manage iptable.
>> I'm asking that because i'd to drop all traffric from my localnet to
>> porn site. I've a database of porn site witch contain about 900 000
>> domains. I know there are solutions like squidguard. But for my linux
>> box i'd to use iptable to prevent users access to porn site and other
>> blacklist site.
>
> It's not feasible to implement 900 000 long ruleset in iptables
> even with ipset extension or with fancy hierarchical chains. The
> other problem is that iptables works on ip addresses and your database
> is comprised of domains. There can be more then one site on single ip
> address. Blocking IPs and not domains could cut access to some legit
> sites.
>
> Squid+squidguard is good option. I've heard of some dns based
> solutions (domain blacklisting on dnscache level), but I don't know any
> actual software.
i.e.
http://www.peereboom.us/adsuck/
adsuck is a small dns server that spoofs blacklisted addresses and
forwards all other queries. The idea is to be able to prevent
connections to undesirable sites such as ad servers, crawlers, etc. It
can be used locally, for the road warrior, or on the network perimeter
in order to protect local machines from malicious sites.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-05-12 20:47 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` Fwd: " Mistick Levi
2010-05-12 18:09 ` Marek Kierdelewicz
2010-05-12 20:47 ` Mart Frauenlob
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).