(1) shadowsocks

来源:互联网 发布:网络运营是做什么的 编辑:程序博客网 时间:2024/04/27 16:06


http://shadowsocks.org/en/download/servers.html


Servers

Python

shadowsocks-python is the initial version written by @clowwindy. It aims to provide a simple-to-use and easy-to-deploy implementation with basic features of shadowsocks.

PyPI

First, make sure you have Python 2.6 or 2.7.

$ python --versionPython 2.6.8

Then install from PIP

$ pip install shadowsocks

GitHub

Checkout the source codes and run the scripts directly.

$ git clone https://github.com/shadowsocks/shadowsocks.git$ cd shadowsocks$ python setup.py

shadowsocks-python is licensed under the Apache License, Version 2.0.

Go

shadowsocks-go is a state-of-the-art port written in Go language, designed for large-scale system. It implements the multi-ports-multi-password feature, which is suitable for paid service providers with user management and traffic statistics support. This port is maintained by @cyfdecyf.

Pre-built Binaries

Download archives from http://dl.chenyufei.info/shadowsocks/.

GitHub

Use go get to install the scripts.

$ go get github.com/shadowsocks/shadowsocks-go/cmd/shadowsocks-server

shadowsocks-go is licensed under the MIT license.

C with libev

shadowsocks-libev is a lightweight and full featured port for embedded devices and low end boxes. It's a pure C implementation and has a very small footprint (several megabytes) for thousands of connections. This port is maintained by@madeye.

Debian/Ubuntu:

Shadowsocks-libev is available in the official repository for Debian 9("Stretch"), unstable, Ubuntu 16.10 and later derivatives:

sudo apt updatesudo apt install shadowsocks-libev

For Debian Jessie users, please install it from jessie-backports:

sudo sh -c 'printf "deb http://httpredir.debian.org/debian jessie-backportsmain" > /etc/apt/sources.list.d/jessie-backports.list'sudo apt-get updatesudo apt-get -t jessie-backports install shadowsocks-libev

GitHub

Build and install the project from source codes.

$ sudo apt-get install --no-install-recommends build-essential autoconf libtool \        libssl-dev gawk debhelper dh-systemd init-system-helpers pkg-config asciidoc \        xmlto apg libpcre3-dev zlib1g-dev libev-dev libudns-dev libsodium-dev$ git clone https://github.com/shadowsocks/shadowsocks-libev.git$ cd shadowsocks-libev$ git submodule update --init$ ./autogen.sh && ./configure && make$ sudo make install

shadowsocks-libev is licensed under the GNU General Public License v3.0.

C++ with Qt

libQtShadowsocks is a lightweight and ultra-fast shadowsocks library written in C++ with Qt 5. The clientshadowsocks-libqss can be used in both client-side and server-side. This port is maintained by@librehat.

Prebuilt binaries

Download pre-built binaries from https://github.com/shadowsocks/libQtShadowsocks/releases

GitHub

$ git clone https://github.com/shadowsocks/libQtShadowsocks.git$ cd libQtShadowsocks$ qmake$ make -j4$ sudo make install

libQtShadowsocks is licensed under the GNU Lesser General Public License, version 3.0

Perl

Net::Shadowsocks is an asynchronous, non-blocking Shadowsocks client and server Perl module maintained by@zhou0.

Setting up

You need a Perl interpreter to execute Perl program. Any Unix like system , including Linux and Mac OS X, has Perl pre-installed. Windows does not have Perl installed by default, you need to install Strawberry Perl.The source code is available on CPAN and github. Download from CPAN https://metacpan.org/release/Net-Shadowsocks or download from github https://github.com/zhou0/shadowsocks-perl

Installing

On Unix like systems,either

$ perl Build.PL$ ./Build$ ./Build test$ ./Build install

or

$ perl Makefile.PL$ make$ make test$ make install

You might need to change make to dmake or nmake depending on the compiler toolchain used on Windows. If You have cpan, you can also install using this command

$ cpan Net::Shadowsocks

Running

There is a server.pl script under the eg directory. Put your config.json in the same directory as server.pl and run the server.pl script there.

Net::Shadowsocks is licensed under the [Artistic License (2.0)] (http://www.perlfoundation.org/artistic_license_2_0).


0 0
原创粉丝点击