📄 radzap.1
字号:
.TH RADZAP 1 "8 April 2005" "" "FreeRadius Daemon".SH NAMEradzap - remove rogue entries from the active sessions database.SH SYNOPSIS.B radzap.RB [ \-d.IR raddb_directory ].RB [ \-N.IR nas_ip_address ].RB [ \-P.IR nas_port ].RB [ \-u.IR user ].RB [ \-U.IR user ]\fIserver[:port] secret\fP.SH DESCRIPTIONThe FreeRadius server can be configured to maintain an active sessiondatabase in a file called \fIradutmp\fP. Commands like \fBradwho\fP(1)use this database. Sometimes that database can get out of sync, andthen it might contain rogue entries. \fBradzap\fP can clean up thisdatabase.As of FreeRADIUS 1.0.3, \fBradzap\fP is a simple shell-script wrapperaround \fBradwho\fP(1) and \fBradclient\fP(1).The sessions are "zapped" by sending an Accounting-Request packetwhich contains the information necessary for the server to delete thesession record. \fBradzap\fP sends a packet to the server, ratherthan writing to \fIradutmp\fP directly, because session records mayalso be maintained in SQL..SH OPTIONS.IP \-d\ \fIraddb_directory\fPThe directory that contains the RADIUS configuration files.\fBradzap\fP reads \fIradiusd.conf\fP to determine the location of the\fIradutmp\fP file..IP \-N\ \fInas_ip_address\fPZap the entries which match the given NAS IP address..IP \-P\ \fInas_port\fPZap the entries which match the given NAS port..IP \-u\ \fIuser\fPZap the entries which match the given username (case insensitive)..IP \-U\ \fIuser\fPZap the entries which match the given username (case sensitive)..IP server[:port]The hostname or IP address of the remote server. Optionally a UDP portcan be specified. If no UDP port is specified, it is looked up in\fI/etc/services\fP. The service name looked for is \fBradacct\fP foraccounting packets, and \fBradius\fP for all other requests. If aservice is not found in \fI/etc/services\fP, 1813 and 1812 are usedrespectively..IP secretThe shared secret for this client. It needs to be defined on theradius server side too, for the IP address you are sending the radiuspackets from..SH SEE ALSOradwho(1),radclient(1),radiusd(8),radiusd.conf(5)..SH AUTHORAlan DeKok <aland@ox.org>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -