SSID check

Benoit RAYNIER benoit.raynier at flex-o.fr
Mon Aug 1 12:40:09 UTC 2022


-----Message d'origine-----
De : Freeradius-Users <freeradius-users-bounces+benoit.raynier=flex-o.fr at lists.freeradius.org> De la part de Matthew Newton
Envoyé : lundi 1 août 2022 12:59
À : FreeRadius users mailing list <freeradius-users at lists.freeradius.org>
Objet : Re: SSID check



On 1 August 2022 11:14:35 BST, Benoit RAYNIER <benoit.raynier at flex-o.fr> wrote:
>I want to Allow an user to connect freeradius only if the SSID match, with the ssid stored in the database.

>Ok

>I tried to add the Check Attibute « Called-Station-id » == « SSID name » to the user profile but this is not working.

>What does that attribute contain in the incoming request? I doubt it is just the SSID name. Run in debug mode to see.

It contains MAC:SSID



>I also tried to add the attribue Allow-called-station-id but this is not working.

>You can't just make up attributes and expect them to work.

>You can often use the rewrite_called_station_id policy to extract the SSID if it is present.

Where can I find the rewrite_called_station_id policy and use it to extract the SSID in an attribute for compare it ?

Thanks

-- 
Matthew
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


More information about the Freeradius-Users mailing list