netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Hal Moroff" <halm90@gmail.com>
To: netfilter-devel@lists.netfilter.org
Subject: Is libiptc still the preferred library for manipulating tables?
Date: Fri, 11 May 2007 18:34:36 -0700	[thread overview]
Message-ID: <e1663d820705111834g6aa95aa2ice26f26c816032b9@mail.gmail.com> (raw)

I've been trying for awhile to find this out as well.


I'm working on an appliance and I need to dynamically insert/remove
rules based on
what's happening in the box. I prefer not to resort to
system("itpables yada yada yada")
and so have been trying to  use libiptc.  I've succeeded in inserting
/ removing simple
rules (based only on source IP and destination IP).  I'm struggling
now to understand
how to construct more complex matching rules (destination port).


There's this document:
   http://www.opalsoft.net/qos/libiptc/qlibiptc.html
which is incomplete, but mostly correct as far as it goes.  I offered
to  correct some
errors in the doc, but the author's email address is apparently invalid.


If anyone has any feedback / tips / samples I'd be grateful.

             reply	other threads:[~2007-05-12  1:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-12  1:34 Hal Moroff [this message]
2007-05-15  7:07 ` Is libiptc still the preferred library for manipulating tables? Henrik Nordstrom
  -- strict thread matches above, loose matches on Subject: below --
2007-02-25 19:05 Warren Kenny
2007-02-26 12:23 ` Pablo Neira Ayuso
2007-03-02 19:44   ` Henrik Nordstrom

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=e1663d820705111834g6aa95aa2ice26f26c816032b9@mail.gmail.com \
    --to=halm90@gmail.com \
    --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 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).