-
Notifications
You must be signed in to change notification settings - Fork 231
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
feat: Support proxy config and env vars for HTTP, TCP and TLS Probers #194
Conversation
Codecov Report
@@ Coverage Diff @@
## main #194 +/- ##
==========================================
+ Coverage 94.40% 94.44% +0.03%
==========================================
Files 49 49
Lines 4025 4051 +26
==========================================
+ Hits 3800 3826 +26
Misses 157 157
Partials 68 68
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I couldnt get the socks5 to work with environment variables, but i am not sure i tested right. every format combination i tried with ALL_PROXY had no effect.
HTTP_PROXY and HTTPS_PROXY work as expected each affects only their corresponding protocol.
By using the following command, you can create a SOCKS5 proxy. then you can set ssh -D 1080 -qCN [email protected] Besides, you can set a wrong socks5 server, such as |
Co-authored-by: Bomin Zhang <[email protected]>
Co-authored-by: Pantelis Roditis <[email protected]>
close #193
Code changes:
proxy
configuration to support socks5 proxy for TLS and TCP probes.$ALL_PROXY
environment variable for TLS and TCP probes.$HTTP_PROXY
and$HTTPS_PROXY
environment variable for HTTP probe