Linux Netfilter discussions
 help / color / mirror / Atom feed
* in-memory table change
@ 2007-04-28  9:17 Július Bemš
  2007-04-29 15:09 ` Martijn Lievaart
  0 siblings, 1 reply; 2+ messages in thread
From: Július Bemš @ 2007-04-28  9:17 UTC (permalink / raw)
  To: netfilter

Hello,

I have to try solve this problem:
-If there is a lot of rules in the packet filter table, it takes a quite
long time for 'iptables' to add a new rule (the change will be seen
sometimes in 30 seconds).
-I don't know how 'iptables' exactly works, but I thinked about changing 
rules exactly in the table, which is in-memory. It could take less time than
'iptables'

So my question is: Is this what I have described real? If yes, are there
some utilities by which I can change in-memory packet filter table? Because
I want avoid writing some code in c.

Thank You for reply




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

* Re: in-memory table change
  2007-04-28  9:17 in-memory table change Július Bemš
@ 2007-04-29 15:09 ` Martijn Lievaart
  0 siblings, 0 replies; 2+ messages in thread
From: Martijn Lievaart @ 2007-04-29 15:09 UTC (permalink / raw)
  To: Július Bemš; +Cc: netfilter

Július Bem¹ wrote:
> Hello,
>
> I have to try solve this problem:
> -If there is a lot of rules in the packet filter table, it takes a quite
> long time for 'iptables' to add a new rule (the change will be seen
> sometimes in 30 seconds).
> -I don't know how 'iptables' exactly works, but I thinked about changing
> rules exactly in the table, which is in-memory. It could take less time than
> 'iptables'
>
> So my question is: Is this what I have described real? If yes, are there
> some utilities by which I can change in-memory packet filter table? Because
> I want avoid writing some code in c.
>

Do you use iptables--restore? If not, look into that. If yes, well, I'm
afraid I cannot help you.

HTH,
M4



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

end of thread, other threads:[~2007-04-29 15:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-28  9:17 in-memory table change Július Bemš
2007-04-29 15:09 ` Martijn Lievaart

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