Skip to content

Capability to forward traffic to a socks5 proxy #1242

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

Open
hanknac opened this issue Mar 30, 2023 · 1 comment
Open

Capability to forward traffic to a socks5 proxy #1242

hanknac opened this issue Mar 30, 2023 · 1 comment
Assignees
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@hanknac
Copy link

hanknac commented Mar 30, 2023

Feature Description

In scenarios (e.g. transitive vpc problem) that require the java sql connector to forward traffic to a socks5 proxy, it would great if this capability could be added to the java sql connector. Similar to the way the sql auth proxy can forward traffic to a socsk5 proxy by setting the ALL_PROXY environment variable, ideally the java sql connector would behave in the same manner.

Sample code

No response

Alternatives Considered

The workaround is to install the sql auth proxy locally with the application, so the sql auth proxy could forward traffic to the socks5 proxy. This is not ideal because the. sql auth proxy would need to be installed, configured, and started on every developer's computer.

Additional Details

No response

@hanknac hanknac added the type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. label Mar 30, 2023
@enocom enocom added the priority: p2 Moderately-important priority. Fix may not be included in next release. label Apr 3, 2023
@enocom
Copy link
Member

enocom commented Apr 3, 2023

To support this, we'd need to let callers configure the HTTP Transport and the socket to use a socks5 proxy. Do-able, but requires investigation as Java doesn't support this as easily as Go.

@ttosta-google ttosta-google self-assigned this Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

5 participants