Skip to content

parker7: OWE as opt-in SSID (<ssid>/encrypted), no OWE on the normal SSID - #1018

Merged
awlx merged 1 commit into
parkerfrom
awlx-parker7-owe-opt-in-ssid
Nov 21, 2026
Merged

awlx merged 1 commit into
parkerfrom
awlx-parker7-owe-opt-in-ssid

Conversation

@awlx

@awlx awlx commented Nov 21, 2026

Copy link
Copy Markdown
Member

Change

This PR makes OWE opt-in on the parker firmware line (parker7).

  • The normal client SSID is open only. It has no OWE transition mode.
  • Each domain that had OWE gets a separate, visible SSID that uses only OWE (no transition mode):
Domain Open SSID OWE SSID Bytes
ffmuc muenchen.freifunk.net muenchen.freifunk.net/encrypted 31
ffdon Freifunk-Donau-Ries Freifunk-Donau-Ries/encrypted 29
ffwert wertingen.freifunk.net wertingen.freifunk.net/encrypted 32
  • ffbachtal_bachtal and ffdlg_dlg had no OWE. They do not change.
  • The change applies to wifi24 and wifi5.

Gluon mechanism: in wifi.ap, set owe_ssid and remove owe_transition_mode. Gluon then makes a separate owe_radioN interface with encryption owe and ieee80211w 2 (MFP required). Gluon makes this interface only when the device has the WPA3 feature and all radios support MFP. The site check accepts SSIDs of up to 32 bytes. On upgrade, Gluon writes the wireless config again, so the old transition options are removed.

This PR replaces #1005 ("domains: remove OWE SSIDs"). OWE stays, but only as a separate opt-in SSID. Thank you @grische for #1005 and the discussion around it. Please review.

Risks

  • Devices without the WPA3 feature or without MFP on all radios do not send the /encrypted SSID. They send only the open SSID.
  • Older clients without OWE do not show the /encrypted SSID as usable. They must use the open SSID. Clients that used the old transition mode now connect to the open SSID without encryption, until the user selects /encrypted.
  • The extra SSID sends one more beacon per radio. This uses airtime, mostly on 2.4 GHz.
  • ff-ap-timer switches only the client_radioN interfaces. The /encrypted SSID stays on during timer off-times. This needs a follow-up in community-packages.
  • ssid-changer handles the extra SSID: when the node is offline, it disables owe_radioN, and it enables it again when the node is online.

Tests

Test setup: one QEMU arm64 VM (armsr-armv8) with mac80211_hwsim radios=3 and domain ffmuc. Radio 0 is 2.4 GHz (ch 6), radio 1 is 5 GHz (ch 44), and radio 2 is the test client (wpa_supplicant in a network namespace).

Image: gluon-ffmuc-v2026.11.1-parker6+owe-cc99cb5-lab-armsr-armv8-sysupgrade.img.gz, sha256 85fcfaa17fcc747f621fe677ccbcbfaa3ccc78f03ab831382f05e8008403fb65. This is a lab-only image with extra test packages: kmod-mac80211-hwsim, wpa-supplicant-mbedtls, wpa-cli, ip-full, iw-full and tcpdump-mini. These packages are not part of this PR.

Results (all PASS):

  1. Interfaces: iw dev shows client0/client1 with muenchen.freifunk.net and owe0/owe1 with muenchen.freifunk.net/encrypted, on 2437 MHz and 5220 MHz.
  2. Open SSID has no OWE: the client BSS has wpa=0 and no owe_transition_ifname. The scan shows [ESS] with no RSN, and 0 OWE transition vendor IEs (50:6f:9a type 1c). The OWE BSS has wpa_key_mgmt=OWE, ieee80211w=2 and ignore_broadcast_ssid=0. The scan shows [WPA2-OWE-CCMP][ESS] with "MFP-required".
  3. OWE join, both bands: key_mgmt=OWE, pmf=2, mgmt_group_cipher=BIP, wpa_state=COMPLETED, hostapd EAPOL-4WAY-HS-COMPLETED, DHCP lease received, and a ping to the node is 3/3.
  4. Open join, both bands: key_mgmt=NONE, AP-STA-CONNECTED auth_alg=open, DHCP lease received, and a ping to the node is 3/3.
  5. ssid-changer: with the WAN link down, it logs "reconfiguring wifi to offline ssid". The client SSID changes to offline.ffmuc.net/<hostname>, and owe0/owe1 are removed. When the node is online again, it logs "reverting offline ssid back to default wireless config". owe0/owe1 come back, and a new OWE join works.

Site check: Lua validation of the domain files passes (32-byte SSID accepted).

Not tested:

  • Real hardware (the test used hwsim radios only).
  • Real clients, for example phones and laptops, with and without OWE support.
  • ff-ap-timer.
  • In the VM, the WAN tunnels were not stable, so the online/offline trigger for ssid-changer was set by hand. The ssid-changer logic itself ran without changes.

The open client SSID no longer uses OWE transition mode. Each domain
that had OWE now sends a separate, visible OWE-only SSID:

- ffmuc: muenchen.freifunk.net/encrypted
- ffdon: Freifunk-Donau-Ries/encrypted
- ffwert: wertingen.freifunk.net/encrypted

ffbachtal_bachtal and ffdlg_dlg had no OWE and do not change.
@awlx awlx mentioned this pull request Nov 21, 2026
18 of 25 tasks
@awlx
awlx requested review from a team and maurerle as code owners November 21, 2026 15:29
@grische

grische commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

@awlx don't you think opt-out would be a better choice? Or did I misunderstand?

Effectively a config mode toggle that sets owe_radio* to disable=1 in uci

@awlx

awlx commented Nov 21, 2026

Copy link
Copy Markdown
Member Author

It caused too many issues so it's not an option anymore.

@awlx
awlx merged commit b48257f into parker Nov 21, 2026
37 checks passed
@awlx
awlx deleted the awlx-parker7-owe-opt-in-ssid branch November 21, 2026 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants