Linux Netfilter discussions
 help / color / mirror / Atom feed
From: ZenSecurity <mailto@zensecurity.su>
To: netfilter@vger.kernel.org
Subject: Bug in owner module
Date: Sun, 15 Dec 2013 16:57:08 +0300	[thread overview]
Message-ID: <52ADB534.7020700@zensecurity.su> (raw)

Hi, i have some issue with module (owner) in iptables v1.4.14 (debian
wheezy 7.2.0)

Current rule fails:

iptables -t nat -A OUTPUT -o eth0 -p tcp -s x.x.x.x -m owner --gid-owner
usergroup -j DNAT --to-destination x.x.x.x:80;

I tried to use numeric gid, it failed too..

But this rule works fine:

iptables -t nat -A OUTPUT -o eth0 -p tcp -s x.x.x.x -m owner --uid-owner
user -j DNAT --to-destination x.x.x.x:80;

Is it possible to fix this bug ?

Thanks!

             reply	other threads:[~2013-12-15 13:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-15 13:57 ZenSecurity [this message]
2013-12-15 16:38 ` Bug in owner module Phil Oester
     [not found]   ` <52ADE190.8010405@zensecurity.su>
2013-12-18 21:15     ` Phil Oester

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=52ADB534.7020700@zensecurity.su \
    --to=mailto@zensecurity.su \
    --cc=netfilter@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox