NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/48005 (tcpdump: option -C broken)
The following reply was made to PR bin/48005; it has been noted by GNATS.
From: "David H. Gutteridge" <dhgutteridge%sympatico.ca@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: bin/48005 (tcpdump: option -C broken)
Date: Thu, 02 Mar 2017 18:19:45 -0500
My suggested amendments to the tcpdump man page:
--- tcpdump.1.in~
+++ tcpdump.1.in
@@ -20,7 +20,7 @@
 .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES
OF
 .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 .\"
-.TH TCPDUMP 8Â Â "17 September 2015"
+.TH TCPDUMP 8Â Â "2 March 2017"
 .SH NAME
 tcpdump \- dump traffic on a network
 .SH SYNOPSIS
@@ -254,6 +254,11 @@
 flag, with a number after it, starting at 1 and continuing upward.
 The units of \fIfile_size\fP are millions of bytes (1,000,000 bytes,
 not 1,048,576 bytes).
+.IP
+Note if this is used in conjunction with the
+.B \-Z
+option (the default on NetBSD), the process will likely not have
+adequate permissions to open subsequent savefiles.
 .TP
 .B \-d
 Dump the compiled packet-matching code in a human readable form to
@@ -861,15 +866,16 @@
 .PD
 If
 .I tcpdump
-is running as root, after opening the capture device or input savefile,
-but before opening any savefiles for output, change the user ID to
+is running as root, after opening the capture device, input savefile,
+or initial output savefile, change the user ID to
 .I user
 and the group ID to the primary group of
 .IR user .
 .IP
 This behavior is the default for NetBSD where
 .I tcpdumpÂ
-runs as the user ``_tcpdump''.
+runs as the user ``_tcpdump'', with its root directory changed to
+\fI/var/chroot/tcpdump\fP.
 .IP "\fI expression\fP"
 .RS
 selects which packets will be dumped.
Home |
Main Index |
Thread Index |
Old Index