Paul TBBle Hampson Paul.Hampson at Pobox.com
Thu Feb 2 14:37:58 CET 2006

On Thu, Feb 02, 2006 at 10:32:53AM +0100, Carlo Prestopino wrote:
> Hi all,

> I would like to insert a check on users' MAC address operated by freeRADIUS.

> The objective is to allow users to use only one MAC address to gain access
> to a Wi-Fi network. The new query will check if user's MAC address is the
> same of his first access, and deny access if he is using a different one. 

> To do this a new query needs to be inserted into /raddb/sql.conf to perform
> this check in the authentication process, and the
> src/modules/rlm_sql/rlm_sql.c needs to be modified.  

Erk. Why not just make it a check-item (and somehow pass it if the item
is absent) and use the post-auth SQL hook to insert the Mac address into
the relevant table?

Paul "TBBle" Hampson, Bsc, MCSE
On-hiatus Asian Studies student, ANU
The Boss, Bubblesworth Pty Ltd (ABN: 51 095 284 361)
Paul.Hampson at Pobox.Com

Of course Pacman didn't influence us as kids. If it did,
we'd be running around in darkened rooms, popping pills and
listening to repetitive music.
 -- Kristian Wilson, Nintendo, Inc, 1989

License: http://creativecommons.org/licenses/by/2.1/au/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20060203/1a017843/attachment.pgp>

More information about the Freeradius-Devel mailing list