Your message dated Sat, 18 Sep 2021 14:38:37 +0200
with message-id 
<caht6kzgfnleqsob5p_tazjye-onw7supelusenqvf+fk+kt...@mail.gmail.com>
and subject line Closing
has caused the Debian Bug report #281731,
regarding manpage: "proto ip6" - Multiple discrepancies in ipv6 docs
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
281731: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=281731
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: tcpdump
Version: 3.8.3-3
Severity: minor

when executing tcpdump to look for all IPv6 packets on port 179 (to
sniff BGP4+ packets), I encountered a strange behavior:

pikachu:/home/paul# tcpdump proto ipv6 and dst port 179
tcpdump: expression rejects all packets

Apparently, port only performs actions on IPv4.
But the documentation says:
              Allowable primitives are:
....
        dst port port
                True  if the packet is ip/tcp, ip/udp, ip6/tcp or
                ip6/udp and has a destination port value of port. The
                port can be a number or a name used in /etc/services
                (see tcp(7) and udp(7)).   If  a  name  is used,  both
                the port number and protocol are checked.  If a number
                or ambiguous name is used, only the port number is
                checked (e.g., dst port 513 will print both tcp/login
                traffic and udp/who  traffic, and port domain will print
                both tcp/domain and udp/domain traffic).

Which indicates that port can accept IPv6 traffic.

But furthermore, according to the documentation, I should be using
"proto ip6" rather than "proto ipv6".

pikachu:/home/paul# tcpdump proto ip6
tcpdump: syntax error

Evidently there are many discrepancies between what the documentation
says and what the program actually does. I'm assuming that the
documentation has fallen behind the binary, but if so, the loss of being
able to use port stuff with IPv6 is disappointing.



-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages tcpdump depends on:
ii  libc6                       2.3.2.ds1-18 GNU C Library: Shared
libraries an
ii  libpcap0.8                  0.8.3-5      System interface for
user-level pa
ii  libssl0.9.7                 0.9.7e-2     SSL shared libraries

-- no debconf information



--- End Message ---
--- Begin Message ---
man page clarifications wrt. IPv6 keywords were made in libpcap 1.3
and subsequent releases, we can close this one.

--- End Message ---

Reply via email to