HTTP & SOCKS5 fast security proxy
Currently implemented HTTP,SOCKS5 protocol
The package [head, body], head is 4 bytes containing the current encrypted packet length, and the body is the encrypted bytes. After the read is completed, the decryption is performed.
implement the interfaces for your Protocol
pkg.PackageReader pkg.PackageWriter cipher.Cipher
The default is OORR which is implemented by myself. It is mainly used to perform or perform operations on bytes. Modify all bytes to achieve the purpose of encryption. It is fast and consumes less resources.
How to use it
./client_side -addr ":1080" -remote "127.0.0.1:10800" -password "oor://your-password-xxx"
./server_side -addr ":10800" -password "oor://your-password-xxx"
"oor://oor-password-xxx" "sal://salsa20-password-xxx" "aes://aes-password-xxx"