Debian Codegraph @

listen/listen.man

raw
1 .TH @@@LISTEN@@@ 1 "27 August 1996" Linux "Linux Programmer's Manual"
2 .SH NAME
3 @@@listen@@@ \- monitor AX.25 traffic
4 .SH SYNOPSIS
5 .B @@@listen@@@ [-8] [-a] [-c] [-h] [-i] [-p port] [-r] [-t..] [-v]
6 .SH DESCRIPTION
7 .LP
8 .B @@@Listen@@@
9 uses SOCK_PACKET facilities to provide a network monitor of all AX.25
10 traffic heard by the system. Since KISS is implicitly promiscuous no
11 special driver configurations are needed.
12 .LP
13 This version displays standard AX.25, PE1CHL extended AX.25, NET/ROM, Rose, ARP,
14 IP, ICMP, TCP and UDP. It also displays IP, TCP, ICMP, TCP and UDP
15 encapsulated within NET/ROM frames. The program also displays AX.25 and IP
16 encapsulated within an IP frame, but see RFC1326 for reasons not to do so.
17 .LP
18 .B @@@Listen@@@
19 makes an attempt at decoding some of the more common routing protocols. RSPF
20 and RIP (both \(lqnormal\(rq and G8BPQs RIP98) are traced. JNOS style
21 NET/ROM node polls are also displayed.
22 .LP
23 .B @@@Listen@@@
24 can use colors to make the output more readable. The ncurses library is used
25 to accomplish this.
26 .B Color support defaults to being disabled,
27 and the
28 .BR -c
29 parameter is used to enable it.
30 .SH OPTIONS
31 .TP 10
32 .BI \-8
33 Indicates that the terminal is capable of printing 8-bit characters. This
34 parameter is required for the -i parameter to work.
35 .TP 10
36 .BI \-a
37 Allow for the monitoring of outgoing frames as well as incoming ones.
38 .TP 10
39 .BI \-c
40 Enable color support.
41 .TP 10
42 .BI \-h
43 Dump the data portion of the packet in both hexadecimal and ASCII. The
44 default is to display data as ASCII only.
45 .TP 10
46 .BI \-i
47 Map IBM codepage 437 characters 128-158 to their ISO-Latin-1 equivalents.
48 This is a hack for scandinavian users. This parameter is only valid
49 when used with the -8 and -c parameters.
50 .TP 10
51 .BI "\-p port"
52 Monitor only those frames received on a particular port, by default all
53 AX.25 devices are monitored.
54 .TP 10
55 .BI \-r
56 Dump the data portion in a "readable" fashion, which is more suitable
57 for tracing plaintext AX.25 traffic. CR-LF conversion is done.
58 .TP 10
59 .BI \-t
60 Don't print a timestamp on each dump line.
61 .TP 10
62 .BI -tt
63 Print an unformatted timestamp on each dump line.
64 .TP 10
65 .BI -ttt
66 Print a delta (micro-second resolution) between current and previous line
67 on each dump line.
68 .TP 10
69 .BI -tttt
70 Print a timestamp in default format proceeded by date on each dump line.
71 .TP 10
72 .BI -ttttt
73 Print a delta (micro-second resolution) between current and first
74 line on each dump line.
75 .TP 10
76 .BI \-v
77 Display the version.
78 .SH FILES
79 /etc/ax25/axports
80 .SH "SEE ALSO"
81 .BR @@@call@@@ (1),
82 .BR mheard (1),
83 .BR beacon (1),
84 .BR ax25 (4),
85 .BR netrom (4),
86 .BR rose (4),
87 .BR kissattach (8).
88 .LP
89 .SH BUGS
90 .B @@@Listen@@@
91 does not validate the checksums of frames that support them (ie IP),
92 therefore corrupt frames will be displayed with bogus values. The MSS
93 of a TCP frame that contains that option is not displayed.
94 .SH AUTHORS
95 .nf
96 Alan Cox GW4PTS <[email protected]>
97 .br
98 Jonathan Naylor G4KLX <[email protected]>
99 .br
100 Phil Karn KA9Q <[email protected]>
101 .br
102 Heikki Hannikainen OH7LZB <[email protected]>
103 .br
104 Scott Miller N1VG <[email protected]>
105 .fi