tcpdump mailing list archives

Re: Capturing without having superuser rights


From: Max Laier <max () love2party net>
Date: Tue, 14 Oct 2008 18:30:23 +0200

On Tuesday 14 October 2008 17:33:13 Damien ANCELIN wrote:
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.

-- 
/"\  Best regards,                      | mlaier () freebsd org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: