From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Victor Stinner <victor.stinner@inl.fr>
Cc: Netfilter Developer Mailing List <netfilter-devel@lists.netfilter.org>
Subject: Re: New libnetfilter_conntrack API: why two values of layer 3/4?
Date: Fri, 29 Dec 2006 22:15:38 +0100 [thread overview]
Message-ID: <4595857A.7030004@netfilter.org> (raw)
In-Reply-To: <200612291806.57788.victor.stinner@inl.fr>
Victor Stinner wrote:
> In new libnetfilter_conntrack API, I see:
>
> ATTR_ORIG_L3PROTO = 15
> ATTR_REPL_L3PROTO = 16
> ATTR_ORIG_L4PROTO = 17
> ATTR_REPL_L4PROTO = 18
>
> Is it possible to change layer 3 protocol with NAT? or layer4? If not, one
> constant will be enough ;-)
Indeed, there is no real usefulness currently, but if the connection
tracking ever supports tunneling ipv4-to-ipv6, I'll have to take them
back, so I prefer leaving this issue open.
> And for counters, are they 32 or 64 bits?
>
> ATTR_ORIG_COUNTER_PACKETS = 26
> ATTR_REPL_COUNTER_PACKETS = 27
> ATTR_ORIG_COUNTER_BYTES = 28
> ATTR_REPL_COUNTER_BYTES = 29
>
> 32 bits (2 GB) sounds small with a gigabyte interface or long uptime (old
> connection).
We've been discussing about this issue lately and there is a patch on
the table for the connection tracking to go back 64 bits counters. In
any case, the library will be able to support both counter sizes.
--
The dawn of the fourth age of Linux firewalling is coming; a time of
great struggle and heroic deeds -- J.Kadlecsik got inspired by J.Morris
next prev parent reply other threads:[~2006-12-29 21:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-29 17:06 New libnetfilter_conntrack API: why two values of layer 3/4? Victor Stinner
2006-12-29 21:15 ` Pablo Neira Ayuso [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-12-29 16:59 Victor Stinner
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=4595857A.7030004@netfilter.org \
--to=pablo@netfilter.org \
--cc=netfilter-devel@lists.netfilter.org \
--cc=victor.stinner@inl.fr \
/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.