tcpdump mailing list archives

Re: Capturing without having superuser rights


From: sthaug () nethelp no
Date: Wed, 15 Oct 2008 08:16:29 +0200 (CEST)

As I'm developping on libpcap to provide a metrology plateform, I was
wondering if there is a manner to enable a specific user (or a specific
group) to capture from a network interfaces (even in promiscuous mode),
without using sudo.
I'm trying to do this with udev, but I'm not shure it can works.

Does anybody have an idea ?

Depends on the platform you are on.  On FreeBSD all you need is read write 
permission to the /dev/bpf* devices.

And for *capturing* you really only need read permission.

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


Current thread: