Definition
Reachability after update is the property that, once a new configuration or program is active on a device, the management clients (the tools that manage the device) can still open a new connection, pass the new admission checks, which decide whether to accept and how to protect a connection, and deliver the next update or a recovery command. It is tested with a fresh connection under the new rules, because a connection already open was admitted under the old rules and may never meet the checks that changed.
The idea
An operator sends a device a new security policy: rules that decide which peers may connect and what protection a connection must have. The device installs and activates it, and the operator’s tool sends a test command over the connection it already has. The device answers, so the update looks healthy. But the policy contains a mistake: it demands a kind of protection that none of the operator’s tools can provide. The test passed only because the device applies the policy when a connection is set up, and the tool’s connection had been set up under the old policy. When that connection ends, every new attempt is refused. The device is locked out: nobody can send it the corrected policy, and a device in the field may need a site visit or be lost.
Changing the lock on a front door from the inside is a fair picture. Holding the door open proves nothing about whether the new key fits. The real test is to step outside, close the door and try the key, with someone still inside who can undo the change if it does not fit. The picture stops at one point: an update may be meant to keep some parties out, for example a peer whose permission was withdrawn. A refused connection is a fault only when the policy meant to admit that party.
How it works
Keeping a device reachable takes a stated property, a check before deployment, a fresh test after activation, and an automatic way back.
State the property. Name which management clients must keep access, with which credentials (the keys or identities they present), to which service (for example the one that accepts updates), and from which state stored on the device. In Bluetooth Low Energy §7.1, for example, pairing is the procedure in which two devices create shared keys, and bonding §7.18 is storing those keys for later connections. A client that holds a bond reconnects with its stored keys, a different path from that of a client that must pair for the first time.
Check the policy before deployment. The tool that builds or deploys a policy can refuse one that plainly rejects every peer on the management path, such as a rule that denies all connections or demands a level of protection that no management client has. Such a check reads only the policy. It cannot see lockouts that depend on the device or its peers, such as a demand for a pairing method that needs a keyboard or display the device lacks, or a setting that stops the device from storing new bonds after the operator’s bond was deleted. Nor does it work out the effect of any program code that the policy contains. When an operator truly intends a lockout, for example to retire a device, the override belongs in the command that runs the tool, not in a field of the policy, so that the document being checked cannot switch off its own check.
Test with a fresh connection after activation. Close the existing management connection, open a new one under the new policy, pass every admission and security step, and use the service: send a command and receive its answer. Clear every piece of retained state that could let the new connection skip a changed check, such as an admission decision the device cached for that peer. Record which state is kept on purpose: a test that reuses an existing bond shows that a bonded client can reconnect, not that a new client can pair.
Bind the test to the exact candidate. The confirmation names the version, or a hash of the policy, under which the test ran, so that a confirmation earned under an earlier policy cannot count for this one.
Fall back automatically. In a commit-confirmed update §8.23, the device runs the new policy on probation and returns to its last-known-good state §8.25 unless a confirmation arrives within the confirmation window §8.24. The confirmation must itself travel over a fresh connection; otherwise it proves nothing about step 3.
Worked example
Policy 7 admits clients A and B. Policy 8 is meant to keep A and withdraw B’s permission. By mistake, policy 8 also demands keys from authenticated pairing, a pairing method that confirms the peer’s identity, for example by asking the user to compare a number shown on both devices. Client A’s bond came from Just Works §7.22, a pairing method with no such confirmation, so A’s keys do not meet the demand. Times are in seconds from the start of the update.
s: A is connected under policy 7 and sends policy 8.
s: policy 8 becomes active on probation, with a confirmation window of 60 s that ends at s.
s: A sends a test command over its existing connection and gets an answer. That connection was admitted at s under policy 7, and this device does not check open connections again, so the answer says nothing about policy 8.
s: A closes the connection and opens a new one. Policy 8 refuses it, because A’s keys come from Just Works. A cannot send a confirmation.
s: the window ends without a confirmation, and the device returns to policy 7. A reconnects and succeeds.
Had policy 8 been correct, A’s fresh connection at s would have succeeded, A would have confirmed, and B’s refusal under policy 8 would have been the intended result, not a lockout. The observations at 12 s and 20 s test different statements: the first, that an old connection survives the change; the second, that A can connect under policy 8.
Stated precisely
Let be a management client with credentials , let be the active version, let be the state the device keeps across connections (stored bonds and cached decisions), and let (sigma) be the service that must remain usable. Let be the statement: a new connection opened by with , while is active and the device holds , completes admission and security setup and obtains . Reachability after update holds for version , a set of clients and a set of retained states when is true for every , with its own credentials , and every .
A fresh-connection test by one client from one retained state is evidence for one instance of . A command over a connection admitted under an earlier version tests a different statement: a connection admitted under keeps service after becomes active.
The statement is about the device’s rules. It assumes a working radio channel and a free connection. It is not a promise of availability §1.10 against an attacker: jamming, which drowns the radio channel in noise, and connection-slot exhaustion §7.35, in which an attacker occupies every connection the device can hold, deny service under any policy.
Limits and common mistakes
One fresh connection by one client covers that client, its credentials, the retained state of the test and the conditions of the test. It does not cover other clients, peers that must pair for the first time, or later changes such as a deleted bond or a replaced key.
A test that is not really fresh proves little. A cached admission decision, a resumed session or a connection that was never closed can make an old path look new.
Intended denial is not a defect. Withdrawing a client’s permission is the purpose of some updates; judge each refusal against what the policy meant to do.
A check before deployment and a fresh test after activation catch different mistakes. The check catches plain rejections before any device is touched; the test catches lockouts that depend on the device, its stored state and its peers. Neither replaces the automatic fallback.
Questions answered
How does a fresh connection test differ from a connection established under old rules?
A fresh connection goes through every admission and security step of the new rules at the time of the test, so its success shows that the new rules admit that client. A connection established under the old rules passed those steps earlier, under the old rules, and many devices do not check open connections again when their rules change; its continued success shows only that an existing connection survived the update. A policy that refuses every new connection can therefore look healthy for as long as the old connection stays open. A useful fresh test closes the old connection first, states which stored state it reuses (for example an existing bond, as opposed to pairing for the first time), names the exact version under which it ran, and states which clients and services it covers. A refusal of a client whose permission the update withdrew is the intended result, not a failure.
Related entries: Commit-confirmed update (§8.23), Confirmation window (§8.24), Bonding (§7.18), Cross-layer security (§7.38), Last-known-good state (§8.25), Just Works (§7.22), Connection-slot exhaustion (§7.35).