openwrtv3/package/network/services
John Crispin 8f3e9c91a8 hostapd: backport BSSID black/whitelists
This change adds the configuration options "bssid_whitelist" and
"bssid_blacklist" used to limit the AP selection of a network to a
specified (finite) set or discard certain APs.

This can be useful for environments where multiple networks operate
using the same SSID and roaming between those is not desired. It is also
useful to ignore a faulty or otherwise unwanted AP.

In many applications it is useful not just to enumerate a group of well
known access points, but to use a address/mask notation to match an
entire set of addresses (ca:ff:ee:00:00:00/ff:ff:ff:00:00:00).

This is especially useful if an OpenWrt device with two radios is used to
retransmit the same network (one in AP mode for other clients, one as STA for
the uplink); the following configuration prevents the device from associating
with itself, given that the own AP to be avoided is using the bssid
'C0:FF:EE:D0:0D:42':

config wifi-iface
	option device 'radio2'
	option network 'uplink'
	option mode 'sta'
	option ssid 'MyNetwork'
	option encryption 'none'
	list bssid_blacklist 'C0:FF:EE:D0:0D:42/00:FF:FF:FF:FF:FF'

This change consists of the following cherry-picked upstream commits:

b3d6a0a8259002448a29f14855d58fe0a624ab76
b83e455451a875ba233b3b8ac29aff8b62f064f2
79cd993a623e101952b81fa6a29c674cd858504f
(squashed to implement bssid_{white,black}lists)

0047306bc9ab7d46e8cc22ff9a3e876c47626473
(Add os_snprintf_error() helper)

Signed-off-by: Stefan Tomanek <stefan.tomanek+openwrt@wertarbyte.de>

SVN-Revision: 44438
2015-02-13 10:53:54 +00:00
..
authsae license info - revert r43155 2014-11-03 09:56:44 +00:00
dnsmasq dnsmasq: add option --quiet-dhcp 2015-01-17 14:38:55 +00:00
dropbear package/*: replace occurences of 'ln -sf' to '$(LN)' 2014-11-06 19:35:34 +00:00
ead license info - revert r43155 2014-11-03 09:56:44 +00:00
hostapd hostapd: backport BSSID black/whitelists 2015-02-13 10:53:54 +00:00
igmpproxy igmpproxy: add patch to silence unnecessary logging of downstream igmp traffic 2015-01-18 00:42:43 +00:00
ipset-dns Add a few SPDX tags 2014-11-02 12:20:54 +00:00
lldpd lldpd: update to v0.7.13 2015-01-09 12:35:09 +00:00
mdns mdns: install uci package as config 2015-01-14 09:59:26 +00:00
odhcpd odhcpd: disable flash-renumbering hack for non-64 prefixes 2014-11-06 13:37:50 +00:00
openvpn openvpn: autostart openvpn instances for each .conf file in /etc/openvpn 2015-02-07 21:01:28 +00:00
openvpn-easy-rsa license info - revert r43155 2014-11-03 09:56:44 +00:00
ppp ppp: on PPPoE, always send PADT when shutting down the connection 2015-01-24 13:41:10 +00:00
relayd relayd: update to the latest version, adds fixes by Alejandro Enrique 2015-02-11 10:09:57 +00:00
samba36 package/*: replace occurences of 'ln -sf' to '$(LN)' 2014-11-06 19:35:34 +00:00
uhttpd uhttpd: fix another remaining relro issue in the Lua plugin 2015-01-25 20:43:17 +00:00