Code Monkey home page Code Monkey logo

Comments (4)

Rafficer avatar Rafficer commented on May 28, 2024 1

I think for long-term there needs to be an option to add custom rules to the killswitch. Only problem I see is how to properly sanitize them to not make it able to run specific commands as root that are just written in a text file. This would then also resolve #8.

Regardless of this, I think localhost should be available by default, so I'll look into adding this for the next release.

from linux-cli-community.

Rafficer avatar Rafficer commented on May 28, 2024

The latest version with that fix has been pushed to pypi, so you can upgrade the package now. Would be great if you could leave some feedback on whether or not it works as you expect now :)

from linux-cli-community.

barrosfelipe avatar barrosfelipe commented on May 28, 2024

It does allow me to work on localhost again, so thank you.

Two other questions came up while playing with it though: should the killswitch stop traffic even when we purposefully disconnect from the VPN? Right now it doesn't. Should it still work even if the VPN process is killed? What about across restarts? In my opinion, users who desire the killswitch features are probably looking to have all that. At least I surely am. If it isn't your intention to implement those features or there is some technical limitation, I believe it may be the case to document that in the README and perhaps provide instructions on how to solve those problems using systemd or some other method. What do you think?

Again, thank you so much. The overall protonvpn-cli experience improved dramatically.

from linux-cli-community.

Rafficer avatar Rafficer commented on May 28, 2024

Yes, it's expected to only "activate" when the VPN connection closes unexpectedly (killing the OpenVPN process manually simulates that). So normal disconnects via the clients and computer restarts would deactivate the Kill Switch again and allow normal internet usage without ProtonVPN.

The problems I see is if it works as you describe that after you disconnect you can't reconnect again because the normal interface is blocked by the kill switch, so you'd need to deactivate the kill switch anyway to be able to connect again.

Afaik this is how all clients on the other OSs work as well, so I don't really intent to change this. I personally also wouldn't expect a Kill Switch to work differently, for me it's only for unexpected connection drops. But if I'm entirely alone with this we can see how it might be changed.

About documentation, not sure if the README is the correct place for this as it doesn't mention the Kill Switch at all right now. The print when configuring the Kill Switch already says "unexpectedly" right now, maybe this can be made more clear. I'll also see if ProtonVPN can clarify this a bit more in the upcoming announcements when they talk about the Kill Switch specifically.

The overall protonvpn-cli experience improved dramatically.

Really happy to hear that, thank you!

from linux-cli-community.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.