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

socks5 support for proxying requests #1084

Open
catdevnull opened this issue Jan 30, 2025 · 1 comment
Open

socks5 support for proxying requests #1084

catdevnull opened this issue Jan 30, 2025 · 1 comment
Labels
feature request New feature or request

Comments

@catdevnull
Copy link

describe the feature you'd like to see

hi! cobalt currently supports http/s proxies through undici's ProxyAgent. unfortunately, undici's ProxyAgent doesn't support socks4/5 proxies, which are useful as sometimes http/s proxies aren't available.

is there interest in implementing socks4/5 proxies, like with fetch-socks? it should be fairly straight forward (check if API_EXTERNAL_PROXY is a socks4/5 proxy, if yes, create the dispatcher using fetch-socks)

thanks!

additional context

No response

@catdevnull catdevnull added the feature request New feature or request label Jan 30, 2025
@catdevnull
Copy link
Author

i don't actually need this anymore but maybe still would be cool

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

No branches or pull requests

1 participant