[roads] QA F-02: going direct never takes what the tunnel carries out of it
A goes-direct subnet was only checked to be canonical, and the kill switch dropped it only when it reached the internet, so 100.96.0.0/16 (every mesh address) or the home LAN that the plan routes into the tunnel compiled cleanly. Now, decided here because the plan has to say which route wins: - a goes-direct subnet other than /0 that holds a mesh address is refused (direct.mesh); - per device, a direct subnet inside a net the plan tunnels is dropped and reported (direct.tunnelled); - a direct subnet that holds tunnelled nets keeps them in the tunnel, listed in the new plan field direct[].except. A platform that cannot honour except (an app-level bypass) must not apply the entry. The F-02 test now checks that every overlap is covered by except, and that only the mesh subnet is refused. Golden plans and the pinned jana-phone digest are regenerated: the only change is the except lists. Plan format 1 has not been released, so it changes in place.
This commit is contained in:
@@ -42,6 +42,9 @@
|
||||
{
|
||||
"app": "steam",
|
||||
"subnet": "0.0.0.0/0",
|
||||
"except": [
|
||||
"100.96.0.7/32"
|
||||
],
|
||||
"roads": [
|
||||
"e5yj1s"
|
||||
]
|
||||
|
||||
@@ -177,6 +177,12 @@
|
||||
{
|
||||
"app": "steam",
|
||||
"subnet": "0.0.0.0/0",
|
||||
"except": [
|
||||
"100.96.0.1/32",
|
||||
"100.96.0.3/32",
|
||||
"100.96.0.4/32",
|
||||
"100.96.0.5/32"
|
||||
],
|
||||
"roads": [
|
||||
"e5yj1s"
|
||||
]
|
||||
|
||||
@@ -40,6 +40,9 @@
|
||||
{
|
||||
"app": "steam",
|
||||
"subnet": "0.0.0.0/0",
|
||||
"except": [
|
||||
"100.96.0.2/32"
|
||||
],
|
||||
"roads": [
|
||||
"e5yj1s"
|
||||
]
|
||||
|
||||
@@ -40,6 +40,9 @@
|
||||
{
|
||||
"app": "steam",
|
||||
"subnet": "0.0.0.0/0",
|
||||
"except": [
|
||||
"100.96.0.2/32"
|
||||
],
|
||||
"roads": [
|
||||
"e5yj1s"
|
||||
]
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
{
|
||||
"app": "steam",
|
||||
"subnet": "0.0.0.0/0",
|
||||
"except": [],
|
||||
"roads": [
|
||||
"e5yj1s"
|
||||
]
|
||||
|
||||
@@ -31,6 +31,9 @@
|
||||
{
|
||||
"app": "steam",
|
||||
"subnet": "0.0.0.0/0",
|
||||
"except": [
|
||||
"100.96.0.2/32"
|
||||
],
|
||||
"roads": [
|
||||
"e5yj1s"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user