summaryrefslogtreecommitdiffstats
path: root/man/man8/radsniff.8
blob: 24c0ee3e01761e8a8b443b11b5c533846790442d (plain)
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
75
.TH RADSNIFF 8
.SH NAME
radsniff - dump radius protocol
.SH SYNOPSIS
.B radsniff
.RB [ \-c
.IR count ]
.RB [ \-d
.IR directory ]
.RB [ \-F ]
.RB [ \-f
.IR filter ]
.RB [ \-h ]
.RB [ \-i
.IR interface ]
.RB [ \-I
.IR filename ]
.RB [ \-m ]
.RB [ \-p
.IR port ]
.RB [ \-r
.IR request filter]
.RB [ \-R
.IR response filter ]
.RB [ \-s
.IR secret ]
.RB [ \-S ]
.RB [ \-w
.IR file ]
.RB [ \-x ]

.SH DESCRIPTION
\fBradsniff\fP is a simple wrapper around libpcap.  It can also print
out the contents of RADIUS packets using the FreeRADIUS dictionaries.

.SH OPTIONS

.IP \-c\ \fIcount\fP
Number of packets to capture.
.IP \-d\ \fIdirectory\fP
Directory where the dictionaries are found.
.IP \-F
Filter PCAP file from stdin to stdout.
Output file will contain RADIUS packets.
.IP \-f\ \fIfilter\fP
PCAP filter. (default is udp port 1812 or 1813)
.IP \-h
Print usage help information.
.IP \-i\ \fIinterface\fP
Interface to capture.
.IP \-I\ \fIfilename\fP
Read packets from filename.
.IP \-m
Print packet headers only, not contents.
.IP \-p\ \fIport\fP
\tListen for packets on port.
.IP \-r\ \fIattribute-filter\fP
RADIUS attribute request filter.
.IP \-R\ \fIattribute-filter\fP
RADIUS attribute response filter.
.IP \-s\ \fIsecret\fP
RADIUS secret.
.IP \-S
Sort attributes in the packet.
Used to compare server results.
.IP \-w\ \fIfile\fP
Write output packets to file.
.IP \-x
Print out debugging information.


.SH SEE ALSO
radiusd(8),pcap(3)
.SH AUTHORS
Nicolas Baradakis <nicolas.baradakis@cegetel.net>