tcpdump mailing list archives
Privileges on Mac
From: Tobias Weber <mk0423 () towb de>
Date: Tue, 31 Mar 2009 23:42:01 +0200
Hi,libpcap comes with Mac OS, but to use it from GUI applications without changing permissions in /dev is complicated.
The OS includes a helper tool which can ask the user for credentials and return a file descriptor opened with root rights.
It'd be nice if libpcap could be initialized with a file descriptor. Attached is a proof of concept which modifies bpf_open() to use said tool, put together from sample code.-
This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- Privileges on Mac Tobias Weber (Mar 31)
- Re: Privileges on Mac Guy Harris (Mar 31)