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

Network Kill-Switch #67

Open
Adrian-Grimm opened this issue May 10, 2019 · 8 comments
Open

Network Kill-Switch #67

Adrian-Grimm opened this issue May 10, 2019 · 8 comments
Labels
Idea-New PowerToy Suggestion for a PowerToy

Comments

@Adrian-Grimm
Copy link

Adrian-Grimm commented May 10, 2019

As addition to the WLAN and Airplane toggle in the sidebar: A Kill-Switch for all Network-Connections for Internet, WAN and LAN (Ethernet, WLAN, Mobile/LTE/UMTS,...)

@vexvoltage
Copy link

If I made add to this, if you are using the built in VPN app inside of Windows 10 could we have that also shut off along with drivers itself? I could see this solution helping with battery life items and performance. I know I wished a couple of times while working essentially offline I would have turned all networking (Maybe other then bluetooth) off to save battery.

@jaimecbernardo jaimecbernardo added the Idea-New PowerToy Suggestion for a PowerToy label May 13, 2019
@crutkas
Copy link
Member

crutkas commented Dec 2, 2019

trying to better understand the exact ask here.

  • mobile and Wifi you'd want to be able to toggle off?
  • All network connections [lets say you were on a dock as well] (not bluetooth)
  • all network connections [wifi, mobile, wired, bluetooth ...]

@Adrian-Grimm
Copy link
Author

With that "Network Kill-Switch" -toggle all Internet, WAN and LAN Connections should be shut-down.
Would be perfect to have such an toggle here:
image

I don't know what's the best way to achive this, but maybe to disable all NIC's is also a good approach to save battery during that time like @vexvoltage mentioned.

@crutkas
Copy link
Member

crutkas commented Dec 4, 2019

@Adrian-Grimm, do you have data to prove that disabling the network saves enough battery to really make a difference? screen and processor are the big usage. And if you're hitting network, I would imagine, as a user, you are proactively deciding you need to use the network, regardless of streaming or surfing or getting some NPM packages.

@crutkas
Copy link
Member

crutkas commented Dec 4, 2019

With that "Network Kill-Switch" -toggle all Internet, WAN and LAN Connections should be shut-down.

@Adrian-Grimm What about bluetooth, you can connect to devices. I'm reading this as

all network connections [wifi, mobile, wired, bluetooth ...]

@Adrian-Grimm
Copy link
Author

Adrian-Grimm commented Dec 4, 2019

@crutkas, no - I think that will make no big difference in terms of battery consumption, but it could save a small portion.
The main idea behind this is to cut everything off - no network data out and in.
In Terms of bluetooth we have a separated toggle for that and bluetooth has HID connections like mice, keyboard, ...
But if there is a way to also only turn off any tethering over bluetooth this would be perfect.

As a fallback approach all IP (UDP/TCP/ICMP) incoming and outgoing connections could be blocked through the os firewall - when the toggle is active. This could then have an extended mode where only one or a few applications are allowed to use connections (save data plan...)

Usage for this:

  • sometimes you don't trust a Application during execution time..
  • as a developer you may want to test how a application behaves in terms of connection interrupts
  • you detect some strange activity and want to be sure no remote controlled things happen

ryanbodrug-microsoft added a commit to ryanbodrug-microsoft/PowerToys that referenced this issue Apr 14, 2020
@turkerdev
Copy link

image
There is already airplane mode.

@Adrian-Grimm
Copy link
Author

image
There is already airplane mode.

But this will not turn off Ethernet over cable connections...

@crutkas crutkas added this to the Suggested Ideas milestone Jul 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Idea-New PowerToy Suggestion for a PowerToy
Projects
None yet
Development

No branches or pull requests

5 participants