tcpdump mailing list archives

Re: Libpcap and Super User mode


From: sthaug () nethelp no
Date: Wed, 30 Jun 2004 17:16:39 +0200

Is it possible to write a program using libpcap that doesnt need to be run in super user mode, and if there is how 
would that be done.  Everything that i have seen that uses libpcap has to be in su mode

At least on BSD based systems, it depends on readability of the /dev/bpf*
devices and not on super user mode. Normally /dev/bpf* is only readable
by root, but you can change this.

Steinar Haug, Nethelp consulting, sthaug () nethelp no
-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.


Current thread: