rocksocks5
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:simple SOCKS v5 server with minimal RAM usage
minimalistic socks5 server.

supports no-auth and username auth.

supports CONNECT method. no bind and UDP atm.

uses only ~150 kb stack memory for 32 possible clients and 1 page of heap memory for getaddrinfo
(however dns resolution can be configured to use my firedns fork, which allocates a single stack
buffer, or to do no DNS resolution at all (only ipv4))

select() based using asynchronous sockets.

supports maximum 510 clients. ((FD_SETSIZE - 3) / 2)

installation:

cd /tmp
mkdir socksserver-0000
cd socksserver-0000/
git clone https://github.com/rofl0r/rocksocks5 socksserver
git clone https://github.com/rofl0r/libulz lib
git clone https://github.com/rofl0r/rocksock
git clone -b custom https://github.com/rofl0r/firedns firedns
git clone https://github.com/rofl0r/rcb2
export PATH=$PATH:/tmp/socksserver-0000/rcb2
ln -s /tmp/socksserver-0000/rcb2/rcb2.py /tmp/socksserver-0000/rcb2/rcb2
cd socksserver
cp dist/config.mak .

#your favorite editor here
nano config.mak

# add your prefered cflags, e.g.:
# CFLAGS = -DIPV4_ONLY -DNO_DNS_SUPPORT -DNO_LOG -DNO_DAEMONIZE -DNO_IDSWITCH

#your favorite C compiler here
export CC=gcc
make


本源码包内暂不包含可直接显示的源代码文件,请下载源码包。