[Bug 210031] tcpdump -G flag unable to roll over pcap files

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jun 4 18:51:39 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210031

--- Comment #1 from Shirkdog <mshirk at daemon-security.com> ---
This issue apparently does not affect 10.3-STABLE.

Here is a more realistic way to run this and output:

On FreeBSD-11
tcpdump -i vtnet0 -nns 0 -G 5 -w "test-%H%M%S.pcap"

root@:~ # tcpdump -i vtnet0 -nns 0 -G 5 -w "/tmp/test-%H%M%S.pcap"
tcpdump: listening on vtnet0, link-type EN10MB (Ethernet), capture size 262144
bytes
tcpdump: /tmp/test-144634.pcap: Not permitted in capability mode
root@:~ # 

On 10.3-STABLE

# tcpdump -i vtnet0 -nns 0 -G 3 -w "test-%H%M%S.pcap"
tcpdump: listening on vtnet0, link-type EN10MB (Ethernet), capture size 65535
bytes
21 packets captured
22 packets received by filter
0 packets dropped by kernel
# ls -ltra test*.pcap
-rw-r--r--  1 root  wheel   800 Jun  4 14:49 test-144926.pcap
-rw-r--r--  1 root  wheel  2084 Jun  4 14:49 test-144936.pcap
-rw-r--r--  1 root  wheel   216 Jun  4 14:49 test-144940.pcap
#

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list