netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* nfqueue library setup requires root
@ 2011-12-29 14:00 abirvalg
  2012-02-01 16:26 ` U.Mutlu
  0 siblings, 1 reply; 4+ messages in thread
From: abirvalg @ 2011-12-29 14:00 UTC (permalink / raw)
  To: netfilter-devel

Hi,
I launched my application with CAP_NET_ADMIN capability, yet both nfq_unbind_pf and nfq_bind_pf produce an error.
When I setuid(0) no error is produced and everything works as expected.
Could you please confirm that Library setup operations require root.
Isn't it a bit misleading that libnetfilter_queue docu states that CAP_NET_ADMIN is required without mentioning root permissions.
Would it be possible to do Library Setup with only CAP_NET_ADMIN and without root priviliges in future versions?


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-02-02 21:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-29 14:00 nfqueue library setup requires root abirvalg
2012-02-01 16:26 ` U.Mutlu
2012-02-02 18:49   ` Pablo Neira Ayuso
2012-02-02 21:52     ` U.Mutlu

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).