├── .gitignore ├── .travis.yml ├── CHANGES ├── CONTRIBUTING.md ├── LICENSE ├── MANIFEST.in ├── README.md ├── README.rst ├── debian ├── changelog ├── compat ├── config.json ├── control ├── copyright ├── docs ├── init.d ├── install ├── rules ├── shadowsocks.default ├── shadowsocks.manpages ├── source │ └── format ├── sslocal.1 └── ssserver.1 ├── setup.py ├── shadowsocks ├── __init__.py ├── asyncdns.py ├── common.py ├── crypto │ ├── __init__.py │ ├── openssl.py │ ├── rc4_md5.py │ ├── sodium.py │ ├── table.py │ └── util.py ├── daemon.py ├── encrypt.py ├── eventloop.py ├── local.py ├── lru_cache.py ├── manager.py ├── server.py ├── shell.py ├── tcprelay.py └── udprelay.py ├── tests ├── aes-cfb1.json ├── aes-cfb8.json ├── aes-ctr.json ├── aes.json ├── assert.sh ├── chacha20.json ├── client-multi-server-ip.json ├── coverage_server.py ├── fastopen.json ├── gen_multiple_passwd.py ├── graceful.json ├── graceful_cli.py ├── graceful_server.py ├── ipv6-client-side.json ├── ipv6.json ├── jenkins.sh ├── libsodium │ └── install.sh ├── nose_plugin.py ├── rc4-md5.json ├── salsa20-ctr.json ├── salsa20.json ├── server-dnsserver.json ├── server-multi-passwd-client-side.json ├── server-multi-passwd-empty.json ├── server-multi-passwd-performance.json ├── server-multi-passwd-table.json ├── server-multi-passwd.json ├── server-multi-ports.json ├── setup_tc.sh ├── socksify │ ├── install.sh │ └── socks.conf ├── table.json ├── test.py ├── test_command.sh ├── test_daemon.sh ├── test_graceful_restart.sh ├── test_large_file.sh ├── test_udp_src.py ├── test_udp_src.sh └── workers.json └── utils ├── README.md ├── autoban.py └── fail2ban └── shadowsocks.conf /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/CHANGES -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/README.md -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/README.rst -------------------------------------------------------------------------------- /debian/changelog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/debian/changelog -------------------------------------------------------------------------------- /debian/compat: -------------------------------------------------------------------------------- 1 | 8 2 | -------------------------------------------------------------------------------- /debian/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/debian/config.json -------------------------------------------------------------------------------- /debian/control: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/debian/control -------------------------------------------------------------------------------- /debian/copyright: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/debian/copyright -------------------------------------------------------------------------------- /debian/docs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/debian/docs -------------------------------------------------------------------------------- /debian/init.d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/debian/init.d -------------------------------------------------------------------------------- /debian/install: -------------------------------------------------------------------------------- 1 | debian/config.json etc/shadowsocks/ -------------------------------------------------------------------------------- /debian/rules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/debian/rules -------------------------------------------------------------------------------- /debian/shadowsocks.default: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/debian/shadowsocks.default -------------------------------------------------------------------------------- /debian/shadowsocks.manpages: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/debian/shadowsocks.manpages -------------------------------------------------------------------------------- /debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /debian/sslocal.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/debian/sslocal.1 -------------------------------------------------------------------------------- /debian/ssserver.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/debian/ssserver.1 -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/setup.py -------------------------------------------------------------------------------- /shadowsocks/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/shadowsocks/__init__.py -------------------------------------------------------------------------------- /shadowsocks/asyncdns.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/shadowsocks/asyncdns.py -------------------------------------------------------------------------------- /shadowsocks/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/shadowsocks/common.py -------------------------------------------------------------------------------- /shadowsocks/crypto/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/shadowsocks/crypto/__init__.py -------------------------------------------------------------------------------- /shadowsocks/crypto/openssl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/shadowsocks/crypto/openssl.py -------------------------------------------------------------------------------- /shadowsocks/crypto/rc4_md5.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/shadowsocks/crypto/rc4_md5.py -------------------------------------------------------------------------------- /shadowsocks/crypto/sodium.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/shadowsocks/crypto/sodium.py -------------------------------------------------------------------------------- /shadowsocks/crypto/table.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/shadowsocks/crypto/table.py -------------------------------------------------------------------------------- /shadowsocks/crypto/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/shadowsocks/crypto/util.py -------------------------------------------------------------------------------- /shadowsocks/daemon.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/shadowsocks/daemon.py -------------------------------------------------------------------------------- /shadowsocks/encrypt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/shadowsocks/encrypt.py -------------------------------------------------------------------------------- /shadowsocks/eventloop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/shadowsocks/eventloop.py -------------------------------------------------------------------------------- /shadowsocks/local.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/shadowsocks/local.py -------------------------------------------------------------------------------- /shadowsocks/lru_cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/shadowsocks/lru_cache.py -------------------------------------------------------------------------------- /shadowsocks/manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/shadowsocks/manager.py -------------------------------------------------------------------------------- /shadowsocks/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/shadowsocks/server.py -------------------------------------------------------------------------------- /shadowsocks/shell.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/shadowsocks/shell.py -------------------------------------------------------------------------------- /shadowsocks/tcprelay.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/shadowsocks/tcprelay.py -------------------------------------------------------------------------------- /shadowsocks/udprelay.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/shadowsocks/udprelay.py -------------------------------------------------------------------------------- /tests/aes-cfb1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/aes-cfb1.json -------------------------------------------------------------------------------- /tests/aes-cfb8.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/aes-cfb8.json -------------------------------------------------------------------------------- /tests/aes-ctr.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/aes-ctr.json -------------------------------------------------------------------------------- /tests/aes.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/aes.json -------------------------------------------------------------------------------- /tests/assert.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/assert.sh -------------------------------------------------------------------------------- /tests/chacha20.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/chacha20.json -------------------------------------------------------------------------------- /tests/client-multi-server-ip.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/client-multi-server-ip.json -------------------------------------------------------------------------------- /tests/coverage_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/coverage_server.py -------------------------------------------------------------------------------- /tests/fastopen.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/fastopen.json -------------------------------------------------------------------------------- /tests/gen_multiple_passwd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/gen_multiple_passwd.py -------------------------------------------------------------------------------- /tests/graceful.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/graceful.json -------------------------------------------------------------------------------- /tests/graceful_cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/graceful_cli.py -------------------------------------------------------------------------------- /tests/graceful_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/graceful_server.py -------------------------------------------------------------------------------- /tests/ipv6-client-side.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/ipv6-client-side.json -------------------------------------------------------------------------------- /tests/ipv6.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/ipv6.json -------------------------------------------------------------------------------- /tests/jenkins.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/jenkins.sh -------------------------------------------------------------------------------- /tests/libsodium/install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/libsodium/install.sh -------------------------------------------------------------------------------- /tests/nose_plugin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/nose_plugin.py -------------------------------------------------------------------------------- /tests/rc4-md5.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/rc4-md5.json -------------------------------------------------------------------------------- /tests/salsa20-ctr.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/salsa20-ctr.json -------------------------------------------------------------------------------- /tests/salsa20.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/salsa20.json -------------------------------------------------------------------------------- /tests/server-dnsserver.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/server-dnsserver.json -------------------------------------------------------------------------------- /tests/server-multi-passwd-client-side.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/server-multi-passwd-client-side.json -------------------------------------------------------------------------------- /tests/server-multi-passwd-empty.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/server-multi-passwd-empty.json -------------------------------------------------------------------------------- /tests/server-multi-passwd-performance.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/server-multi-passwd-performance.json -------------------------------------------------------------------------------- /tests/server-multi-passwd-table.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/server-multi-passwd-table.json -------------------------------------------------------------------------------- /tests/server-multi-passwd.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/server-multi-passwd.json -------------------------------------------------------------------------------- /tests/server-multi-ports.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/server-multi-ports.json -------------------------------------------------------------------------------- /tests/setup_tc.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/setup_tc.sh -------------------------------------------------------------------------------- /tests/socksify/install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/socksify/install.sh -------------------------------------------------------------------------------- /tests/socksify/socks.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/socksify/socks.conf -------------------------------------------------------------------------------- /tests/table.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/table.json -------------------------------------------------------------------------------- /tests/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/test.py -------------------------------------------------------------------------------- /tests/test_command.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/test_command.sh -------------------------------------------------------------------------------- /tests/test_daemon.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/test_daemon.sh -------------------------------------------------------------------------------- /tests/test_graceful_restart.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/test_graceful_restart.sh -------------------------------------------------------------------------------- /tests/test_large_file.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/test_large_file.sh -------------------------------------------------------------------------------- /tests/test_udp_src.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/test_udp_src.py -------------------------------------------------------------------------------- /tests/test_udp_src.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/test_udp_src.sh -------------------------------------------------------------------------------- /tests/workers.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/tests/workers.json -------------------------------------------------------------------------------- /utils/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/utils/README.md -------------------------------------------------------------------------------- /utils/autoban.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/utils/autoban.py -------------------------------------------------------------------------------- /utils/fail2ban/shadowsocks.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neo-shadowsocks/shadowsocks/HEAD/utils/fail2ban/shadowsocks.conf --------------------------------------------------------------------------------