Close Phase 4 overlay and Unix forwarding gaps
This commit is contained in:
parent
0fdf5d0be7
commit
b0768999db
9 changed files with 210 additions and 13 deletions
|
|
@ -327,6 +327,7 @@ pub fn interface_plan(
|
|||
.to_owned(),
|
||||
"activation is explicit and user-scoped".to_owned(),
|
||||
"all overlay packets remain carried over /geth/overlay/1".to_owned(),
|
||||
"release archives include docs/overlay-platforms.md with Linux TUN, macOS entitlement, and Windows Wintun guidance".to_owned(),
|
||||
],
|
||||
})
|
||||
}
|
||||
|
|
@ -525,5 +526,17 @@ mod tests {
|
|||
.iter()
|
||||
.any(|note| note.contains("generated"))
|
||||
);
|
||||
assert!(
|
||||
interface
|
||||
.notes
|
||||
.iter()
|
||||
.any(|note| note.contains("overlay-platforms.md"))
|
||||
);
|
||||
let macos = interface_plan(&plan, Some("macos"), Some("172.22.0.10"))
|
||||
.expect("macOS interface plan");
|
||||
assert!(macos.commands.iter().any(|cmd| cmd.contains("utun")));
|
||||
let windows = interface_plan(&plan, Some("windows"), Some("172.22.0.10"))
|
||||
.expect("Windows interface plan");
|
||||
assert!(windows.commands.iter().any(|cmd| cmd.contains("Wintun")));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue