Skip to content
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

Pause in lockdown mode #1134

Closed
iulko opened this issue Nov 7, 2023 · 6 comments
Closed

Pause in lockdown mode #1134

iulko opened this issue Nov 7, 2023 · 6 comments
Assignees

Comments

@iulko
Copy link

iulko commented Nov 7, 2023

Pause in lockdown mode don't work, propably because the way the app pause is by bypassing the VPN for all apps which is not possible in lockdown mode.

Could we have a pause mode in lockdown also by "allow" for all apps? Is not the same thing, but close enaught

@ignoramous
Copy link
Collaborator

ignoramous commented Nov 8, 2023

VPN Lockdown is enforced by Android as "any app bypassing an active VPN will have all its internet connection dropped". Pausing Rethink is those apps bypassing an active VPN; and hence dropped connections. Nothing that we could do, as an active VPN app, that'll change Android's behaviour. In fact, if anything, the current behaviour is perfectly valid and secure.

@iulko
Copy link
Author

iulko commented Nov 8, 2023

Yes, i know that it cant bypass in Lockdown thats why:

Could be possible to change from bypassing to "allow" all apps in pause mode.
Same as going to app list and Allowing all apps manually, would work differently for VPN Lockdown in this way.

Pressing Pause in Lockdown mode -> App is changing all apps to "Allow" -> Pause stop -> all apps back to using app list Allow/Block etc

@ignoramous
Copy link
Collaborator

Gotcha. Thanks. Sounds like something we can implement.

@p-f-w
Copy link

p-f-w commented Nov 19, 2023

But is possible to bypass "always_on_vpn_lockdown" by set apps in "always_on_vpn_lockdown_whitelist", active when vpn is down, i have yesterday tested it.

(OT: RethinkDNS lost set system dns every time short after start, but after stop the whitelistening app can work with url, not only with ip as RethinkDNS, after restart short time is it possible ti refreh the browser with preset Url …)

@ignoramous
Copy link
Collaborator

But is possible to bypass "always_on_vpn_lockdown" by set apps in "always_on_vpn_lockdown_whitelist", active when vpn is down, i have yesterday tested it.

See #224

@ignoramous
Copy link
Collaborator

ignoramous commented Mar 3, 2024

Impl in v055b: cfbc4ee

if (VpnController.isVpnLockdown() && isAppPaused()) {
// allow when firewall is paused: as a placeholder RULE8(bypass app) is used
return FirewallRuleset.RULE8
}

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

No branches or pull requests

4 participants