naiveproxy icon indicating copy to clipboard operation
naiveproxy copied to clipboard

Feature request: proxy chain

Open Zephor5 opened this issue 1 year ago • 7 comments

I want to use naiveproxy in an environment that I have to use a normal http proxy to connect to my caddy server, how can I get this done?

my pc -> naiveproxy -> normal http proxy (out of my control) -> my caddy server -> net

Zephor5 avatar Jun 18 '24 02:06 Zephor5

It is in the realm of the possible, but you have to prove why your use request is necessary without easy workaround and is general enough for not just your own use case.

klzgrad avatar Jun 20 '24 15:06 klzgrad

@klzgrad There are companies which have internal working network and prevent staff from connecting internet by default, and provide unified proxy to reach the internet. That's the case. It's relatively niche. I want to try it myself, but have difficulty in reading the source code because I am not so familiar with c++, if you don't have time to do this recently, can you give me some hints about the source code file path where I can try to sovle this.

Zephor5 avatar Jun 21 '24 03:06 Zephor5

Try to use the ProxyChains.

silver716 avatar Jun 27 '24 08:06 silver716

@5l2 I don't think ProxyChains will handle the case.

Zephor5 avatar Jun 27 '24 10:06 Zephor5

@Zephor5 Why? ProxyChains can be used to proxy connections made by naiveproxy through the HTTP PROXY GATEWAY. Did I misunderstand the use case you described?

silver716 avatar Jun 27 '24 12:06 silver716

小火箭的Proxy Pass功能不就可以达到这个目的?

ArcCal avatar Jun 27 '24 14:06 ArcCal

Chrome supports proxy chains.

The request is to expose it in naiveproxy.

klzgrad avatar Jun 28 '24 02:06 klzgrad

https://github.com/klzgrad/naiveproxy/releases/tag/v126.0.6478.40-2

?

klzgrad avatar Jul 21 '24 22:07 klzgrad

@Zephor5, can you test for this?

silver716 avatar Jul 22 '24 16:07 silver716

It worked, thx

Zephor5 avatar Jul 25 '24 12:07 Zephor5