Re: supplicant: Turn ignore_auth_resp into u16 and treat as percentage?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 02/05/2017 11:41 AM, Jouni Malinen wrote:
On Tue, Jan 24, 2017 at 10:20:25AM -0800, Ben Greear wrote:
I notice the ignore_auth_resp is a boolean that can be used to make supplicant
ignore EAPOL pkts it receives.  Any opinions on turning this into a 16-bit variable
and using it to represent a percentage (0 == never, 0xFFFF == always) to allow
supplicant to drop just some of the EAPOL pkts received?

I'm not sure this is really the best approach. I'd rather remove
ignore_auth_resp completely and focus on ext_mgmt_frame_handling and
ext_eapol_frame_io to enable more complex test cases where various
frames are to be lost, modified, or delayed.

The external plugin scripts are more powerful, but I'd think more
difficult to use, especially if you are trying to easily
automate hundreds of virtual stations or if you have only
basic understanding of how wifi management logic works.

I think for my users, being able to do these delays, drops, and
corruptions will be sufficient.

The majority of the code is #ifdef'd out unless you specifically
enable testing code, so I think it is not too intrusive.  But
either way, thanks for taking time to comment on them.

Thanks,
Ben

--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux