1560 Commits
Author SHA1 Message Date
Max Lv 661429e579 Bump version v3.0.3 2017-02-24 12:16:20 +08:00
Max Lv 44b0eae3ef Fix #1291 2017-02-23 09:35:12 +08:00
was4444 48c9abe3a5 add closure? (#1294) 2017-02-22 17:26:45 +08:00
was4444 998cb109d3 pack submodules for genrpm (#1293)
* add option to run autogen before configure

* pack submodules for genrpm
2017-02-22 16:57:59 +08:00
was4444 eaefbe1e76 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-02-22 12:19:52 +08:00
Kim 857bb8def7 Updated bash completion (#1284) 2017-02-20 20:52:08 +08:00
Max Lv 830679e5a4 Refine the parameters of bloom filter 2017-02-20 16:22:46 +08:00
Max Lv 98a4ff0639 Make parameters of bloom filter be compiler-time constants 2017-02-20 16:08:17 +08:00
Max Lv b655fb2b8f 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-02-20 10:29:32 +08:00
Roger Shimizu 9185afb142 Update build script to enable jessie/stretch etc
Also include a few cleanup that simplified pkg installation from
backports repository.
2017-02-20 07:28:58 +08:00
Roger Shimizu 67661fb9dd 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-02-19 18:35:11 +08:00
Max Lv 2e2f8398db Update README.md 2017-02-17 15:29:44 +08:00
Max Lv dddbfd2284 Detect get_current_dir_name in configure 2017-02-17 13:29:44 +08:00
Max Lv 41263c3bbd Fix build on non-GPU targets 2017-02-17 13:17:28 +08:00
Max Lv d434cd20ec Fix a memory leak 2017-02-17 12:31:22 +08:00
Roger Shimizu 97ac602dbf Add xenial-backports repository
Because user may upgrade from previous LTS version, xenial-backports
is better to be added by us for safety.

And use debhelper 10 for shadowsocks-libev only.
2017-02-17 08:33:35 +08:00
Roger Shimizu d7888abbf1 Update trusty build script
- Move Build-Depends dh-autoreconf dh-systemd to debian/control
- Also change debian/compat to 9 (debhelper 9)
2017-02-17 08:33:25 +08:00
Roger Shimizu f7c24b15a7 fix of PATH_MAX for GNU/Hurd
Info:
 - https://www.gnu.org/software/hurd/community/gsoc/project_ideas/maxpath.html
 - https://www.gnu.org/software/hurd/hurd/porting/guidelines.html#PATH_MAX_tt_MAX_PATH_tt_MAXPATHL
2017-02-17 08:33:13 +08:00
Roger Shimizu 91643523c4 Bump debhelper 10
debhelper 10 is available in the following Debian/Ubuntu releases:
 - Debian 8.x Jessie (jessie-backports)
 - Debian 9.x Stretch / unstable
 - Ubuntu 16.04 Xenial (xenial-backports)
 - Ubuntu 16.10 Yakkety

debhelper supports dh-autoreconf and dh-systemd by default, so we can
safely remove a few Build-Depends and dh params.

We also sync a few other files under debian/ folder with Debian release
3.0.2+ds-1~exp1.
2017-02-16 20:38:08 +08:00
Roger Shimizu fc84654420 README: Install build dependencies by mk-build-deps cmd
mk-build-deps is provided by devscripts package, and also relies on
equivs package.
2017-02-16 20:37:41 +08:00
Neal Feng 0437e05aa8 iperf.sh: wait one second before killing processes 2017-02-16 12:33:40 +08:00
Roger Shimizu 1d589900fb Add Ubuntu 14.04/16.04 build instruction to README 2017-02-15 21:32:10 +08:00
Roger Shimizu 7467f07984 Add CAP_NET_ADMIN capability to ss-redir in postinst script
Fix #1252
2017-02-15 08:01:00 +08:00
Roger Shimizu d12a7b911e Add more cleanup pkg to trusty script
For xenial script, it's clean enough so far.
2017-02-15 08:00:43 +08:00
Syrone Wong 80ca9469e6 Output error log when repeat IV/salt detected
This is useful when checking connection issues, and can be used to
check broken random number generator and replay attacks.

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2017-02-14 19:41:46 +08:00
Max Lv 504a3f7813 Refine MAX_FRAG 2017-02-14 10:38:39 +08:00
Max Lv 422eaa5024 Add back fragmentation detection 2017-02-14 10:02:36 +08:00
Roger Shimizu 0553da0692 dh-systemd dependency should be removed for debhelper >=10
For trusty, debhelper is 9, so need to add the Build-Depends
for the build script.

With a few other fixes for trusty script.
2017-02-14 09:37:24 +08:00
Roger Shimizu e7e4291f03 Add deb build script for ubuntu xenial 16.04 2017-02-13 22:31:16 +08:00
Max Lv 72f6041a7c Add USE_SYSTEM_SHARED_LIB check in configure 2017-02-13 21:32:46 +08:00
Roger Shimizu 14a79b5500 Add deb build script for ubuntu trusty 14.04 2017-02-13 20:55:37 +08:00
Max Lv 2a9b9c7358 Revert "Fix server buffer #1245"
This reverts commit 9716eede20.
2017-02-13 19:03:28 +08:00
Max Lv 9716eede20 Fix server buffer #1245 2017-02-13 18:54:37 +08:00
Max Lv 8a34b3ea0b Rename DEBUG to SS_DEBUG 2017-02-13 13:16:57 +08:00
Max Lv 889079e69b Replace the URL for libsodium 2017-02-13 10:50:40 +08:00
Max Lv 46fa5de9e4 Bump version v3.0.2 2017-02-13 09:13:16 +08:00
Max Lv 6520f340bb Fix #1240 2017-02-12 20:15:22 +08:00
Max Lv 6c62647a66 Add session key following SIP007 2017-02-12 16:34:42 +08:00
Max Lv c422272ed3 Update libcork 2017-02-11 09:12:32 +08:00
Max Lv d1018e4ca5 Ignore empty payload 2017-02-11 09:12:02 +08:00
Boyuan Yang 3f789cd0a7 Clarify port_password usage in docs (#1229) 2017-02-10 16:04:31 +08:00
Max Lv 0b9b8d65ce Update config.json docs 2017-02-10 15:54:58 +08:00
Max Lv 0cff5503f6 Add default manager-address 2017-02-10 15:38:38 +08:00
Cokebar Chi 88037fc2b3 Update README.md (#1225)
Install libmbedtls in `/usr` instead of `/usr/local`
2017-02-09 17:02:45 +08:00
Boyuan Yang b09c2bec36 README.md: update words about building and packaging. 2017-02-08 17:18:25 +08:00
Boyuan Yang 4f88092311 debian: Update packaging instructions (Fix #1198)
This commit will fix .deb packaging instructions for Ubuntu 16.04.
Meanwhile, .deb packaging for Debian/Ubuntu is now only suitable
for Ubuntu 16.04 LTS or higher, Debian 9 or higher.

Debian 8 users won't be able to build from source too because this
project now requires libsodium >= 1.0.8. Jessie-packports is needed
to build on Debian 8.
2017-02-08 17:18:25 +08:00
Max Lv f4b1641636 Fix #1217 2017-02-08 09:58:04 +08:00
Max Lv fdb1f190f8 Bump version v3.0.1 2017-02-07 13:30:18 +08:00
Simon Shi a0d38b3d91 Fix typo (#1210)
* Fix doc

* Update ss-redir.asciidoc

* Update ss-server.asciidoc
2017-02-07 08:47:34 +08:00
Max Lv c5c8389a8d Fix data len 2017-02-06 18:03:05 +08:00