radius icon indicating copy to clipboard operation
radius copied to clipboard

Support for CoA

Open aleksander237 opened this issue 3 years ago • 1 comments
trafficstars

Hello,

not really the issue, more like feature request. Do you plan to add support for https://www.ietf.org/rfc/rfc3576.txt. I don't now about other radius servers but FreeRADIUS has a coa-relay feature. You can configure FreeRADIUS to receive CoA packets and redirect them to the NAS. It is especially usefull when FreeRADIUS is used along with SQL database, and there is a PHP application which saves users in this database. Using your class, an application could use method like disconnectRequest($username) to disconnect user from NAS.

If you don't plan to extend your class, could you consider to make methods like clearError, decodeAttribute, generateRequestAuthenticator, parseRadiusResponsePacket, readRadiusResponse, sendRadiusRequest protected, so the class could be easily extended ?

Best regards

aleksander237 avatar Nov 24 '21 17:11 aleksander237

+1 support for CoA (msg types 40-45)

a1bert01 avatar Sep 06 '22 18:09 a1bert01