Skip to content

Support connection through SOCKS5 #531

@om26er

Description

@om26er

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

  • socks5 server address
  • socks5 port
  • socks5 username
  • socks5 password

The last two can be optional if a proxy supports anonymous connection.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions