The node-engine seat's converged answers the node's links

The holder of node-packet-filter must tell an outward link from the tunnel
without reading the loaded table's shape, so converged answers the links as
the engine classifies them for its filter render: tunnel, the private
network's interface, and outward, the outward links. Packages generated
again by seatgen (seatgen -check clean).

Builds: design 33 control-verbs §10; design 08 control-verbs §2; design 47 H H-A-325
This commit is contained in:
2026-11-21 21:15:35 +01:00
parent efcef83cf4
commit 7afd93ddc2
5 changed files with 36 additions and 6 deletions
+11 -2
View File
@@ -290,7 +290,12 @@
"given": {
"state": "adopted",
"since": "2026-10-02T09:00:00Z",
"found": "ufw"
"found": "ufw",
"tunnel": "mesh0",
"outward": [
"eth0",
"wlan0"
]
}
},
{
@@ -298,7 +303,11 @@
"of": "verb:converged.answer",
"given": {
"state": "converged",
"since": "2026-11-21T19:00:00Z"
"since": "2026-11-21T19:00:00Z",
"tunnel": "mesh0",
"outward": [
"eth0"
]
}
},
{
+15 -2
View File
@@ -1081,7 +1081,7 @@
},
{
"name": "converged",
"description": "The node's convergence state, which the node-engine keeps (ADR 0168, ADR 0683; design 33 control-verbs \u00a710): adopted or converged, since when it became so, and for an adopted node the kind of the firewall found. Read-only: the holder of node-packet-filter asks it at its start and at every allow and disallow, and refuses when it does not answer.",
"description": "The node's convergence state, which the node-engine keeps (ADR 0168, ADR 0683; design 33 control-verbs \u00a710): adopted or converged, since when it became so, for an adopted node the kind of the firewall found, and the node's links as the engine classifies them: the tunnel's interface and the outward links (design 47 H-A-325). Read-only: the holder of node-packet-filter asks it at its start and at every allow and disallow, and refuses when it does not answer.",
"class": "read",
"input": {
"type": "object",
@@ -1090,7 +1090,9 @@
"answer": {
"type": "object",
"required": [
"state"
"state",
"tunnel",
"outward"
],
"properties": {
"state": {
@@ -1108,6 +1110,17 @@
"found": {
"type": "string",
"description": "the kind of the firewall found, for an adopted node"
},
"tunnel": {
"type": "string",
"description": "the private network's tunnel interface on this node, as the engine's filter render names it"
},
"outward": {
"type": "array",
"items": {
"type": "string"
},
"description": "the links of this node that face outside, as the engine classifies them for its filter render (ADR 0140); an allowance with no interface never opens one"
}
}
}