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 +--
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
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
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
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