[EXT] Lockout

Brian Julin BJulin at clarku.edu
Fri Jun 4 03:03:35 CEST 2021

Victor, Eben, Vodacom South Africa (External) <Eben.Victor at vcontractor.co.za> wrote

> I’m hoping someone could assist me.

> Is it possible to deny/lockout users with the calling-stattion-id?

> I’m trying to lockout users connecting to my wifi with x connections a week from x called-stattion-id.

You could store Calling-Station-Id/Called-Station-Id/time tuples in an sql database and then devise an SQL query that returns the number of matching records, and make a decision based on that.  And then write something to clean old entries out of the database.  Look at rlm_sql for that.

But if the user knows what they are doing they can easily change their MAC address, so it would be much better to use a User-Name with a AAA protocol hat supports accounts, rather than the Calling-Station-Id.

C2 General

This e-mail is classified C2 - Vodacom Restricted - Information to be used inside Vodacom but it may be shared with authorised partners.
List info/subscribe/unsubscribe? See https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freeradius.org%2Flist%2Fusers.html&data=04%7C01%7Cbjulin%40clarku.edu%7C1e5324db033541b0571908d926de48d0%7Cb5b2263d68aa453eb972aa1421410f80%7C0%7C1%7C637583558427193667%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=%2FOn1bNXIinG%2FsaZqXSM6MKqHtXhdkzP5EYi806WmUD0%3D&reserved=0

More information about the Freeradius-Users mailing list