Add delay to eapol_test

Jouni Malinen j
Wed Mar 3 10:12:24 PST 2010

On Thu, Feb 25, 2010 at 04:51:20PM -0600, Ben Wiechman wrote:
> I have been doing some stress testing using eapol_test. Is there some way to
> add in a bit of delay between the receipt of an access-challenge and the
> responding access request to simulate the additional latency that would
> exist when a real client would be authenticating off my RADIUS server?
> I don't see a configuration item for this. Can someone point me to the
> ballpark where I could add this to the code if required?

There is no configuration item for this and it should be possible to add
some sleep()/usleep() pretty much anywhere that processes EAP or RADIUS
messages to achieve this.. The cleanest place for this could be in
eapol_test.c just before the radius_client_send() call in

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list