From: Biermann-Roemke@t-online.de (Karsten Römke)
To: Harald Welte <laforge@netfilter.org>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: libiptc - frustrating
Date: Fri, 03 Oct 2003 13:08:58 +0200 [thread overview]
Message-ID: <3F7D58CA.2000407@hhb.bonn.de> (raw)
In-Reply-To: 20031002201344.GF5758@sunbeam.de.gnumonks.org
Harald Welte schrieb:
>>Question: how can I insert a rule from a running daemon in the fastest way:
>>1) calling a system("iptables ..."), don't know if the syntas is correct
>>2) doing the work again of analyzing the source code again
>>3) linking iptables.o to my application. I remember, that I've not done that
>> because iptables never frees any memory - only allocates - not
>>useful for a
>> long time running program.
>
>
> this should be fixed now.
that would be nice, I think it's the easiest way for me
>
> You have to consider a fourth option:
> 4) running iptables-restore --noflash and piping commands to stdin.
yes, I simply forgot this, will try this way, even if there are no more
memory leeks.
Can I use 1.2.7a or should I switch to 1.2.8?
>
> Depending on your usage scenario (how frequent do you have ruleset
> changes?) this might be the fastest one.
It's for controlling internet access of pupil at a school.
I think every 1,5 h I have something about 100 changes in the tables.
Thank you
Karsten
next prev parent reply other threads:[~2003-10-03 11:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-02 15:49 libiptc - frustrating Karsten Römke
2003-10-02 20:13 ` Harald Welte
2003-10-03 11:08 ` Karsten Römke [this message]
2003-10-04 8:39 ` Karsten Römke
2003-10-04 13:12 ` Harald Welte
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=3F7D58CA.2000407@hhb.bonn.de \
--to=biermann-roemke@t-online.de \
--cc=laforge@netfilter.org \
--cc=netfilter-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.