]> The Tcpdump Group git mirrors - tcpdump/commitdiff
man: Clarify the "any" pseudo-interface further. [skip ci]
authorDenis Ovsienko <[email protected]>
Sat, 7 Sep 2024 10:03:56 +0000 (11:03 +0100)
committerDenis Ovsienko <[email protected]>
Sat, 7 Sep 2024 10:03:56 +0000 (11:03 +0100)
In the -f flag description just refer to the -i flag description to
deduplicate the prose.  In the -i flag description reword the "any" note
consistently with that in pcap_create(3PCAP) and pcap_open_live(3PCAP).

CHANGES
tcpdump.1.in

diff --git a/CHANGES b/CHANGES
index b100df4f49ca0e90819fe9eabc56c632713a005a..6039fc929c1a0099c28dda50c2b5caededfe00fe 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -60,6 +60,8 @@ DayOfTheWeek, Month DD, YYYY / The Tcpdump Group
       Make illumos build warning-free.
       Makefile.in: Update the .c.o build rule (Remove hacks for old SunOS 4).
       Autoconf: fix buggy tests for ether_ntohost().
+    Documentation:
+      man: Clarify the "any" pseudo-interface further.
 
 DayOfTheWeek, Month DD, YYYY / The Tcpdump Group
   Summary for 4.99.6 tcpdump release (so far!)
index c31299032fc07e23ab865e4bd2b02445cfd10add..618ce0b100dad1338d1fdd35f43e193274c2930f 100644 (file)
@@ -20,7 +20,7 @@
 .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
 .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 .\"
-.TH TCPDUMP 1  "15 May 2024"
+.TH TCPDUMP 1  "7 September 2024"
 .SH NAME
 tcpdump \- dump traffic on a network
 .SH SYNOPSIS
@@ -408,10 +408,9 @@ The test for `foreign' IPv4 addresses is done using the IPv4 address and
 netmask of the interface on that capture is being done.  If that
 address or netmask are not available, either because the
 interface on that capture is being done has no address or netmask or
-because it is the "any" pseudo-interface, which is
-available in Linux and in recent versions of macOS and Solaris, and which
-can capture on more than one interface, this option will not work
-correctly.
+because it is the "any" pseudo-interface (see the
+.B \-i
+flag below), this option will not work correctly.
 .TP
 .BI \-F " file"
 Use \fIfile\fP as input for the filter expression.
@@ -462,10 +461,14 @@ flag is not given, \fItcpdump\fP searches the system
 interface list for the lowest numbered, configured up interface
 (excluding loopback), which may turn out to be, for example, ``eth0''.
 .IP
-On Linux systems with 2.2 or later kernels and on recent versions of macOS
+On all supported Linux systems, as well as on recent versions of macOS
 and Solaris, an
 .I interface
-argument of ``any'' can be used to capture packets from all interfaces.
+argument of ``any'' can be used to capture packets from all network interfaces.
+The latter should not be confused with all available capture devices as printed
+by the
+.B \-D
+flag, which may also include D-Bus, USB etc.
 Note that captures on the ``any'' pseudo-interface will not be done in promiscuous
 mode.
 .IP