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 #1007

Open
mjgarton opened this issue Jan 16, 2024 · 1 comment
Open

SOCKS5 support #1007

mjgarton opened this issue Jan 16, 2024 · 1 comment
Assignees
Labels
tracked-in-jira Ticket filed in Mongo's Jira system

Comments

@mjgarton
Copy link

As far as I can tell, there's no way to connect to a mongodb server via a SOCKS5 proxy.

Are you interested in such a feature?

I can see at least a couple of possible ways to support this:

  1. Add explict SOCKS5 support (as an optional feature), which would likely introduce a (optional) dependency on some external socks client implementation.

  2. Add support for providing a custom tcp "connect" function in some form in the options. This would not add any dependency, but would still allow users to easily hook in a SOCKS5 proxy, and probably other things too.

If you are interested, I am happy to have a go at implementing one of the above.

@abr-egn
Copy link
Contributor

abr-egn commented Mar 6, 2024

Hi! Sorry for the long delay.

We do have a backlogged ticket for implementing this in the Rust driver, and an associated specification. Unfortunately, implementing this isn't in our current roadmap - we'd welcome a contributed implementation! As I understand it, this would look like option 1 from your proposal, with a feature flag gating support and any dependencies it needs.

@abr-egn abr-egn added the tracked-in-jira Ticket filed in Mongo's Jira system label Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tracked-in-jira Ticket filed in Mongo's Jira system
Projects
None yet
Development

No branches or pull requests

2 participants