Updates. Addresses #1288
[freeradius.git] / man / man8 / radsniff.8
1 .TH RADSNIFF 8
2 .SH NAME
3 radsniff - dump radius protocol
4 .SH SYNOPSIS
5 .B radsniff
6 .RB [ \-c
7 .IR count ]
8 .RB [ \-d
9 .IR directory ]
10 .RB [ \-F ]
11 .RB [ \-f
12 .IR filter ]
13 .RB [ \-h ]
14 .RB [ \-i
15 .IR interface ]
16 .RB [ \-I
17 .IR filename ]
18 .RB [ \-m ]
19 .RB [ \-p
20 .IR port ]
21 .RB [ \-r
22 .IR request filter]
23 .RB [ \-R
24 .IR response filter ]
25 .RB [ \-s
26 .IR secret ]
27 .RB [ \-S ]
28 .RB [ \-w
29 .IR file ]
30 .RB [ \-x ]
31
32 .SH DESCRIPTION
33 \fBradsniff\fP is a simple wrapper around libpcap.  It can also print
34 out the contents of RADIUS packets using the FreeRADIUS dictionaries.
35
36 .SH OPTIONS
37
38 .IP \-c\ \fIcount\fP
39 Number of packets to capture.
40 .IP \-d\ \fIdirectory\fP
41 Directory where the dictionaries are found.
42 .IP \-F
43 Filter PCAP file from stdin to stdout.
44 Output file will contain RADIUS packets.
45 .IP \-f\ \fIfilter\fP
46 PCAP filter. (default is udp port 1812 or 1813)
47 .IP \-h
48 Print usage help information.
49 .IP \-i\ \fIinterface\fP
50 Interface to capture.
51 .IP \-I\ \fIfilename\fP
52 Read packets from filename.
53 .IP \-m
54 Print packet headers only, not contents.
55 .IP \-p\ \fIport\fP
56 \tListen for packets on port.
57 .IP \-r\ \fIresponse-filter\fP
58 RADIUS attribute request filter.
59 .IP \-R\ \fIrequest-filter\fP
60 RADIUS attribute response filter.
61 .IP \-s\ \fIsecret\fP
62 RADIUS secret.
63 .IP \-S
64 Sort attributes in the packet.
65 Used to compare server results.
66 .IP \-w\ \fIfile\fP
67 Write output packets to file.
68 .IP \-x
69 Print out debugging information.
70
71
72 .SH SEE ALSO
73 radiusd(8),pcap(3)
74 .SH AUTHORS
75 Nicolas Baradakis <nicolas.baradakis@cegetel.net>