descriptionnone
repository URLhttps://github.com/rofl0r/rocksocks5.git
ownerretnyg@gmx.net
last changeFri, 12 Apr 2019 22:07:39 +0000 (12 23:07 +0100)
last refreshSat, 27 Apr 2024 07:13:42 +0000 (27 09:13 +0200)
content tags
add:
README
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
shortlog
2019-04-12 rofl0rupdate README and Makefile for RcB2master
2019-04-12 rofl0rfix description of NO_DNS_SUPPORT option
2015-10-31 rofl0rremove ifdef hell
2015-06-18 rofl0rupgrade to work with latest rocksock
2013-12-14 rofl0rwhitespace cleanup
2012-12-23 rofl0rfix typo
2012-12-05 rofl0rtuned Makefile
2012-12-05 rofl0rless bloat for command line options
2011-11-11 rofl0rnew firedns stuff
2011-10-23 rofl0rstrip unneeded section
2011-10-23 rofl0rnew flags made available at your fingertips
2011-10-23 rofl0rcouple of stuff made optional
2011-10-23 rofl0rupdate README
2011-09-03 rofl0radd ignore-errors to build instr.
2011-09-03 rofl0rupd. build instruction to refer to firedns custom branch
2011-09-03 rofl0rfixed version returned after auth negotation. apparentl...
...
heads
5 years ago master