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

[FR] "wait" profile command #460

Open
snak3b1te opened this issue Oct 2, 2022 · 0 comments
Open

[FR] "wait" profile command #460

snak3b1te opened this issue Oct 2, 2022 · 0 comments
Labels
feature request Proposal for new features

Comments

@snak3b1te
Copy link

In home wifi wireguard gets activated due to almost concurrent calls (same second) to start/stop VPN. Second call is lost while VPN is being established.

I have a configuration depending a condition matching the SSID. If matched, turn off wireguard, else turn on wireguard. The phone apparently detects a brief wifi outage (<1s) which then triggers the wireguard on script. However, immediately, wifi connection is restored triggering the off script. Wireguard is still busy establishing the tunnel and so ignores the second call. As a result, VPN is enabled in home wifi :-|

Manually triggering a refresh on the home screen "fixes" the situation and correctly turns VPN off.

It would be good to prevent the same chain to be evaluated for some time (few seconds) or the same target to be triggered.

A simple solution could be a "wait" profile command.

@snak3b1te snak3b1te added the feature request Proposal for new features label Oct 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Proposal for new features
Projects
None yet
Development

No branches or pull requests

1 participant