Check MAC address

nicolas.clo at nicolas.clo at
Wed Jun 18 14:16:27 CEST 2014

Hi list,

Are there any way to check validity of MAC address but one times only and not every time while
processing the virtual site ?

Actually I used this :

authorize {

	if (!Calling-Station-Id == "%{sql:SELECT mac_address FROM `mac` WHERE
mac_address='%{Calling-Station-Id}'}") {
                                update reply {
                                        Reply-Message += "MAC address %{Calling-Station-Id} was not
found in database - Login refused "

The cache module is the only way ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Freeradius-Users mailing list