rlm_perl -- Groeten, Regards, Salutations, Thor Spruyt M: +32 (0)475 67 22 65 E: thor.spruyt@telenet.be W: www.thor-spruyt.com www.salesguide.be www.telenethotspot.be ----- Original Message ----- From: Carlo Prestopino To: freeradius-devel@lists.freeradius.org Sent: Thursday, February 02, 2006 10:32 AM Subject: rlm_sql 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. Writing the new query is not a problem, but modifying rlm_sql.c seems to be not so easy. Could somebody give indication on how to do this in order to speed up development process? A description of information flow (variables/funtions/pointers) into rlm_sql.c might be useful. Thank you in advance, Best regards, Carlo ------------------------------------------------------------------------------ - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html