OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Packages
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version openwrt-19.07
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by sergii-s-per - 27.05.2021

FS#3831 - WPS push_button method works even when it's not specified in config_methods

System information:

root@OpenWrt:~# ubus call system board
{
	"kernel": "4.14.221",
	"hostname": "OpenWrt",
	"system": "MediaTek MT7621 ver:1 eco:3",
	"release": {
		"distribution": "OpenWrt",
		"version": "19.07.7",
		"revision": "r11306-c4a6851c72",
		"target": "ramips/mt7621",
		"description": "OpenWrt 19.07.7 r11306-c4a6851c72"
	}
}
root@OpenWrt:~# uci show wireless.default_radio0
wireless.default_radio0=wifi-iface
wireless.default_radio0.device='radio0'
wireless.default_radio0.network='lan'
wireless.default_radio0.mode='ap'
wireless.default_radio0.ssid='OpenWrt'
wireless.default_radio0.key='********'
wireless.default_radio0.encryption='psk-mixed'
wireless.default_radio0.wps_label='1'
root@OpenWrt:~# cat /var/run/hostapd-phy0.conf 
driver=nl80211
logger_syslog=127
logger_syslog_level=2
logger_stdout=127
logger_stdout_level=2
hw_mode=g
beacon_int=100
channel=11



ieee80211n=1
ht_coex=0
ht_capab=[SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1]

interface=wlan0
ctrl_interface=/var/run/hostapd
ap_isolate=1
bss_load_update_period=60
chan_util_avg_period=600
disassoc_low_ack=1
preamble=1
wmm_enabled=1
ignore_broadcast_ssid=0
uapsd_advertisement_enabled=1
utf8_ssid=1
multi_ap=0
wpa_passphrase=********
auth_algs=1
wpa=3
wpa_pairwise=CCMP
eap_server=1
wps_state=2
device_type=6-0050F204-1
device_name=OpenWrt AP
manufacturer=www.openwrt.org
config_methods=label
wps_independent=1
ssid=OpenWrt
bridge=br-lan
wpa_disable_eapol_key_retries=0
wpa_key_mgmt=WPA-PSK
okc=0
disable_pmksa_caching=1
bssid=80:3f:5d:61:91:4b

Steps to reproduce:

  1. Install OpenWRT release 19.07.7 with full wpad and hostapd-utils for WPS support
  2. Enable label WPS configuration method:
    uci set wireless.default_radio0.wps_label=1; uci commit wireless; reload_config
  3. Push WPS button

Expected result: nothing happens.
Actual result: WPS PBC starts.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing