This is a simple port of shadowsocks.
- Pause for being busy...
-
Set environment variables
VCPKG_DEFAULT_TRIPLET=x64-windows-static
,VCPKG_ROOT={Path to your vcpkg repo}
-
Install dependencies:
.\vcpkg.exe install openssl libsodium gflags glog boost-system boost-asio boost-program-options boost-process boost-format boost-endian boost-variant
git clone https://github.com/lcdtyph/shadowsocks-asio
cd shadowsocks-asio
.\build-win.ps1
Following command will install binaries and dlls into %HOMEPATH%\Documents\bin
cmake --build . --target INSTALL --config Release
# change into boost source directory
./bootstrap.sh --with-libraries=system,program_options,filesystem
./b2 cxxflags=-fPIC threading=multi -j2
./b2 install
- Build libsodium from source
apt install -y autoconf libtool
# change into libsodium source directory
./autogen.sh
./configure --with-pic=yes
make -j2 install
ldconfig
- Install rest dependencies
apt install build-essential git-core libgoogle-glog-dev libssl1.0-dev
git clone https://github.com/lcdtyph/shadowsocks-asio
cd shadowsocks-asio
cmake . && make -j2
make install
ldconfig
brew install cmake libsodium openssl boost glog gflags
git clone https://github.com/lcdtyph/shadowsocks-asio
cd shadowsocks-asio
cmake . && make -j2
make install
- friendly help message
- udp relay (current only available for ss-server)
- replace boost::program_options with gflags
- ss-redir
- reconstruction
lcdtyph [email protected] Copyright (C) 2018 lcdtyph
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.