Linux in a Nutshell, Third Edition
by Ellen Siever, Stephen Spainhour, Jessica P. Hekman, Stephen Figgins
Name
icmpinfo
Synopsis
icmpinfo [options]
Description
TCP/IP command. Intercept and interpret ICMP packets. Print the address and name of the message’s sender, the source port, the destination port, the sequence, and the packet size. By default, provide information only about packets that are behaving oddly.
Options
- -k
Kill the syslogd process begun by -l.
- -l
Record via syslogd. Only a privileged user may use this option.
- -n
Use IP addresses instead of hostnames.
- -p
Suppress decoding of port number: do not attempt to guess the name of the service that is listening at that port.
- -s
Include IP address of interface that received the packet, in case there are several interfaces on the host machine.
- -v
Verbose. Include information about normal ICMP packets. You may also specify -vv and -vvv for extra verbosity.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access