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.
Find a file
Sunny 100ebcf064 Add IPNetwork class to support CIDR calculation
Usage:
Use IPNetwork(str|list<str>) to create an IPNetwork object.
Use operator 'in' to determine whether the specified
IP address is in the IP network or not, like:
>>> '192.168.1.1' in IPNetwork('192.168.1.0/24')
True

Both IPv4 and IPv6 address are supported.
Note: When using string to initialize the IPNetwork,
a comma seperated IP network list should be provided.

Currently, IPNetwork just support standard CIDR like:
x.x.x.x/y eg. 192.168.1.0/24
::x/y     eg. ::1/10
If pure IP address was provided,
it will be treated as implicit IP network,
like 192.168.0.0 will be treated as 192.168.0.0/16
and  192.168.1.1 will be treated as 192.168.1.1/32
This implicit translate may cause some unexpected behavior,
like user provide 192.168.2.0 and expect it will be treated as
192.168.2.0/24 but actually it will be translated to
192.168.2.0/23 because there are 9 continuous 0 from right.
In order to avoid confusion, a warning message
will be displayed when pure IP address was provided.

Other variants of CIDR are not supported yet.
2015-01-31 22:56:16 +08:00
debian * still package issue 2014-08-25 12:30:23 +08:00
shadowsocks Add IPNetwork class to support CIDR calculation 2015-01-31 22:56:16 +08:00
tests fix python3 2015-01-12 23:19:24 +08:00
utils Update README.md 2015-01-03 14:00:33 +08:00
.gitignore update .gitignore 2015-01-28 17:17:05 +08:00
.jenkins.sh fix #270 2015-01-23 17:33:48 +08:00
.travis.yml remove M2Crypto completely 2015-01-12 14:11:33 +08:00
CHANGES bump 2015-01-23 17:35:32 +08:00
CONTRIBUTING.md Update CONTRIBUTING.md 2015-01-19 16:20:08 +08:00
LICENSE 2015 2015-01-03 13:24:40 +08:00
MANIFEST.in fix MANIFEST.in 2015-01-21 14:32:55 +08:00
README.md update coverage url 2015-01-24 14:43:11 +08:00
README.rst update README 2015-01-06 19:41:20 +08:00
setup.py bump 2015-01-23 17:35:32 +08:00

shadowsocks

PyPI version Build Status Coverage Status

A fast tunnel proxy that helps you bypass firewalls.

Server

Install

Debian / Ubuntu:

apt-get install python-pip
pip install shadowsocks

CentOS:

yum install python-setuptools && easy_install pip
pip install shadowsocks

Windows:

See Install Server on Windows

Usage

ssserver -p 8000 -k password -m rc4-md5

To run in the background:

ssserver -p 8000 -k password -m rc4-md5 -d start
ssserver -p 8000 -k password -m rc4-md5 -d stop

Check all the options via -h. You can also use a Configuration file instead.

Client

Use GUI clients on your local PC/phones. Check the README of your client for more information.

Documentation

You can find all the documentation in the Wiki.

License

MIT

Bugs and Issues