Isn't possible to use 'setcap' to grant access to the executable?  Maybe
something like...

setcap cap_net_admin=eip /path/to/executable


On Wed, Oct 28, 2015 at 6:40 AM, Alfredo Cardigliano <[email protected]>
wrote:

> Hi Bryan
> opening a pf_ring socket is not allowed without privileges by the kernel
> module, as you can see in pf_ring.c:
>
> 4867   if(!capable(CAP_NET_ADMIN))
> 4868     return -EPERM;
>
> Alfredo
>
> On 28 Oct 2015, at 02:58, Bryan Fok <[email protected]> wrote:
>
> Is it possible to run pf_ring without sudo / root right? I tried to add
> just the network admin. right to the application but it could only run, but
> not receiving anything.
>
> B.R
> Bryan
> _______________________________________________
> Ntop-misc mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>
>
>
> _______________________________________________
> Ntop-misc mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>



-- 
Nick Allen <[email protected]>
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to