Re: [PATCH] wpa_cli: Run action file in case of an AP event

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

 



On Wed, May 25, 2016 at 09:08:11AM +0200, Jörg Krause wrote:
> I would like to pass more events, e.g. ASSOC-REJECT, to the action
> script. Do you have any concerns about which events are passed?

I do have some concern based on what is actually included in the event
contents, i.e., whether it is something that can be controlled by remote
devices. This is an area that is inconveniently easy to do in a manner
that results in security vulnerabilities.

> Currently, the events are passed in two different ways: Pass a
> shortened string like "CONNECTED" and "DISCONNECTED" for CTRL_EVENT_*
> or pass a full string for all other events.
> 
> As ASSOC-REJECT is of type CTRL_EVENT_* too, do you prefer to pass the
> string "ASSOC-REJECT" or CTRL_EVENT_ASSOC_REJECT, e.g.
> 
>     wpa_cli_exec(action_file, ifname, "ASSOC-REJECT");
> 
> OR
> 
>     wpa_cli_exec(action_file, ifname, CTRL_EVENT_ASSOC_REJECT);

I have no strong preference on that front.

-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
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