Skip to content

Simple cross platform socks5 server powered by C++ boost

License

Notifications You must be signed in to change notification settings

novice79/socks5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SOCKS5 Proxy Server

Description

This is simple realization of socks5 proxy server according to the RFC 1928 using boost::asio library. The server uses async socket calls for data forwarding and io_service for message processing. Currently, this socks5 proxy server works only in NO AUTHENTICATION REQUIRED mode.

Dependence

boost

build tools:
g++ or clang++ and cmake+ninja

Build

On *nix OS just run ./build.sh
example app & lib/include file will be installed in $PWD/dist dir

Test

in one screen window start socks5 proxy server

dist/bin/s5

or show trace log like this

LOG=trace dist/bin/s5

in another window, test it via curl

curl -x socks5h:https://127.0.0.1:1080 baidu.com