Design 47 H: H-A-315 and H-A-316, the packet filter's design after the security review; the converged read verb
This commit is contained in:
@@ -1883,3 +1883,24 @@ Where two preparers disagreed, the chosen one is named.
|
||||
engine's compose verb and loaded with reload. (8) The acceptance test first shows a home-network machine refused
|
||||
before allow (today's render accepts every link that is neither outward nor the tunnel: the test must prove the
|
||||
drop first). P7, P11 (settings with defaults), P-failure-loud.
|
||||
- **H-A-315 (the packet filter's design, the security review's seven points, 20:40)** (1) A state is one bucket per
|
||||
name for the whole mesh, so the allowances state takes the state template's option of one bucket per machine; a
|
||||
node's holder answers its own node's allowances only (a test: an allowance on one node is absent from another's
|
||||
allowed). (2) allow and disallow are class act, by-caller; allowed is class read; the node-engine's manifest
|
||||
invokes seat:node-packet-filter.allowed and consumes the event (as H-A-314 (3)). (3) allow and disallow refuse a
|
||||
caller of unproven; for a session's call, who names the tool runner's account. (4) The node-engine renders an
|
||||
allowance with an until as an element of an nftables set with a timeout, so the kernel closes it at its until
|
||||
even while the holder is away; the holder deletes every passed key at its start (H-A-312). (5) The rule's comment
|
||||
is "allowance <key> <at>"; rules marks loaded only on an equal at, and lists every loaded allowance comment with
|
||||
no kept key as "loaded, not kept". (6) A running holder is not withdrawn when its seat's definition grows; it holds
|
||||
the seat until replaced; while a node's holder does not serve allowed (a rollback, a laptop asleep), the node-
|
||||
engine refuses filter composes and keeps the loaded filter (H-A-307). (7) allow refuses a port a derived rule
|
||||
admits from the private network only (the store's, the broker's management port) unless a source is given; ADR
|
||||
0683 §3's refusals gain it. Notes taken: allow and disallow are written in the hand-act log (ADR 0565 §10); the
|
||||
wording is "removed at its until" everywhere; the glossary says "by the operator, through the seat". P-security,
|
||||
P-failure-loud, P11.
|
||||
- **H-A-316 (how the holder learns its node is adopted, 20:40)** The node-engine seat gains a read verb converged
|
||||
that answers the node's convergence state (adopted or converged, since when, the found firewall's kind when
|
||||
adopted), built in the group's node-engine part; the holder asks it at its start and at every allow and disallow,
|
||||
bounded by the compose-ask bound, and refuses when it does not answer (never assumes converged). P7, P-failure-
|
||||
loud.
|
||||
|
||||
Reference in New Issue
Block a user