a6a582361ee94e73f3a80c4fd2ed4ff717ee0651
[freeradius.git] / man / man5 / checkrad.5
1 .TH CHECKRAD 5 "13 January 2006"
2 .SH NAME
3 checkrad -- See if a user is (still) logged in on a certain port.
4 .SH SYNOPSIS
5 .B checkrad
6 .RB [ -d ]
7 .I nas-type nas-ip nas-port login session-id
8 .SH DESCRIPTION
9 \fBCheckrad\fP is used by the radius server to check if its idea of a user logged in
10 on a certain port/NAS is correct if a double login is detected.
11
12 Returns: 0 = no duplicate, 1 = duplicate, >1 = error.
13
14 .SH OPTIONS
15
16 .IP -d
17 Enable printing of debugging informations.
18
19 .IP nas-type
20 Type of port/NAS. Can be one of:
21
22 .RS
23 .IP \(bu
24 ascend
25 .IP \(bu
26 bay
27 .IP \(bu
28 cisco
29 .IP \(bu
30 cisco_l2tp
31 .IP \(bu
32 computone
33 .IP \(bu
34 cvx
35 .IP \(bu
36 digitro
37 .IP \(bu
38 dot1x
39 .IP \(bu
40 livingston
41 .IP \(bu
42 max40xx
43 .IP \(bu
44 mikrotik
45 .IP \(bu
46 mikrotik_snmp
47 .IP \(bu
48 multitech
49 .IP \(bu
50 netserver
51 .IP \(bu
52 other
53 .IP \(bu
54 pathras
55 .IP \(bu
56 patton
57 .IP \(bu
58 portslave
59 .IP \(bu
60 pr3000
61 .IP \(bu
62 pr4000
63 .IP \(bu
64 redback
65 .IP \(bu
66 tc
67 .IP \(bu
68 usrhiper
69 .IP \(bu
70 versanet
71 .P
72 The "other" type cause \fBcheckrad\fP to skip any check and always returns 1.
73 .RE
74
75
76 .IP nas-ip
77 IP address of the NAS to check.
78
79 .IP nas-port
80 The NAS port to check (may be ignored by some nas-type).
81
82 .IP login
83 The login name to check.
84
85 .IP session-id
86 Session to check. (actually ignored by all nas-type)
87
88 .SH SEE ALSO
89 radiusd(8)
90
91 .SH AUTHOR
92 Written by Miquel van Smoorenburg, miquels@cistron.nl.
93
94 This manual page was written by Marco Nenciarini <mnencia@debian.org> for
95 the Debian project (but may be used by others).