Repository navigation
V5.0 feat/transport connectivity check - #265
Merged
Merged
Conversation
Transports can turn off the pre-connection reachability check with the allow_ip_check switch. With the switch off, UDS skips the reachability test that the transport would otherwise run, and the pre-connect may not reach the machine. Add an automatic check in the SECURITY category, severity MEDIUM, that lists the transports with the switch disabled. A transport whose stored setting raises an error when read is listed too, so one such row does not hide the others; the result is INFO when only such transports are found. Relabel the switch and describe its consequence in the tooltip. The stored name and the default value stay the same, so no migration is needed. Transports that do not expose the switch are not reported.
…ding allow_ip_check is a class attribute of every transport, so the check reads it directly instead of going through getattr over a single-element tuple. The switch label drops the snake_case token, and the tooltip and check message now state the actual consequence of disabling it: UDS does not wait for the machine to be reachable before handing out the connection, so the pre-connect may fail.
The transport switch allow_ip_check is renamed to degraded_mode and inverted. It defaults to False. Enabling it on a transport skips the reachability probe and the pre-connect of the ready path (actor comms and the service hook), so the connection is handed out without waiting for the user service machines. It is meant for incidents where the broker cannot reach those machines. Each skipped pre-connect is logged on the user service. Values stored under the old name are not read, so no data migration is needed: transports keep the reachability check unless degraded mode is enabled again. On RDP the pre-connect is what adds the user to the Remote Desktop Users group. While degraded mode is on, users who are neither administrators nor already members of that group cannot log in. The transport connectivity check now lists the transports in degraded mode.
is_degraded_mode returns a real bool when a transport sets a plain value. The degraded mode test now also checks that the reachability cache is not read, and two connectivity check tests use the degraded mode wording.
aschumann-virtualcable
deleted the
v5.0-feat/transport-connectivity-check
branch
November 30, 2026 17:37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.