radius user disconnection and same account multiplication problem inradacct

Ivan Kalik tnt at kalik.net
Tue Jul 8 10:54:19 CEST 2008


>A new doubt. Is there anyway to safe disconnet an user from the radius server, in a way that it auto disconnects him from the nas (a pppoe server)?

Users are not connected to the radius server, so there is no need to
"disconnect" them.

>The server is an ISP in production and we have to restart the connection suit (pppoe, radius, firewall) everytime some account starts to multiply itself, so the users that are multiplying can log in again, and not receive the message 'Still logged in' .

Radius server is working fine. Your NAS is broken.

>| radacctid | acctsessionid | acctuniqueid | username | groupname | realm | nasipaddress | naspor
>tid | nasporttype | acctstarttime | acctstoptime | acctsessiontime | acctauthentic | connectinfo_start | connectinfo_stop
>| acctinputoctets | acctoutputoctets | calledstationid | callingstationid | acctterminatecause | servicetype | framedprotocol |
>framedipaddress | acctstartdelay | acctstopdelay | xascendsessionsvrkey |
>+-----------+----------------------------------+--------------+--------------------+-----------+-------+----------------+-------
>----+-------------+---------------------+--------------+-----------------+---------------+-------------------+------------------
>+-----------------+------------------+-----------------+------------------+--------------------+-------------+----------------+-
>----------------+----------------+---------------+----------------------+
>| 14419 | 37142-user212151719 | | user2 | | | XXX.XXX.XXX.252 | 688
>| Ethernet | 2008-07-04 08:46:31 | NULL | 0 | | |
>| 0 | 0 | | X | | Framed-User | PPP |
>XXX.XXX.XXX.182 | 0 | 0 | |
>| 14421 | 37142-user212151719 | | user2 | | | XXX.XXX.XXX.252 | 688
>| Ethernet | 2008-07-04 08:46:34 | NULL | 40 | | | NULL
>| 31795 | 102873 | | X | | Framed-User | PPP |
>XXX.XXX.XXX.182 | 0 | NULL | |
>| 14424 | 37142-user212151719 | | user2 | | | XXX.XXX.XXX.252 | 688
>| Ethernet | 2008-07-04 08:46:37 | NULL | 80 | | | NULL
>| 59226 | 215383 | | X | | Framed-User | PPP |
>XXX.XXX.XXX.182 | 0 | NULL | |

It's sending different start times for this session. Fix your NAS to do
accounting properly. Or get one that works.

Ivan Kalik
Kalik Informatika ISP




More information about the Freeradius-Users mailing list