simple proxy base on rust, which helps you bypass firewalls
goal:
- practice rust
feat:
- based on websocket
- pooled websocket connection
client:
- get socks5 connections from browser
- do handshake, choose which method to use (only support no auth for now)
- retrieve which addr browser wants to go, build a tls websocket with server, then send a addr packet to server
- combine socks5 stream to websocket stream, websocket message is a data packet
- after finish reading from sock5 stream, client will send a close packet to server
server:
- parse addr packet and connect to addr
- combine proxy stream with websocket stream
- loop above steps until server dies
- @dyxushuai: pool implementation