NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/48005: tcpdump: option -C broken



>Number:         48005
>Category:       bin
>Synopsis:       tcpdump: option -C broken
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 04 15:30:00 +0000 2013
>Originator:     Jörn Clausen
>Release:        NetBSD 6.1 (GENERIC) amd64
>Organization:
University of Bielefeld
>Environment:
>Description:
Option "-C" (write chunks) in /usr/sbin/tcpdump is broken:

$ tcpdump -w tcp.dump -C 1
tcpdump: listening on nfe0, link-type EN10MB (Ethernet), capture size 65535 
bytes
tcpdump: tcp.dump1: Permission denied

after the first chunk has been read. ktruss shows

  1073      1 tcpdump  open("tcp.dump1", 0x601, 0x1b6) Err#13 EACCES


tcpdump 4.4.0 from pkgsrc on the same machine works as expected.
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index