Comments (7)
There isn’t a —restart
option right now. You can use —quit
and then start Px again. As long as it is the same Px binary (same location), it should stop and start with the same configuration.
from px.
I’m just curious why you need to restart a running proxy? Wondering if you have changed settings and want them to take or some other reason? We could add a flag but would be good to know why first.
from px.
No, the use case was restarting the proxy when there is a network change like connecting or disconnecting from a VPN. Not sure if the proxy is designed to handle this.
from px.
I don’t think there’s a real need for this - Px reloads proxy information that is discovered every 60 seconds using —proxyreload
. The timeout is configurable as well if you need. I think it should handle such VPN changes.
Curious to hear if this does not meet your needs.
from px.
I use Px proxy to provide internet access to WSL2 through a company network. When I log in to Windows and after that establish a VPN connection, then the proxy information is updated, as you said, however, I don't have internet access from WSL2. In particular, I can't reach the network interface that Px proxy is listening on from WSL2.
It only works if the VPN connection is established before logging in to Windows, i.e. before Px proxy is started.
from px.
I'm not sure I understand this - are you saying that if the VPN is connected before Px starts, everything works fine but Px does not handle the switch if the VPN is started afterwards?
Does this have something to do with #173?
from px.
This is added in v0.9.0.
from px.
Related Issues (20)
- using domain names in the allow list HOT 1
- libcrypto-1_1.dll version 1.1.1q with vulnerabilites HOT 4
- px 0.8.4: PAC configuration seems to cause unstable behaviour HOT 4
- HTTP POST and PUT not working since data rewind is not supported HOT 1
- Unclear listen setting HOT 8
- px 0.9.0 - Windows: does not start as a background service anymore (openes a required console window) HOT 3
- px 0.9.0 - Windows: logging configuration inside px.ini file is ignored and no logging is produced HOT 3
- Thread safety of quickjs HOT 4
- px 0.9.0 responds with "URL malformed" on macOS HOT 6
- Version 0.9.0 with Linux doesn't Authenticate using Kerberos HOT 9
- proxy.pac: isInNet() & isResolvable() not working properly HOT 8
- How to download latest release via script HOT 2
- Embedded libcurl library does not support SPPI/SPNEGO/KERBEROS on v0.9.1 HOT 2
- Version 0.9.2 does not find px.ini in script folder HOT 5
- composer patches provoke error in mcurl.py: curl.xheaders is None but no check before loop
- v0.9.2 - px --install to launch px in background HOT 2
- v0.9.2 - px.ini created in the directory of process caller and not in the one of px.exe HOT 2
- sCHANNEL Native SSL for Px-Windows
- Step "Install tools" missing in build.sh in mode build (-b)
- NTLM proxy authentication failing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from px.