一个socks服务器的实现
支持socks4/5 udp代理协议的socks代理服务器实现.
使用方法:
在服务器上编译运行命令, 如(Archlinux环境):
pacman -S boost boost-libs ninja
cmake . -DCMAKE_BUILD_TYPE=Release -G ninja
ninja
./socks_server --address 0.0.0.0 --port 4567
在客户浏览器上设置socks代理, 主机为服务器IP, 端口为4567.
然后就可以开始使用代理服务器了.
注意:如果服务器需要认证用户名密码,socks_server内置了一个简单的js引擎,
可以在socks_server所在目录实现do_auth.js即可认证。
do_auth.js必须实现do_auth/do_auth4函数, 参考项目所带的 do_auth.js

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
