14 Aug
2014
14 Aug
'14
8:04 a.m.
If FreeRADIUS could do this, the packet parsing would have to be two-pass - decode without authenticator (because you lack the secret), extract NAS-IP-Address, find client/secret, then validate authenticator / Message-Authenticator, and decide to drop or pass and decrypt encrypted fields.
But doesn't the rlm_raw module provide exactly this? The ability to get to payload attributes then use them to lookup the secret etc in the dynamic-client SQL request? For the user check nas-ip-address is natively available so the user lookup by nas-ip-address is easy. I also appreciate that the raw module is not official FR code. Cheers Kev/.