import from HEAD:
[freeradius.git] / man / man1 / radzap.1
1 .TH RADZAP 1 "16 May 2002" "" "FreeRadius Daemon"
2 .SH NAME
3 radzap - remove rogue entries from the active sessions database
4 .SH SYNOPSIS
5 .B radzap
6 .RB [ \-d
7 .IR raddb_directory ]
8 .RB [ \-r
9 .IR radius_server ]
10 .RB [ \-p
11 .IR accounting_port ]
12 .RB [ \-v ]
13 .I nas
14 .RB [ port ]
15 .RB [ username ]
16 .SH DESCRIPTION
17 The FreeRadius server can be configured to maintain an active session
18 database in a file called \fIradutmp\fP. Commands like \fBradwho\fP(1)
19 use this database. Sometimes that database can get out of sync, and
20 then it might contain rogue entries. \fBradzap\fP can clean up this
21 database.
22 .SH OPTIONS
23 .IP \-d\ \fIraddb_directory\fP
24 The directory that contains the RADIUS configuration files.
25 .IP \-r\ \fIradius_server\fP
26 Host name or IP address of the RADIUS server.
27 .IP \-p\ \fIaccounting_port\fP
28 The port to which accounting packets are sent.  See "/etc/services",
29 port "radacct" for the default on your system (usually 1646 or 1813).
30 .IP \-v
31 Verbose. Shows you what it is doing.
32 .IP nas
33 Hostname or IP address of the NAS (Network Access Server, sometimes
34 called "terminal server") of the session you want to remove.
35 .IP port
36 Port of the session you want to remove. This is the NAS-Port
37 radius attribute, it doesn't have anything to do with UDP port
38 numbers. Must be an integer. \fB-1\fP means "any", and is the
39 default if this option is not specified.
40 .IP username
41 Optional: the username of the session you want to remove.
42 .SH SEE ALSO
43 radwho(1),
44 radiusd(8),
45 radiusd.conf(5).
46 .SH AUTHOR
47 Miquel van Smoorenburg, miquels@cistron.nl., and others.