[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netfilter
Subject:    Re: ipq_read error
From:       Eric Leblond <eleblond () inl ! fr>
Date:       2005-10-27 11:58:50
Message-ID: 1130414330.14426.73.camel () localhost ! localdomain
[Download RAW message or body]


Hi,

Le jeudi 27 octobre 2005 à 12:08 +0200, Peter.Muller@gmx.at a écrit :
> Hello!
> 
> I'm using libipq's ipq_read function in a program to read packets that were
> queued to userspace by a kernel module.
> Does ipq_read really needs root privileges or are there other solutions? Any
> help on this is appreciated.

As the program is directly talking to the kernel, you need to be root to
be able to access libipq.

A standard solution is to switch to a given user as soon as you do not
need anymore root privileges.

BR,
-- 
Éric Leblond, eleblond@inl.fr
Téléphone : 01 44 89 46 40, Fax : 01 44 89 45 01
INL, http://www.inl.fr

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic