1660 Commits
Author SHA1 Message Date
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
Max Lv 908a7fa050 Fix #1296 2017-03-16 13:06:07 +08:00
Max Lv 913dfd81e8 Bump version 2017-03-16 13:06:07 +08:00
Max Lv f3d298f036 Fix #1291 2017-03-16 13:06:07 +08:00
was4444 91096c6f98 add closure? (#1294) 2017-03-16 13:06:07 +08:00
was4444 c809cc0246 pack submodules for genrpm (#1293)
* add option to run autogen before configure

* pack submodules for genrpm
2017-03-16 13:06:07 +08:00
was4444 99e08e37b3 genrpm changes (#1292)
* auto select latest version

* bash-completion comes with version 2.6.0

* version greater than 2.6.2 need submodules packed

* adjust version check order
2017-03-16 13:06:07 +08:00
Kim 9acebb4f4f Updated bash completion (#1284) 2017-03-16 13:06:06 +08:00
Max Lv 9bf991b23f Refine the parameters of bloom filter 2017-03-16 13:06:06 +08:00
Max Lv 557cd91fe0 Make parameters of bloom filter be compiler-time constants 2017-03-16 13:06:06 +08:00
Max Lv 3f2f979dac Replace nonce cache with a ping-pong bloom filter (#1282)
* Add Ping-Pong bloom filter

* Refine bloom filter insertion

* Reduce the error rate to 0.00001

* Avoid alignment issue in murmurhash2

* Fix a memory leak

* Fix build on non-GPU targets

* Detect get_current_dir_name in configure

* Update README.md

* Remove redudant bfree()

* Reduce the memory usage for local client

* Fix #1275

* Refine #1275

* Use IP when bypassing SNI domains

* Also apply replay detector on UDP traffic

* Update deb build script

Now build script is able to auto detect system and choose libraries
necessary to build.

Also update the README accordingly.

* Update build script to enable jessie/stretch etc

Also include a few cleanup that simplified pkg installation from
backports repository.
2017-03-16 13:06:06 +08:00
Roger Shimizu d122cd1eed Update build script to enable jessie/stretch etc
Also include a few cleanup that simplified pkg installation from
backports repository.
2017-03-16 13:06:06 +08:00
Roger Shimizu 94a9924a78 Update deb build script
Now build script is able to auto detect system and choose libraries
necessary to build.

Also update the README accordingly.
2017-03-16 13:06:06 +08:00