Welcome to the Linux Foundation Forum!

LFS211 Lab 4.1

Posts: 6
edited June 2024 in LFS211 Class Forum

the Lab instructs to use:
# tcpdump -i lo proto ICMP

If localhost is getting resolved to IPv6 (::1), tcpdump won't show any traffic
Following has to be used instead:
# tcpdump -i lo icmp6

using proto, or uppercase results in an error:

  1. $ sudo tcpdump -i lo proto ICMP6
  2. tcpdump: unknown ip proto 'ICMP6'
  3.  
  4. $ sudo tcpdump -i lo proto icmp6
  5. tcpdump: can't parse filter expression: syntax error

Tested on Debian 12, tcpdump version 4.99.3, libpcap version 1.10.3 (with TPACKET_V3)

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training