cloud_discovery: use .local TLD for standard FQDN discovery

Change standard FQDN from 'openwifi.network' to 'openwifi.wlan.local'
to prevent DNS hijacking attacks. The .local TLD is reserved for local
network use (mDNS) and cannot be registered in public DNS, ensuring
that discovery traffic cannot be redirected to attacker-controlled
infrastructure.

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2025-11-25 07:31:08 +01:00
parent 0f979f2b1f
commit cd0bbfb9c3

View File

@@ -21,7 +21,7 @@ const DISCOVER_FLASH = "FLASH";
const DISCOVER_FQDN = "STANDARD_FQDN"; const DISCOVER_FQDN = "STANDARD_FQDN";
const DISCOVER_LOOKUP = "OpenLAN"; const DISCOVER_LOOKUP = "OpenLAN";
const STANDARD_FQDN = "openwifi.network"; const STANDARD_FQDN = "openwifi.wlan.local";
const STANDARD_FQDN_PORT = 15002; const STANDARD_FQDN_PORT = 15002;
let ubus = libubus.connect(); let ubus = libubus.connect();