1RADZAP(1) FreeRadius Daemon RADZAP(1)
2
3
4
6 radzap - remove rogue entries from the active sessions database
7
9 radzap [-d raddb_directory] [-N nas_ip_address] [-P nas_port] [-u user]
10 [-U user] server[:port] secret
11
13 The FreeRadius server can be configured to maintain an active session
14 database in a file called radutmp. Commands like radwho(1) use this
15 database. Sometimes that database can get out of sync, and then it
16 might contain rogue entries. radzap can clean up this database.
17
18 As of FreeRADIUS 1.0.3, radzap is a simple shell-script wrapper around
19 radwho(1) and radclient(1).
20
21 The sessions are "zapped" by sending an Accounting-Request packet which
22 contains the information necessary for the server to delete the session
23 record. radzap sends a packet to the server, rather than writing to
24 radutmp directly, because session records may also be maintained in
25 SQL.
26
28 -d raddb_directory
29 The directory that contains the RADIUS configuration files.
30 radzap reads radiusd.conf to determine the location of the
31 radutmp file.
32
33 -N nas_ip_address
34 Zap the entries which match the given NAS IP address.
35
36 -P nas_port
37 Zap the entries which match the given NAS port.
38
39 -u user
40 Zap the entries which match the given username (case insensiā
41 tive).
42
43 -U user
44 Zap the entries which match the given username (case sensitive).
45
46 server[:port]
47 The hostname or IP address of the remote server. Optionally a
48 UDP port can be specified. If no UDP port is specified, it is
49 looked up in /etc/services. The service name looked for is
50 radacct for accounting packets, and radius for all other
51 requests. If a service is not found in /etc/services, 1813 and
52 1812 are used respectively.
53
54 secret The shared secret for this client. It needs to be defined on
55 the radius server side too, for the IP address you are sending
56 the radius packets from.
57
59 radwho(1), radclient(1), radiusd(8), radiusd.conf(5).
60
62 Alan DeKok <aland@ox.org>
63
64
65
66 8 April 2005 RADZAP(1)