eapol_test from wpa_supplicat-2.4 fails with MPPE keys mismatch for TTLS:CHAP/MSCHAP/MSCHAPv2

Arran Cudbard-Bell a.cudbardb at freeradius.org
Wed Sep 9 20:14:04 CEST 2015

> On 9 Sep 2015, at 18:55, Matthew Newton <mcn4 at leicester.ac.uk> wrote:
> On Wed, Sep 09, 2015 at 06:03:43PM +0100, Arran Cudbard-Bell wrote:
>>> ("%{rand}" expansion crashed out during expansion upon incoming
>>> packet).
>> What kind of misconfiguration?
> Exactly the above - %{rand} and %{randstr} segfault on expansion,
> %{rand:10} and %{randstr:ccccc} are fine.

In v3.1.x I get

/usr/local/freeradius/etc/raddb/sites-enabled/default[39]: Failed parsing expanded string:
/usr/local/freeradius/etc/raddb/sites-enabled/default[39]: %{rand}
/usr/local/freeradius/etc/raddb/sites-enabled/default[39]:   ^ Unknown attribute

Which is correct.  But yes, crashes with v3.0.x because a NULL fmt pointer gets passed to the xlat function.

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS development team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 872 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20150909/95af3648/attachment.sig>

More information about the Freeradius-Users mailing list