Skip to content

fix: ensure network.Dial and MakeHTTPClient use socks5 proxy#367

Merged
9seconds merged 1 commit into9seconds:masterfrom
saleacy:patch-1
Mar 16, 2026
Merged

fix: ensure network.Dial and MakeHTTPClient use socks5 proxy#367
9seconds merged 1 commit into9seconds:masterfrom
saleacy:patch-1

Conversation

@saleacy
Copy link
Contributor

@saleacy saleacy commented Mar 16, 2026

The package network/v2/proxy_network.go does not wrap network.Dial and network.MakeHTTPClient, which causes them to bypass the SOCKS5 proxy and initiate TCP connections directly from the local machine.

The package `network/v2/proxy_network.go` does not wrap `network.Dial`
and `network.MakeHTTPClient`, which causes them to bypass the SOCKS5
proxy and initiate TCP connections directly from the local machine.
@9seconds
Copy link
Owner

Cannot believe that I have made such stupid mistake again 🤦 thanks!

@9seconds 9seconds merged commit df7ddc3 into 9seconds:master Mar 16, 2026
7 checks passed
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

Successfully merging this pull request may close these issues.

2 participants