Re: [tcpdump-workers] non-root pcap capture under Linux

2010-04-09 Thread Gerald Combs
amnon cohen wrote: > Hi, > Is there anyway to capture packets without being root on Linux. > The docs imply that we running with CAP_NET_RAW will do the trick. > Has anyone managed to get this to work? > I got stuck when trying to add CAP_NET_RAW to the executable > > > # setcap cap_net_raw my_sn

Re: [tcpdump-workers] non-root pcap capture under Linux

2010-04-09 Thread Luca Bruno
amnon cohen scrisse: > Hi, > Is there anyway to capture packets without being root on Linux. > The docs imply that we running with CAP_NET_RAW will do the trick. > Has anyone managed to get this to work? > I got stuck when trying to add CAP_NET_RAW to the executable > > > # setcap cap_net_raw my

[tcpdump-workers] non-root pcap capture under Linux

2010-04-09 Thread amnon cohen
Hi, Is there anyway to capture packets without being root on Linux. The docs imply that we running with CAP_NET_RAW will do the trick. Has anyone managed to get this to work? I got stuck when trying to add CAP_NET_RAW to the executable # setcap cap_net_raw my_sniffer_program fatal error: Invalid