File tree Expand file tree Collapse file tree
scripts/coverage/vey-proxy Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,10 +80,14 @@ server:
8080 private-key : ../vey-proxy.local-key.pem
8181 tls_client :
8282 ca_certificate : ../rootCA.pem
83- - name : socks
83+ - name : socks1
8484 type : socks_proxy
8585 listen : 127.0.0.1:1080
8686 escaper : chained_http
87+ - name : socks2
88+ type : socks_proxy
89+ listen : 127.0.0.1:1081
90+ escaper : chained_https
8791 - name : http
8892 type : http_proxy
8993 listen : 127.0.0.1:8080
Original file line number Diff line number Diff line change @@ -115,11 +115,15 @@ test_https_proxy_https_connect
115115test_https_proxy_https_forward
116116
117117
118- SOCKS5_PROXY=" socks5h://127.0.0.1:1080"
119- test_socks5_proxy_http
120- test_socks5_proxy_https
121-
122-
123- SOCKS4_PROXY=" socks4a://127.0.0.1:1080"
124- test_socks4_proxy_http
125- test_socks4_proxy_https
118+ for port in 1080 1081
119+ do
120+ SOCKS5_PROXY=" socks5h://127.0.0.1:${port} "
121+ test_socks5_proxy_http
122+ test_socks5_proxy_https
123+ test_socks5_proxy_dns
124+
125+
126+ SOCKS4_PROXY=" socks4a://127.0.0.1:${port} "
127+ test_socks4_proxy_http
128+ test_socks4_proxy_https
129+ done
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ for port in 1080 1081
1212do
1313 SOCKS5_PROXY=" socks5h://127.0.0.1:${port} "
1414 test_socks5_proxy_http
15+ test_socks5_proxy_dns
1516
1617
1718 SOCKS4_PROXY=" socks4a://127.0.0.1:${port} "
@@ -30,6 +31,7 @@ for port in 1080 1081
3031do
3132 SOCKS5_PROXY=" socks5h://127.0.0.1:${port} "
3233 test_socks5_proxy_http
34+ test_socks5_proxy_dns
3335
3436
3537 SOCKS4_PROXY=" socks4a://127.0.0.1:${port} "
You can’t perform that action at this time.
0 commit comments