Skip to content

wgengine/magicsock: move trustBestAddrUntil forward on non-disco rx - #10274

Merged
jwhited merged 1 commit into
mainfrom
jwhited/rx-activity-reset-trust-until
Nov 16, 2023
Merged

jwhited merged 1 commit into
mainfrom
jwhited/rx-activity-reset-trust-until

Conversation

@jwhited

@jwhited jwhited commented Nov 15, 2023

Copy link
Copy Markdown
Member

This is gated behind the silent disco control knob, which is still in its infancy. Prior to this change disco pong reception was the only event that could move trustBestAddrUntil forward, so even though we weren't heartbeating, we would kick off discovery pings every trustUDPAddrDuration and mirror to DERP.

@jwhited
jwhited requested a review from bradfitz November 15, 2023 23:58
@jwhited
jwhited force-pushed the jwhited/rx-activity-reset-trust-until branch from 4c9017c to 4d33478 Compare November 16, 2023 00:01
This is gated behind the silent disco control knob, which is still in
its infancy. Prior to this change disco pong reception was the only
event that could move trustBestAddrUntil forward, so even though we
weren't heartbeating, we would kick off discovery pings every
trustUDPAddrDuration and mirror to DERP.

Updates #540

Signed-off-by: Jordan Whited <[email protected]>
@jwhited
jwhited force-pushed the jwhited/rx-activity-reset-trust-until branch from 4d33478 to 3f794d3 Compare November 16, 2023 00:06
@jwhited
jwhited merged commit 2ff54f9 into main Nov 16, 2023
@jwhited
jwhited deleted the jwhited/rx-activity-reset-trust-until branch November 16, 2023 00:30

@bradfitz bradfitz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants