From: Philip Craig <philipc@snapgear.com>
To: Rick Jones <rick.jones2@hp.com>
Cc: netfilter@vger.kernel.org
Subject: Re: Shortcuts to counting rules?
Date: Fri, 31 Oct 2008 11:29:20 +1000 [thread overview]
Message-ID: <490A5F70.6070803@snapgear.com> (raw)
In-Reply-To: <4909E386.1000405@hp.com>
Rick Jones wrote:
> I can see the appeal to an application since it does provide a nice
> abstraction.
Sure, but there was never any intention for it to be stable. iptables
can change that library at any time, with no guarentee that any other
apps trying to use it will keep working.
>> The getsockopt() calls are part of the linux ABI. Using them is safe.
>> You just need to make sure you handle the case that they aren't
>> implemented.
>
> Time to go find their documentation then I suppose.
I don't expect there is any, but I might be wrong.
> Looks like struct ipt_getinfo and ip6t_getinfo are only in header files
> that come with "iptables-dev?"
They are defined in the kernel header files. It's a stable ABI, so creating
a local copy is fine (which is what iptables does now... iptables used to
require the presence of the kernel headers).
prev parent reply other threads:[~2008-10-31 1:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-30 0:20 Shortcuts to counting rules? Rick Jones
2008-10-30 1:13 ` Philip Craig
2008-10-30 16:40 ` Rick Jones
2008-10-30 18:46 ` Rick Jones
2008-10-31 1:26 ` Rick Jones
2008-10-31 1:39 ` Philip Craig
2008-10-31 1:29 ` Philip Craig [this message]
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=490A5F70.6070803@snapgear.com \
--to=philipc@snapgear.com \
--cc=netfilter@vger.kernel.org \
--cc=rick.jones2@hp.com \
/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.