Linux Netfilter discussions
 help / color / mirror / Atom feed
* RE: big table tweaks ?
@ 2005-09-15 12:09 Baake, Matthias
  2005-09-15 12:21 ` KOVACS Krisztian
  2005-09-15 14:23 ` John A. Sullivan III
  0 siblings, 2 replies; 6+ messages in thread
From: Baake, Matthias @ 2005-09-15 12:09 UTC (permalink / raw)
  To: Jan Eidtmann; +Cc: Netfilter (E-Mail)

hi,

try to split up your input rules into some custom chains that the packets have 
not a really long way to traverse your input chain thats what i would do..

greets
matthias

> -----Original Message-----
> From: netfilter-bounces@lists.netfilter.org
> [mailto:netfilter-bounces@lists.netfilter.org]On Behalf Of 
> Jan Eidtmann
> Sent: Wednesday, September 14, 2005 2:43 PM
> To: netfilter@lists.netfilter.org
> Subject: big table tweaks ?
> 
> 
> hello,
> 
> i have one kind of big table with 80.000+ rules. its referenced in
> INPUT. lookup (when someone wants to connect) is kinda slow and system
> hangs noticable (desktop usage). i tried preemptive and non_preemptive
> kernels, its all the same. so, is there anything i could tweak to make
> this run smooth?
> 
> thx in advance,
> jan
> 
> 
> note: i am not subscribed...
> 
> 


^ permalink raw reply	[flat|nested] 6+ messages in thread
* RE: big table tweaks ?
@ 2005-09-15 13:52 Derick Anderson
  2005-09-15 18:41 ` Jan Eidtmann
  0 siblings, 1 reply; 6+ messages in thread
From: Derick Anderson @ 2005-09-15 13:52 UTC (permalink / raw)
  To: Jan Eidtmann, netfilter



> -----Original Message-----
> From: netfilter-bounces@lists.netfilter.org 
> [mailto:netfilter-bounces@lists.netfilter.org] On Behalf Of 
> Jan Eidtmann
> Sent: Wednesday, September 14, 2005 8:43 AM
> To: netfilter@lists.netfilter.org
> Subject: big table tweaks ?
> 
> hello,
> 
> i have one kind of big table with 80.000+ rules. its 
> referenced in INPUT. lookup (when someone wants to connect) 
> is kinda slow and system hangs noticable (desktop usage). i 
> tried preemptive and non_preemptive kernels, its all the 
> same. so, is there anything i could tweak to make this run smooth?
> 
> thx in advance,
> jan
> 
> 
> note: i am not subscribed...

It would help knowing what you are trying to accomplish with those
80,000 rules. When I build a firewall, I know what each rule is for. I
would have a hard time keeping track of 800 rules, let alone 80,000.

You said this is referenced in INPUT, are you running services on this
host? Is it multi-homed? Are you blocking all the /24 networks of
everybody you don't like? Is -A INPUT -m state --state
RELATED,ESTABLISHED -j ACCEPT the first INPUT rule? Is this a Red Hat
box? (sorry, had to ask)

Derick Anderson


^ permalink raw reply	[flat|nested] 6+ messages in thread
* big table tweaks ?
@ 2005-09-14 12:43 Jan Eidtmann
  0 siblings, 0 replies; 6+ messages in thread
From: Jan Eidtmann @ 2005-09-14 12:43 UTC (permalink / raw)
  To: netfilter

hello,

i have one kind of big table with 80.000+ rules. its referenced in
INPUT. lookup (when someone wants to connect) is kinda slow and system
hangs noticable (desktop usage). i tried preemptive and non_preemptive
kernels, its all the same. so, is there anything i could tweak to make
this run smooth?

thx in advance,
jan


note: i am not subscribed...


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-09-15 18:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-15 12:09 big table tweaks ? Baake, Matthias
2005-09-15 12:21 ` KOVACS Krisztian
2005-09-15 14:23 ` John A. Sullivan III
  -- strict thread matches above, loose matches on Subject: below --
2005-09-15 13:52 Derick Anderson
2005-09-15 18:41 ` Jan Eidtmann
2005-09-14 12:43 Jan Eidtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox