-
Notifications
You must be signed in to change notification settings - Fork 9
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
Kill switch #1408
Kill switch #1408
Conversation
…dation to shouldAutoConnect on Log In
@@ -40,15 +40,16 @@ extension NSApplication { | |||
} | |||
} | |||
} | |||
@objc dynamic var runType: RunType { .normal } | |||
@objc dynamic class var runType: RunType { .normal } |
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.
UserDefaultsWrapper uses runType
to distinguish test runs - this was crashing in the Agent
...uckGo/NetworkProtection/AppTargets/BothAppTargets/NetworkProtectionSimulateFailureMenu.swift
Show resolved
Hide resolved
case missingProviderConfiguration | ||
case missingPixelHeaders | ||
} | ||
struct MissingPixelHeaders: Error { } |
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.
MissingProviderConfiguration() moved to the base class
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.
Adding some comments.
Added some initial feedback, this is still ongoing though. |
...etworkProtection/AppAndExtensionAndAgentTargets/NetworkProtectionUserDefaultsConstants.swift
Show resolved
Hide resolved
DuckDuckGo/NetworkProtection/AppTargets/BothAppTargets/NetworkProtectionLoginItemsManager.swift
Show resolved
Hide resolved
DuckDuckGo/NetworkProtection/AppTargets/BothAppTargets/NetworkProtectionTunnelController.swift
Outdated
Show resolved
Hide resolved
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.
Added another set of comments, the review is sill ongoing.
One thing I didn't add inline is - the simulate tunnel option isn't working well for me. I pointed to a line were it seems we're mixing tunnel and controller errors, but I'm not sure if that's the cause of it.
It's simply not doing anything most of the time.
DuckDuckGo/NetworkProtection/AppTargets/BothAppTargets/NetworkProtectionTunnelController.swift
Show resolved
Hide resolved
DuckDuckGo/NetworkProtection/AppTargets/BothAppTargets/NetworkProtectionTunnelController.swift
Outdated
Show resolved
Hide resolved
...uckGo/NetworkProtection/AppTargets/BothAppTargets/NetworkProtectionSimulateFailureMenu.swift
Show resolved
Hide resolved
@mallexxx - Could I ask you to share the configuration / rules that you're using in WireShark to test that the traffic is properly routed through the tunnel? I'd like to make sure I'm doing it right. |
Reorganized the menu and disabling 10.0.0.0 from exclusions when enforceRoutes is active because otherwise DNS isn‘t working (and tunnel not working when 10.11.12.1 added to inclusions) I‘m not using any custom config for WireShark, just opening |
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 rolled back the approval, as I just noticed there's no iOS PR. Would you add the integration PR for iOS?
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'm approving this optimistically so we can move forward. If there's anything at this point we'll need to tackle it as a follow up.
Task/Issue URL: https://app.asana.com/0/72649045549333/1204311881295998/f iOS PR: duckduckgo/iOS#1891 macOS PR: duckduckgo/macos-browser#1408
Task/Issue URL: https://app.asana.com/0/72649045549333/1204311881295998/f BSK PR: duckduckgo/BrowserServicesKit#438 macOS PR: duckduckgo/macos-browser#1408
Task/Issue URL: https://app.asana.com/0/72649045549333/1204311881295998/f
Tech Design URL:
BSK PR: duckduckgo/BrowserServicesKit#438
Description:
Steps to test this PR:
Internal references:
Pull Request Review Checklist
Software Engineering Expectations
Technical Design Template
Pull Request Documentation