From: Beluc <beluc.mailing@free.fr>
To: netfilter@vger.kernel.org
Subject: Re: problem getting uid in nfqueue
Date: Mon, 21 Jun 2010 22:51:56 +0200 [thread overview]
Message-ID: <4C1FD0EC.6000302@free.fr> (raw)
In-Reply-To: <1624629744.165291276781877065.JavaMail.root@zimbra6-e1.priv.proxad.net>
no idea ? maybe i didn't explain very well :/
i saw that when using LOG target in OUTPUT policy, there is the user's
uid who send packet.
what i want to do is to get that uid when using QUEUE/NFQUEUE target ...
Le 17/06/2010 15:37, beluc.mailing@free.fr a écrit :
> Hi all,
> i finaly managed to get packet from NFQUEUE to some userspace program using
> perl IPTables::IPv4::IPQueue.
> my problem is that uid/gid is not present in what i receive in perl.
> is it normal or i did something wrong?
>
> (what i want to do is some advanced firewalling based on user id)
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2010-06-21 20:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-17 13:37 problem getting uid in nfqueue beluc.mailing
2010-06-21 20:51 ` Beluc [this message]
2010-06-22 8:03 ` Jan Engelhardt
2010-06-22 8:18 ` Patrick McHardy
2010-06-22 8:45 ` Jan Engelhardt
2010-06-22 8:49 ` Patrick McHardy
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=4C1FD0EC.6000302@free.fr \
--to=beluc.mailing@free.fr \
--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 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.