RADZAP(1) | FreeRADIUS Daemon | RADZAP(1) |
radzap - remove rogue entries from the active sessions database
radzap [-d raddb_directory] [-h] [-N nas_ip_address] [-P nas_port] [-u user] [-U user] [-x] server[:port] secret
The FreeRADIUS server can be configured to maintain an active session database in a file called radutmp. Commands like radwho(1) use this database. Sometimes that database can get out of sync, and then it might contain rogue entries. radzap can clean up this database.
As of FreeRADIUS 1.1.0, radzap is a simple shell-script wrapper around radwho(1) and radclient(1).
The sessions are "zapped" by sending an Accounting-Request packet which contains the information necessary for the server to delete the session record. radzap sends a packet to the server, rather than writing to radutmp directly, because session records may also be maintained in SQL.
radwho(1), radclient(1), radiusd(8), radiusd.conf(5).
Alan DeKok <aland@ox.org>
8 April 2005 |