[roads] QA B-3: an app road names whose devices it is for, and reaches only those
subject: app:<id> applied to every device in the mesh, so whoever could write one road (app:steam goes-direct 0.0.0.0/0) changed the tunnel of other people's devices, an exit and a classic router. An app road now needs the new header key on: (a person, group or device), and reaches only those devices; on: is forbidden on any other subject. The home fixture's steam road is on Mark's devices, so it leaves Jana's, Petr's and the router's plans. Four fixtures, a B-3 test (fails if app roads reach every device again), the property generator scopes app roads to a person, and the R-55 renaming rewrites on: like subject:.
This commit is contained in:
+1
-12
@@ -39,17 +39,6 @@
|
||||
"dns": [],
|
||||
"exit": null,
|
||||
"kill_switch": null,
|
||||
"direct": [
|
||||
{
|
||||
"app": "steam",
|
||||
"subnet": "0.0.0.0/0",
|
||||
"except": [
|
||||
"100.96.0.7/32"
|
||||
],
|
||||
"roads": [
|
||||
"e5yj1s"
|
||||
]
|
||||
}
|
||||
],
|
||||
"direct": [],
|
||||
"custom": []
|
||||
}
|
||||
|
||||
+1
-13
@@ -38,18 +38,6 @@
|
||||
],
|
||||
"exit": null,
|
||||
"kill_switch": null,
|
||||
"direct": [
|
||||
{
|
||||
"app": "steam",
|
||||
"subnet": "0.0.0.0/0",
|
||||
"except": [
|
||||
"100.96.0.2/32",
|
||||
"100.96.1.2/32"
|
||||
],
|
||||
"roads": [
|
||||
"e5yj1s"
|
||||
]
|
||||
}
|
||||
],
|
||||
"direct": [],
|
||||
"custom": []
|
||||
}
|
||||
|
||||
+1
-13
@@ -38,18 +38,6 @@
|
||||
],
|
||||
"exit": null,
|
||||
"kill_switch": null,
|
||||
"direct": [
|
||||
{
|
||||
"app": "steam",
|
||||
"subnet": "0.0.0.0/0",
|
||||
"except": [
|
||||
"100.96.0.2/32",
|
||||
"100.96.1.2/32"
|
||||
],
|
||||
"roads": [
|
||||
"e5yj1s"
|
||||
]
|
||||
}
|
||||
],
|
||||
"direct": [],
|
||||
"custom": []
|
||||
}
|
||||
|
||||
+1
-10
@@ -34,15 +34,6 @@
|
||||
]
|
||||
},
|
||||
"kill_switch": null,
|
||||
"direct": [
|
||||
{
|
||||
"app": "steam",
|
||||
"subnet": "0.0.0.0/0",
|
||||
"except": [],
|
||||
"roads": [
|
||||
"e5yj1s"
|
||||
]
|
||||
}
|
||||
],
|
||||
"direct": [],
|
||||
"custom": []
|
||||
}
|
||||
|
||||
+1
-13
@@ -29,19 +29,7 @@
|
||||
"dns": [],
|
||||
"exit": null,
|
||||
"kill_switch": null,
|
||||
"direct": [
|
||||
{
|
||||
"app": "steam",
|
||||
"subnet": "0.0.0.0/0",
|
||||
"except": [
|
||||
"100.96.0.2/32",
|
||||
"100.96.1.2/32"
|
||||
],
|
||||
"roads": [
|
||||
"e5yj1s"
|
||||
]
|
||||
}
|
||||
],
|
||||
"direct": [],
|
||||
"custom": [
|
||||
{
|
||||
"road": "x1d7qa",
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
---
|
||||
id: e5yj1s
|
||||
subject: app:steam
|
||||
on: person:mark
|
||||
verb: goes-direct
|
||||
object: subnet:0.0.0.0/0
|
||||
created: 2026-11-21T18:30:00+01:00
|
||||
---
|
||||
Games do not go through the tunnel.
|
||||
Mark's games do not go through the tunnel.
|
||||
|
||||
@@ -48,6 +48,10 @@ road a00046-until-comment.md key.empty until
|
||||
road a00047-empty-ports.md key.empty ports
|
||||
road a00048-direct-mesh.md direct.mesh object
|
||||
road a00049-direct-tunnelled.md direct.tunnelled object
|
||||
road a00050-app-everyone.md key.missing on
|
||||
road a00051-on-not-app.md key.forbidden on
|
||||
road a00052-on-nobody.md subject.unknown on
|
||||
road a00053-on-service.md subject.kind on
|
||||
directory unknown-field.directory.json snapshot.json -
|
||||
directory format-two.directory.json snapshot.format format
|
||||
directory bad-person-id.directory.json directory.id people[3].id
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
id: a00050
|
||||
subject: app:steam
|
||||
verb: goes-direct
|
||||
object: subnet:0.0.0.0/0
|
||||
created: 2026-11-25T10:00:00+01:00
|
||||
---
|
||||
@@ -0,0 +1,8 @@
|
||||
---
|
||||
id: a00051
|
||||
subject: person:jana
|
||||
on: person:mark
|
||||
verb: goes-direct
|
||||
object: subnet:0.0.0.0/0
|
||||
created: 2026-11-25T10:00:00+01:00
|
||||
---
|
||||
@@ -0,0 +1,8 @@
|
||||
---
|
||||
id: a00052
|
||||
subject: app:steam
|
||||
on: person:nobody
|
||||
verb: goes-direct
|
||||
object: subnet:0.0.0.0/0
|
||||
created: 2026-11-25T10:00:00+01:00
|
||||
---
|
||||
@@ -0,0 +1,8 @@
|
||||
---
|
||||
id: a00053
|
||||
subject: app:steam
|
||||
on: service:photos.home.arpa
|
||||
verb: goes-direct
|
||||
object: subnet:0.0.0.0/0
|
||||
created: 2026-11-25T10:00:00+01:00
|
||||
---
|
||||
Reference in New Issue
Block a user