matching on nas entry/shortname

Ivan Kalik tnt at kalik.net
Wed Jul 8 14:35:57 CEST 2009


> Matching an entry based on the NAS's IP Address value in the request is
> doable
> via DEFAULT NAS-IP-Address == "1.2.3.4" ...
>
> How about if I wouldn't want to count on that attribute and I'd rather
> just
> want to
> match based on the NAS entry itself (which is read from mysql) or the
> shortname
> assigned to the NAS in that mysql database.

How would that work? You read something from the database and compare it
to - what? If you don't wan't to rely on NAS-IP-Address you can use
internal attribute Client-IP-Address which can't be spoofed.

Ivan Kalik
Kalik Informatika ISP




More information about the Freeradius-Users mailing list