-
Notifications
You must be signed in to change notification settings - Fork 965
Switch vpn protocols during the runtime #21934
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
Conversation
b4a66d5
to
2d6ff2e
Compare
2d6ff2e
to
9132f7c
Compare
9132f7c
to
9edfb1d
Compare
5feeeb8
to
8b3105a
Compare
8b3105a
to
2e44332
Compare
A Storybook has been deployed to preview UI for the latest push |
2e44332
to
f700e6a
Compare
A Storybook has been deployed to preview UI for the latest push |
f700e6a
to
8077cde
Compare
A Storybook has been deployed to preview UI for the latest push |
At first run, this dialog is launched after connected with wireguard. Not sure this is expected behavior or not with current implementation. This dialog launching is handled by I think this dialog doesn't have meaning when VPN is connected with wireguard. Found the cause for this. When BraveVpnService is created another two vpn related services are also created. They are
|
f432458
to
3e6475d
Compare
* BraveVPNOSConnectionAPI -> BraveVPNConnectionManager * RasConnectionAPIImplBase -> SystemVPNConnectionAPIImplBase
3e6475d
to
68eb252
Compare
How about this text change? @bsclifton @rebron |
A Storybook has been deployed to preview UI for the latest push |
@simonhong text LGTM! cc: @mattmcalister |
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.
Really nice work here! 😄
Thanks for the renaming - things are much easier to understand now. I tested this out and the changes work great. You can switch protocol without any issues as many times as you'd like... without having to restart.
[puLL-Merge] - brave/brave-core@21934 DescriptionThis PR refactors the Brave VPN connection management code to introduce a more generalized ChangesChanges
Security Hotspots
Please review the changes with a focus on security implications, ensuring that the new VPN connection management approach maintains or improves the security posture of the Brave VPN feature. |
A Storybook has been deployed to preview UI for the latest push |
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.
string reviewers ++
Verification
|
* Uplift of #21934 (squashed) to beta * Merge pull request #22111 from brave/fix-windows-installer-error-0x80000003 Fix error 0x80000003 on naive Windows install * Fixed installed vpn services are not updated for browser update (#22152) * Fixed installed vpn services are not updated for browser update fix brave/brave-browser#36210 If there is installed services, it should be updated during the browser update to make these service has latest properties such as their executable path. --------- Co-authored-by: Brian Clifton <[email protected]> Co-authored-by: Simon Hong <[email protected]>
fix brave/brave-browser#35681
BraveVPNOSConnectionAPI
becomes concrete class and it will haveproper
ConnectionAPIImpl
instance for selected vpn protocol.Resolves
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
wikinpm run lint
,npm run presubmit
wiki,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan:
Another test plan from issue.