Comments (3)
Hi @ethaniel, I like this idea! 👍
send out pings […]
Sending out pings (ICMP echo requests) requires root privileges, so I'm not sure this is something that many people would like to use :)
Here's my suggested alternative:
When a new connection is being established, send […] through all available network interfaces (that will be the primary connection + the VPN connection) […] establish the outgoing socket through the faster interface. It adds a little overhead to every new connection, but the resulting speeds can be faster.
In other words: We can concurrently try to open the connection through multiple connectors and just pick the fastest connector. Note that this will (wastefully) open quite a few TCP connections that are not needed, but depending on your needs you may or may not notice this.
In the future, we may look into adding some kind of smarter heuristic to pick the right connector to begin with, however I'm not sure what we should base this on.
In the meantime and/or as an alternative, you may also (manually) set up separate rules for your common services where you know which connector is the fastest.
from psocksd.
The required connector has been implemented via clue/reactphp-connection-manager-extra#10
This means this could now be relied upon here.
My main issue currently is how should the user configure this behavior?
from psocksd.
I still think that this feature makes perfect sense 👍 However, there are currently no immediate plans to build this from my end (no demand at the moment and more important outstanding issues currently), but I would be really happy to accept PRs 👍
(If you need this for a commercial project and you want a quote, please check out my profile and send me an email)
from psocksd.
Related Issues (20)
- Add ping/test command to check remote SOCKS servers HOT 1
- UDP SOCKS5 HOT 3
- Socks5 auth with Firefox? HOT 7
- Use PSR-4 layout under src/
- Document SOCKS forwarding HOT 3
- Use clue/socks-react
- Inject EventLoop instance and default to StreamSelectLoop HOT 1
- Explicitly list dependencies HOT 1
- Fix installation
- Support React v0.4
- Help with backend connection HOT 3
- Support custom DNS server HOT 1
- Basic System.d Service HOT 2
- shadowsocks compatibility HOT 1
- Multiple phpsocks implementation is confusing HOT 4
- whitelist IP HOT 2
- Why not run into my server? HOT 1
- How do cascading proxies? HOT 2
- Heads up! Development focus on LeProxy
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 psocksd.