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

[QUESTION] Using a SOCKS proxy #1223

Closed
sulphy opened this issue Jan 2, 2020 · 3 comments
Closed

[QUESTION] Using a SOCKS proxy #1223

sulphy opened this issue Jan 2, 2020 · 3 comments
Labels
Question Used when a question is asked, as opposed to an issue being raised
Projects

Comments

@sulphy
Copy link

sulphy commented Jan 2, 2020

Question

I noticed that other JDBC drivers like mySQL offer support for a SOCKS proxy. I can't however, find anything similar for the mssql jdbc driver. Is this feature actually available or perhaps could be done for future releases?

@sulphy sulphy added the Question Used when a question is asked, as opposed to an issue being raised label Jan 2, 2020
@peterbae
Copy link
Contributor

peterbae commented Jan 2, 2020

Hi @sulphy, it looks like there were some efforts made to support SOCKS proxy in #462. We will put this item in our backlog.

@sehrope
Copy link
Contributor

sehrope commented Jan 2, 2020

The PR I created for using a custom socket factory should be usable for a SOCKS proxy as well: #1217

I'm not sure if there would be name resolution issues (e.g. resolved locally vs resolved remotely by the proxy), but it's possible to use a custom socket factory that delegates to a SOCKS proxy to tunnel the connection.

@ulvii ulvii added this to Under Investigation in MSSQL JDBC Feb 11, 2020
@ulvii
Copy link
Contributor

ulvii commented Mar 31, 2020

@sulphy ,
@sehrope 's PR is merged to dev now, could you let us know if it resolves your issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Used when a question is asked, as opposed to an issue being raised
Projects
MSSQL JDBC
  
Closed Issues
Development

No branches or pull requests

4 participants