about /usr/local/sbin/checkrad
Hello, Do I understand right or not about checkrad? Please drive me right direction. radius# checkrad Usage: checkrad nas_type nas_ip nas_port login session_id What is nas_port ? is it mean 1645, 1646 ? I found the session_id from cisco router with following command hostname#sh pppoe session all Total PPPoE sessions 3 *session id: 184* local MAC address: 001d.46c7.2630, remote MAC address: 00e0.a666.51eb virtual access interface: Vi2.2, outgoing interface: Gi0/0.1 206389 packets sent, 185625 received 246455857 bytes sent, 20392801 received is it ? Best regards, Tseveen.
Tseveendorj wrote:
What is nas_port ? is it mean 1645, 1646 ?
No. It's not a UDP port. It means "port on the NAS". See http://freeradius.org/rfc/attributes.html. Click on "NAS-Port" Alan DeKok.
Do I understand right or not about checkrad? Please drive me right direction.
radius# checkrad Usage: checkrad nas_type nas_ip nas_port login session_id
Checkrad checks if the accounting session open in the database is still open on the NAS as well. You can find nas_ip, nas_port, login (ie. username) and session_id in your radacct table. You can also find the query that lists open sessions in dialup.conf. Ivan Kalik Kalik Informatika ISP
Thanks for excellent help. On Fri, Apr 24, 2009 at 5:47 PM, <tnt@kalik.net> wrote:
Do I understand right or not about checkrad? Please drive me right direction.
radius# checkrad Usage: checkrad nas_type nas_ip nas_port login session_id
Checkrad checks if the accounting session open in the database is still open on the NAS as well. You can find nas_ip, nas_port, login (ie. username) and session_id in your radacct table. You can also find the query that lists open sessions in dialup.conf.
Ivan Kalik Kalik Informatika ISP
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (4)
-
Alan DeKok -
tnt@kalik.net -
Tseveendorj -
Tseveendorj Ochirlantuu