-
Notifications
You must be signed in to change notification settings - Fork 425
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
Support connection through SOCKS5 #531
Labels
Comments
Hi, can you explain how you did? |
@michedsa I haven't had the time to implement it but I did play with it at the time I reported this issue. Basically the change needs to happen at the underlying TCP socket level, mostly here autobahn-java/autobahn/src/main/java/io/crossbar/autobahn/websocket/WebSocketConnection.java Line 127 in 6ab8a3f
I was able to connect to a crossbar instance using SOCKS5. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Autobahn Java should be able to connect to crossbar over SOCKS5. Our Java websocket implementation internally uses the Java Socket class, which supports passing a Proxy object.
I have briefly played with it and it seems I was able to connect to Crossbar using SOCKS5 proxy from autobahn-java with a few lines of code.
If you @oberstet agree, we can add initial support to our websocket implementation.
The user API would only need to provide an instance of a Proxy object (that we define), which supports 4 paramets
The last two can be optional if a proxy supports anonymous connection.
The text was updated successfully, but these errors were encountered: