Skip to content
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

Feature request: proxy chain #654

Open
Zephor5 opened this issue Jun 18, 2024 · 7 comments
Open

Feature request: proxy chain #654

Zephor5 opened this issue Jun 18, 2024 · 7 comments

Comments

@Zephor5
Copy link

Zephor5 commented Jun 18, 2024

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 Zephor5 changed the title does naiveproxy support proxy over proxy? does naiveproxy support proxy over another proxy? Jun 18, 2024
@Zephor5 Zephor5 changed the title does naiveproxy support proxy over another proxy? proxy over another proxy? Jun 18, 2024
@klzgrad
Copy link
Owner

klzgrad commented Jun 20, 2024

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.

@Zephor5
Copy link
Author

Zephor5 commented Jun 21, 2024

@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.

@klzgrad klzgrad changed the title proxy over another proxy? Feature request: proxy chain Jun 26, 2024
@5l2
Copy link

5l2 commented Jun 27, 2024

Try to use the ProxyChains.

@Zephor5
Copy link
Author

Zephor5 commented Jun 27, 2024

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

@5l2
Copy link

5l2 commented Jun 27, 2024

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

@ArcCal
Copy link

ArcCal commented Jun 27, 2024

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

@klzgrad
Copy link
Owner

klzgrad commented Jun 28, 2024

Chrome supports proxy chains.

The request is to expose it in naiveproxy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants