1672 Commits
Author SHA1 Message Date
Max Lv 48f5a3bec8 Bump version v3.0.5 2017-03-21 13:56:13 +08:00
Max Lv e2c24d6ac8 Refine TFO in ss-redir 2017-03-20 22:59:14 +08:00
Max Lv e4884b5f21 Fix IPV6_RECVORIGDSTADDR. #1368 2017-03-20 09:05:12 +08:00
Max Lv 70873ef83d Update cmake for travis-ci 2017-03-19 17:39:31 +08:00
Syrone Wong 836d2f3859 fix header
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2017-03-19 17:37:07 +08:00
Max Lv 087bfe7f91 Stop the timer properly 2017-03-19 17:19:49 +08:00
Syrone Wong 1e91b6a1f6 On Linux, warn when we are running low on entropy
Based on https://github.com/jedisct1/dnscrypt-proxy/commit/a255d2908305739b54dafb01ae0285f6016869ab

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2017-03-19 17:16:19 +08:00
Syrone Wong b74108db09 drop redundant sodium_init() call
It is done in crypto.c

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2017-03-19 17:16:19 +08:00
Max Lv cfe830405f Fix #1376 2017-03-18 16:14:03 +08:00
Max Lv fa82628dd9 Add delayed connect to ss-local as well 2017-03-17 09:54:20 +08:00
Max Lv f2b585a00b Enable shared libraries in Travis CI 2017-03-16 15:00:00 +08:00
Max Lv 69e5e1284e Update travis CI 2017-03-16 14:39:18 +08:00
Max Lv 76609740c9 Update Changes v3.0.4 2017-03-16 14:22:32 +08:00
Max Lv b725d575f2 Bump version 2017-03-16 14:21:11 +08:00
Max Lv a8ded442a2 Merge branch 'cmake' 2017-03-16 14:04:34 +08:00
Max Lv fb53630b20 Fix some building issues 2017-03-16 14:04:05 +08:00
Simon Shi af57095cc6 Readme refine (#1360)
* Readme refine

1. update libsodium version
2. remove some duplicate information
3. move some building suggestion to other part of document

Signed-off-by: Simon <simonsmh@gmail.com>

* mbedtls

* fix

1. distributions
2. usage
3. typo
2017-03-16 13:06:13 +08:00
Roger Shimizu 8fe8baf4e0 Add kcptun package build support to build_deb.sh script
Confirmed under xenial and jessie-backports.
Other distro still need some work, but should be similar.
2017-03-16 13:06:13 +08:00
Max Lv 88007b403e Add delayed connecting in ss-tunnel 2017-03-16 13:06:12 +08:00
Felix Yan 3b9ac7e81e Use system libbloom on USE_SYSTEM_SHARED_LIB 2017-03-16 13:06:12 +08:00
Rick Lei abba443ca5 Turn off errexit option when detecting the apg command
Commit https://github.com/shadowsocks/shadowsocks-libev/commit/f32ac38c2f7aab09ec25131209954957518de42a
allows to use pwgen to generate the initial password at the first
installation. However it won't work when apg isn't installed because:

* the postinst script has errexit option set ("set -e")
* at the first installation of ss-libev, apg or pwgen will be called to
  generate the initial password in config.json
* when apg isn't installed, "pathfind apg" would return 1
* and the postinst script will immediately exit due to "set -e"

This commit temporarily turn off the errexit option for pathfind()
2017-03-16 13:06:12 +08:00
zhou0 74167f3688 restore version_info to 2.0.0 2017-03-16 13:06:12 +08:00
zhou0 13842ea566 fix wrong version_info 2017-03-16 13:06:12 +08:00
zhou0 172b430740 remove AC_PROG_LIBTOOL
with LT_INIT, AC_PROG_LIBTOOL is not needed.
2017-03-16 13:06:12 +08:00
Max Lv a10e92ea22 Refine assertion 2017-03-16 13:06:11 +08:00
lqs 1c67496a1c fix bugs 2017-03-16 13:06:11 +08:00
Martin Wetterwald 51afa5e548 ss-redir: allow you to define additionals listenings ports to set a TOS/DSCP on the outgoings ciphered connections 2017-03-16 13:06:11 +08:00
Sebastien DUPONCHEEL 8d2918b5cb ss-server: append --enable-connmarktos option to configure and check for libnetfilter-conntrack dependency if enabled 2017-03-16 13:06:11 +08:00
Sebastien DUPONCHEEL e636e81d9f ss-server: allows you to set a TOS/DSCP value to the outgoing ciphered connection to the client from a netfilter mark setted on the (re)comming connection from the outside world. 2017-03-16 13:06:11 +08:00
Patrick Li 9a98c805ba Allow the use of pwgen to generate passwords 2017-03-16 13:06:11 +08:00
Max Lv 1af0272702 Refine port binding 2017-03-16 13:06:10 +08:00
Max Lv b25c071822 Refine the error handling 2017-03-16 13:06:10 +08:00
Max Lv 3041a87a2f Fix #1334 2017-03-16 13:06:10 +08:00
Heiybb 91fc89af88 Update README.md
Add manager option
2017-03-16 13:06:10 +08:00
Max Lv 1af0625d01 Fix a building issue 2017-03-16 13:06:10 +08:00
Max Lv 05f97abbb2 Don't apply ACL on DNS port on Android 2017-03-16 13:06:10 +08:00
hang 5b9d7ccce5 add Linux build dependencies: libsodium-dev 2017-03-16 13:06:10 +08:00
Max Lv 495722f2be Listening at 0.0.0.0 by default 2017-03-16 13:06:09 +08:00
Sebastien DUPONCHEEL efbd488890 mptcp: make shadowsocks kernel independant 2017-03-16 13:06:09 +08:00
Rayson zhu ea947db74d fix rpm SPEC file
1. add missing build and runtime dependencies
2. change minimal version requirement for libsodium to 1.0.4, which
should work fine with ss-libev and EPEL7 users will not have to compile a
later version.
3. add more entries to .gitignore
2017-03-16 13:06:09 +08:00
Rayson zhu 27860045e6 Rewrite genrpm.sh to build RPM from current Git workspace
Here are the problems existing in the old RPM packaging scripts:

1. The old `genrpm.sh` is designed to build RPMs for all versions of
shadowsocks-libev with an option '-v'.
This increases the complexity because we need to keep it compatible
with old versions.
2. I have to modify the script manually in order to build RPMs from
non-release commit or dirty workspace.

The new script will only build RPMs and SRPMs from current workspace,
not commit.
The version-release number will be determined automatically from the
`git describe` command.
2017-03-16 13:06:09 +08:00
Roger Shimizu 1b2559478d Make build_deb.sh script to build libraries and binaries separately
Also add usage help and a few code cleanup
2017-03-16 13:06:09 +08:00
Max Lv 28b3d0a99e Fix #1312 2017-03-16 13:06:09 +08:00
Jian Chang 15a01d581e update README.md
On Linux, you need to run `ldconfig` after installing a new library.
2017-03-16 13:06:08 +08:00
cuckoo af7ea5c400 use system lib 2017-03-16 13:06:08 +08:00
Roger Shimizu 529b226d18 Cleanup build_deb.sh script
- Use "lsb_release -cs" command to get distro info.
- Limit xz memory usage to 128MiB.
- Other minor fixes.
2017-03-16 13:06:08 +08:00
Max Lv 71ff3cff1d Fix #1306 2017-03-16 13:06:08 +08:00
Roger Shimizu 9e3b5528b4 Add simple-obfs support to build_deb.sh script 2017-03-16 13:06:08 +08:00
lqs fda287d76f Add tcp-fast-open support for ss-redir 2017-03-16 13:06:08 +08:00
Roger Shimizu eada394c1f Update build_deb.sh to add libbloom support
Also includes fixes for yakkety.
2017-03-16 13:06:08 +08:00