|Travis Burtrum 38fe66647b||5 years ago|
|client||5 years ago|
|server||5 years ago|
|.gitignore||5 years ago|
|license.txt||5 years ago|
|pom.xml||5 years ago|
|readme.md||5 years ago|
WebSocketSocket implements a custom java.net.Socket over top of a WebSocket, and also a server component that accepts a WebSocket connection and connects to a host/port. This allows you to tunnel arbitrary TCP over a WebSocket, even TLS can be used over it. Which potentially allows you to securely establish a trusted TLS connection even on a network that intercepts TLS on port 443.
Configure and run SocketWebSocketServer on a remote server.
Socket sock = new WebSocketSocket("ws://remote-server:remote-port/websocket/ssh"); // use sock just like any other standard Socket
You can also run SocketProxy on the client which listens on a local TCP port, and connect to that with anything.
This project is licensed under the GNU/LGPLv2.1, which allows use in Open Source or Proprietary programs. If you need to modify this code though, you should contribute back to it.
git checkout -b my_WebSocketSocket)
git commit -am "Implemented method X")
git push origin my_WebSocketSocket)