File: icmpinfo.man

package info (click to toggle)
icmpinfo 1.11-12
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 216 kB
  • ctags: 217
  • sloc: ansic: 1,024; makefile: 50
file content (74 lines) | stat: -rw-r--r-- 1,739 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
.TH ICMPINFO 8 "V1.11 - 28 August 1995" "dl's free utilities"
.SH NAME
icmpinfo \- interpret ICMP messages
.SH SYNOPSIS

.B icmpinfo
[\-v[v[v]]] [\-n] [\-p] [\-s] [\-l] [\-k]

.SH DESCRIPTION
.BR Icmpinfo
is a tool for looking at the ICMP messages received
on the running host.
It can be used to detect and record 'bombs'
as well as various network problems.

The output format is as follows (all on one line):

  MMM DD HH:MM:SS ICMP_type[sub-type]
.br
	< sender_ip [sender_name] > unreach_ip [unreach_name]
.br
	sp=source_port dp=dest_port seq=sequence sz=packet_size

In normal operation,
.B icmpinfo
will only report on "weird" packets, mainly icmp_unreachable.

.SH OPTIONS
.TP
.I "\-v"
Give information about all icmp packets, excepts pings.

.TP
.I "\-vv"
Give about pings too (i.e. icmp_echo_reply).

.TP
.I "\-vvv"
Include an ascii/hex dump of each packet

.TP
.I "\-n"
Avoid name queries - just give IP addresses.
(use this option when running unattended on name server hosts (to avoid
possible looping))

.TP
.I "\-p"
Avoid port number to service name decoding.

.TP
.I "\-s"
Show the interface ip that received the packet. Useful only if your
host has several network interfaces. In this case an '- my_ip
[my_name]' is added between the sender and unreach ip and name fields.

.TP
.I "\-l"
Forks and use the syslog(3) facility to record events (recommended use).
(root only option).

.TP
.I "\-k"
Kills the background process started with the
.I "\-l"
option.

.SH WARNINGS
The packet decoding is planned for ICMP Unreachable outputs and might
not be significant for all other Icmp types. Output can be shorter
when implied by the packet size or the icmp type.

.SH AUTHOR
Laurent Demailly <dl@hplyot.obspm.fr>. Free software.