-
Notifications
You must be signed in to change notification settings - Fork 894
chore: add derpserver to proxy, add proxies to derpmap #7311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 17 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
eae4c3a
chore: add derpserver to proxy, add proxies to derpmap
deansheather ac99525
progress
deansheather 4b68a0b
Merge branch 'main' into dean/proxy-derp-map
deansheather 4ba7af6
progress
deansheather dcf072e
derp mesh probably working
deansheather 2d2f1a3
deregister
deansheather 28ae155
tests and various fixes
deansheather 2baa362
Merge branch 'main' into dean/proxy-derp-map
deansheather 5f5d4ff
more tests
deansheather 5441dc8
merge main, remove proxy goingaway route
deansheather e4a3008
derp tests work
deansheather 3caa692
Merge branch 'main' into dean/proxy-derp-map
deansheather 404c3e4
update derp map on new connection
deansheather 8544882
Merge branch 'main' into dean/proxy-derp-map
deansheather 9b503fa
fixes
deansheather 0e6d39a
tests for derp map changing
deansheather bb699fb
Merge branch 'main' into dean/proxy-derp-map
deansheather 2943ac2
backwards compatible
deansheather f0fa578
other comments
deansheather 9d90dc2
Merge branch 'main' into dean/proxy-derp-map
deansheather b405113
fixup! Merge branch 'main' into dean/proxy-derp-map
deansheather 6a08a59
change derp map updates to be separate websocket
deansheather 403eac5
Merge branch 'main' into dean/proxy-derp-map
deansheather d220266
Merge branch 'main' into dean/proxy-derp-map
deansheather 9e658d6
fixup! Merge branch 'main' into dean/proxy-derp-map
deansheather 67f2e5c
Working tests
deansheather 3c96149
Merge branch 'main' into dean/proxy-derp-map
deansheather c26936a
fixup! Merge branch 'main' into dean/proxy-derp-map
deansheather e59de5a
fixup! Merge branch 'main' into dean/proxy-derp-map
deansheather 2df067f
fixup! Merge branch 'main' into dean/proxy-derp-map
deansheather dfbfa96
Please
deansheather 8223a35
fixup! Please
deansheather File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't really know DERP, but if we have to update our DERP map, could the update also be from removing nodes, and therefore removing peers?
The
UpdateNodes
does a pure addition of new peers, it does not delete old peers unless we pass a,true
here.Is this something we should worry about? If peers can go stale on their own and remove themselves, then we do not need to worry about this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a separate concern that Spike is thinking about. We currently do leak nodes but this is an existing problem