A fast tunnel proxy that helps you bypass firewalls.
regulation cause this repo to get truncated, but there is still some history there. And tags.
13b5d6e5ec
str is not bytes under python3, if dns config is a list, will cause asyncdns.py failed: asyncdns.py: .......... def handle_event(self, sock, fd, event): if sock != self._sock: return if event & eventloop.POLL_ERR: ........... else: data, addr = sock.recvfrom(1024) if addr[0] not in self._servers: logging.warn('received a packet other than our dns') return self._handle_data(data) |
||
---|---|---|
debian | ||
shadowsocks | ||
tests | ||
utils | ||
.gitignore | ||
.travis.yml | ||
CHANGES | ||
config.json.example | ||
CONTRIBUTING.md | ||
Dockerfile | ||
LICENSE | ||
MANIFEST.in | ||
README.md | ||
README.rst | ||
setup.py |
shadowsocks
A fast tunnel proxy that helps you bypass firewalls.
Features:
- TCP & UDP support
- User management API
- TCP Fast Open
- Workers and graceful restart
- Destination IP blacklist
Server
Install
Debian / Ubuntu:
apt-get install python-pip
pip install git+https://github.com/shadowsocks/shadowsocks.git@master
CentOS:
yum install python-setuptools && easy_install pip
pip install git+https://github.com/shadowsocks/shadowsocks.git@master
Windows:
See Install Shadowsocks Server on Windows.
Usage
ssserver -p 443 -k password -m aes-256-cfb
To run in the background:
sudo ssserver -p 443 -k password -m aes-256-cfb --user nobody -d start
To stop:
sudo ssserver -d stop
To check the log:
sudo less /var/log/shadowsocks.log
Check all the options via -h
. You can also use a [Configuration] file
instead.
Usage with Config File
Create configeration file and run
To start:
ssserver -c /etc/shadowsocks.json
Documentation
You can find all the documentation in the Wiki.
License
Apache License