[roads] QA F-08: a mesh address is never an internet address

devices.address refused only special and IPv4-embedding ranges, so a public
address was accepted, and an exit's forward-to-internet rule then covered that
device's mesh address. Mesh addresses now stay inside the not-internet ranges
(100.64.0.0/10, RFC 1918, ULA). Two fixtures, IPv4 and IPv6.
This commit is contained in:
2026-11-25 08:50:23 +01:00
parent 31a46d0367
commit ff78361165
6 changed files with 45 additions and 4 deletions
-1
View File
@@ -259,7 +259,6 @@ fn f07_a_missing_roads_folder_is_reported() {
/// F-08. A device's mesh address may be a public address. The exit's forward rule to `internet` then covers
/// another device's mesh address, so "exit through the friend node" also reaches that device through the exit.
#[test]
#[ignore = "QA F-08 (minor): mesh addresses are not confined to private ranges"]
fn f08_mesh_addresses_are_never_internet_addresses() {
let parts = Parts::home()
.edit_devices(|d| d.replace(r#""address": "100.96.0.4""#, r#""address": "198.51.100.4""#));