mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-16 21:07:14 +00:00
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:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user