mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-16 08:59:57 +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:
parent
0f979f2b1f
commit
cd0bbfb9c3
@ -21,7 +21,7 @@ const DISCOVER_FLASH = "FLASH";
|
||||
const DISCOVER_FQDN = "STANDARD_FQDN";
|
||||
const DISCOVER_LOOKUP = "OpenLAN";
|
||||
|
||||
const STANDARD_FQDN = "openwifi.network";
|
||||
const STANDARD_FQDN = "openwifi.wlan.local";
|
||||
const STANDARD_FQDN_PORT = 15002;
|
||||
|
||||
let ubus = libubus.connect();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user