Hostapd: ubus update destroys ability to deny assoc, probe and authentications

Commit destroys ability to deny mgmt frames (probe, auth, assoc)?

Why are these lines added?

if (!hapd->ubus.notify_response) {
	ubus_notify(ctx, &hapd->ubus.obj, type, b.head, -1);
	return 0;
}

https://github.com/lede-project/source/commit/d18e0dc7d1f37e3bf779fb474ffc28b1fea690a4#diff-a88aacffd2c40f61a3dc8cb653cde5c5R558

I think you now need to "opt in" or enable the event blocking facility by calling ubus call hostapd.wlan0 notify_response '{ "notify_response": 1 }' once before setting up event notify handlers.

1 Like

Yeah. :slight_smile:
I figured it out and forgot to update this post. ^^