All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: netfilter-devel@vger.kernel.org
Subject: [PATCH 0/2] conntrack: permit updating only a part of the ctmark
Date: Wed, 15 Jun 2011 14:13:38 +0200	[thread overview]
Message-ID: <1308140020-13487-1-git-send-email-fw@strlen.de> (raw)

Hello Pablo,

here are two patches for conntrack(8).

I want to alter the upper 8 bits of the conntrack mark while keeping
the rest intact.  At the moment it is only possible to specifiy
an absolute value, so i've extended --mark to optionally handle
a mask argument.  Its possible to either filter by mark (e.g.
list conntracks with a particular mark bit set) or to update
parts of the mark.

The 2nd patch is not absolutely needed, but it speeds up operation
when only a couple of conntracks are affected by the modification.

Thanks,
Florian

             reply	other threads:[~2011-06-15 12:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-15 12:13 Florian Westphal [this message]
2011-06-15 12:13 ` [PATCH 1/2] conntrack: add support for mark mask Florian Westphal
2011-06-15 12:13 ` [PATCH 2/2] conntrack: -U: skip sending conntrack update message if conntrack is unchanged Florian Westphal
2011-06-15 12:47 ` [PATCH 0/2] conntrack: permit updating only a part of the ctmark Pablo Neira Ayuso
2011-06-15 12:53   ` Florian Westphal

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=1308140020-13487-1-git-send-email-fw@strlen.de \
    --to=fw@strlen.de \
    --cc=netfilter-devel@vger.kernel.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.