added automatic latest firmware spoofing
This commit is contained in:
@@ -8,6 +8,7 @@ Daemon that makes an OpenWrt router appear as a UniFi AP to UniFi Network contro
|
||||
| --- | --- | --- |
|
||||
| **L2 Discovery** | UDP broadcast + multicast every 10s | `announce.c` → port 10001 |
|
||||
| **Adoption** | AES-128-CBC handshake with the controller | `inform.c` → `handle_response()` |
|
||||
| **Firmware spoofing** | Persists and reports the target version requested by an upgrade | `inform.c` → `handle_response()` |
|
||||
| **WiFi Config** | Creates WiFi networks from the controller via UCI | `wlan.c` → `wlan_apply_config()` |
|
||||
| **Band Steering** | 802.11k/v Neighbor Reports + BSS Transition | `wlan.c` → `apply_vap()` |
|
||||
| **Fast Roaming** | 802.11r FT with mobility_domain derived from MAC | `wlan.c` → `apply_vap()` |
|
||||
@@ -99,6 +100,10 @@ Daemon settings live in `/etc/openuf/openuf.conf`. Adoption and controller state
|
||||
are persisted separately in `/etc/openuf/state.json`; do not copy that file
|
||||
between devices because it contains the device authentication key.
|
||||
|
||||
Because UniFi firmware cannot run on the OpenWrt host, an upgrade request does
|
||||
not download or install its image. Instead, openUF saves the requested firmware
|
||||
version in `state.json` and reports it in subsequent inform packets.
|
||||
|
||||
---
|
||||
|
||||
## Glossary
|
||||
|
||||
Reference in New Issue
Block a user