netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Glauco Junquera <glaucoaok@gmail.com>
To: netfilter-devel <netfilter-devel@vger.kernel.org>
Subject: Filter input traffic by uid
Date: Tue, 25 Jan 2011 09:04:50 -0300	[thread overview]
Message-ID: <AANLkTikXDsRGoV4aFDxpWzdU9Pov=_-=6dMB=cbmtpQu@mail.gmail.com> (raw)

Hi All,

Iptables can filter output traffic by uid, for example iptables -A
OUTPUT -m owner --uid-owner 100 -p udp -j DROP.
I need to implement the same for input traffic. Anyone have any idea
of how can i do it (where i must start)? I am new to netfilter
development i tried some simple modifications on code with no success.
I would really appreciate any kind of help.

Regards,
Glauco.

             reply	other threads:[~2011-01-25 12:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-25 12:04 Glauco Junquera [this message]
2011-01-25 14:06 ` Filter input traffic by uid Patrick McHardy
2011-01-26 10:52   ` Glauco Junquera

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='AANLkTikXDsRGoV4aFDxpWzdU9Pov=_-=6dMB=cbmtpQu@mail.gmail.com' \
    --to=glaucoaok@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).