eapol_test: override the value of Framed-MTU

Jouni Malinen j
Sun Jul 6 00:40:03 PDT 2008


On Thu, Jun 26, 2008 at 11:16:25AM +0200, Dana Blanaru wrote:

> Currently, when using eapol_test as a client, the access request packet
> contains Framed-MTU = 1400. I would like to reduce it to 1344. I have tried
> to include this attribute in the eapol config file but it doesn't recognize
> the network field and i got failure in parsing the config file.
> Does anyone know how to change the value of Framed-MTU?

By changing the hardcoded value in eapol_test.c:

    if (!radius_msg_add_attr_int32(msg, RADIUS_ATTR_FRAMED_MTU, 1400)) {

> Another question: how can i increase the eapol_test timeout?

-t<timeout> command line argument in the current version or by changing
eapol_test.c if you are using older version that does not have this
option (search for eloop_register_timeout calls).

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list