-
Notifications
You must be signed in to change notification settings - Fork 904
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
同时添加对HTTP+SOCSK的监听(实测有效) #479
Comments
目前使用并没有什么副作用。上述仅仅进行测试,并没有把代码做重构,如果需同时进行,需提供一个标志 |
作者可以考虑吗? |
这个功能很有用啊,期待 |
打错了 |
哈哈哈哈 。其实我也是功能需求才自己修改的。我看issue中有人需要HTTP+SOCSK同时监听,所以发上来了。当然我只做了测试。如果整合,需要进行代码小幅度重构。 |
我现在总是跑两个naive进程,一个监听http,一个监听socks 虽然能用,但确实挺麻烦的 |
作者考虑添加socks+http? |
不认为。 Do one thing and do it well. |
@klzgrad 您觉得该功能有必要?如果觉得没必要,那我关贴了。 |
刚刚我尝试魔改了一下 https://github.com/zedifen/naiveproxy/commit/3bc74be4c8a3834222c315240dd2907a368c25a1, 思路是用 for 循环运行多个配置; 但没进行很多测试, 可能会有 Bug 或者性能退化. |
我觉得--listen="socks://0.0.0.0:1088;http://0.0.0.0:1089"比较好些 |
你觉得怎么样?😊 如果这样子,
|
那要避免重复的话, 这样写或许还是要美观一点 {
"listen": [
"socks://0.0.0.0:1088",
"http://0.0.0.0:8889"
],
"proxy": "https://user:[email protected]"
} |
可以可以。 |
与
在我看来没有区别,如果说有区别,是把shell代码移动到C++代码里面,没有必要。 |
我尝试在源码上进行一些幅度的修改,可以达到 HTTP+SOCSK的监听。
效果如下:
The text was updated successfully, but these errors were encountered: