PEAP/EAP-MSCHAPv2 module modification problem

Phil Mayers p.mayers at
Thu May 23 13:24:43 CEST 2013

On 23/05/13 12:00, Ivan Ostres wrote:
> Forgot to mention - if I put this AVP in rlm_eap.c (line 439) under:
>         if ((request->reply->code == PW_AUTHENTICATION_ACK) &&
>              request->username) {
> This VSA is contained in outgoing access-accept. But the problem is that
> this VSA value should be set in eap-mschapv2. How to transfer value from
> EAP-MSCHAPv2 to rlm_eap?

It sounds like you need:

use_tunneled_reply = yes your "peap {}" block. Attributes from the inner access-accept 
should be copied to the outer if this is set.

More information about the Freeradius-Devel mailing list