[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: eth0 Promiscious Access
On Fri, 22 Sep 2000, Alex Rier wrote:
> I want to develop a sniffer using libpcap.
> It opens eth0 in promiscious mode.
> I don't want to run my sniffer as root.
>
> How can I configure eth0 to be able to run my sniffer
> as a regular user? (Without using suid root)
modify the kernel to allow that. as far as i know, the kernel won't allow
a regular user to set an ethernet card to promicious mode. only root may
do that. check the relevant code for more details. you could modify the
check the kernel makes to allow a specific user (for example) to perform
this operation.
guy
"For world domination - press 1,
or dial 0, and please hold, for the creator." -- nob o. dy
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il