Commit Graph
874 Commits
Author SHA1 Message Date
Max Lv fb53630b20 Fix some building issues 2017-03-16 14:04:05 +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
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
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 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
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
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
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
Max Lv 71ff3cff1d Fix #1306 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
Max Lv 908a7fa050 Fix #1296 2017-03-16 13:06:07 +08:00
Max Lv f3d298f036 Fix #1291 2017-03-16 13:06:07 +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
Max Lv a0fd7a1186 Detect get_current_dir_name in configure 2017-03-16 13:06:05 +08:00
Max Lv f9fe9bccf5 Fix build on non-GPU targets 2017-03-16 13:06:05 +08:00
Max Lv bf23fb6ec4 Fix a memory leak 2017-03-16 13:06:05 +08:00
Roger Shimizu 825e83534b 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-03-16 13:06:04 +08:00
wener 734092e348 Build shared and static shadowsock-libev and executable. 2017-02-20 00:04:28 +08:00
wener 0cabdccd9a Remove confuse comment in config.h.in;Move config.h.in to cmake. 2017-02-18 13:03:22 +08:00
wener c5ac1316aa Use cmake to generate config.h 2017-02-17 18:58:32 +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
Max Lv 72f6041a7c Add USE_SYSTEM_SHARED_LIB check in configure 2017-02-13 21:32:46 +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 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 d1018e4ca5 Ignore empty payload 2017-02-11 09:12:02 +08:00
Max Lv 0cff5503f6 Add default manager-address 2017-02-10 15:38:38 +08:00
Max Lv f4b1641636 Fix #1217 2017-02-08 09:58:04 +08:00
Max Lv c5c8389a8d Fix data len 2017-02-06 18:03:05 +08:00
Max Lv c9d7ff16d6 Fix a typo 2017-02-06 17:26:58 +08:00
Max Lv ef0402eb10 Add --key option to set key directly (#1207) 2017-02-06 17:02:04 +08:00
Dijkstra 43aabb2303 Fix typo. (#1206) 2017-02-06 16:33:21 +08:00
Kim bf14944490 fixed json_null => NULL (#1193)
The json_null should be C NULL.
2017-02-05 07:14:19 +08:00
Max Lv 894eae567c Refine ciphers 2017-02-04 20:04:48 +08:00
Max Lv dde1bf7dec Fix a potential issue in parse_addr 2017-02-04 18:36:06 +08:00
Max Lv 2b1b9bb403 Refine buffer handling in stream_decrypt 2017-02-04 16:22:58 +08:00