All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexey Perevalov <a.perevalov@samsung.com>
To: Daniel Borkmann <dborkman@redhat.com>
Cc: netfilter-devel@vger.kernel.org
Subject: none zero check of the classid in xt_cgroup
Date: Sat, 16 Aug 2014 10:11:36 +0400	[thread overview]
Message-ID: <53EEF618.6020103@samsung.com> (raw)

Hello Daniel,

I have a question regarding xt_cgroup, again )

I'm interesting why did you add check for none zero id into 
cgroup_mt_check. With it, it's impossible
to introduce some rules, like -m cgroup ! --cgroup 0. It could be useful 
for end user, for example, to block
all processes which was under cgroups, but not whole traffic.
Of course it could be made by ROOT_CGROUP with none 0 classid, which 
will contain all processes in the system.
But, I think, in this case OS will be faced with little overhead to mark 
every packet.


-- 
Best regards,
Alexey Perevalov


             reply	other threads:[~2014-08-16  6:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-16  6:11 Alexey Perevalov [this message]
2014-08-18 13:52 ` none zero check of the classid in xt_cgroup Daniel Borkmann

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=53EEF618.6020103@samsung.com \
    --to=a.perevalov@samsung.com \
    --cc=dborkman@redhat.com \
    --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.