[tcpdump-workers] [PATCH] Small fixes to the tcpdump man page

2010-04-09 Thread Romain Francoise
Merge back changes from the Debian package: - fix TCP flags output description, by Christophe Rhodes Original patch submitted in http://bugs.debian.org/575724 - two remaining typo fixes, by A Costa Original patch submitted in http://bugs.debian.org/342310 --- tcpdump.1.in | 11 +--

[tcpdump-workers] [PATCH] When saving with -U, flush the dump file after opening it

2010-04-09 Thread Romain Francoise
Reading from a capture file that has not yet received any packets fails with "truncated dump file"; to avoid this, flush the file (forcing the pcap header out) immediately after opening it. Suggested by Ferenc Wagner in Debian bug #533625. --- tcpdump.c |4 1 files changed, 4 insertions

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