Max Lv
33fe5adc19
Remove debug info
2017-05-06 07:30:30 +08:00
Max Lv
0313c8bcc6
Fix stat_update_cb for UDP packets
2017-05-06 07:24:12 +08:00
Max Lv
3f0d39aee6
Fix #1491
2017-05-03 15:36:58 +08:00
Zou Yong
eb30a3d161
Fix losing data issue of SALSA20 cipher
...
If nonce received in more than one packet under some network condition, the salsa20 cipher decryption will lose cipher->nonce_len - left_len bytes of data.
2017-04-30 21:01:15 +08:00
Zou Yong
0559d8ce2e
Fix decryption failed issue by nonce overwrite
...
If the first packet is less than nonce length, then the chunk nonce data will be overwrote by next packet and result in decrypt failed
2017-04-28 19:35:42 +08:00
Vladimir Olteanu
c6bc21bc1a
Make use of struct when parsing method select requests
2017-04-27 07:45:26 +08:00
Vladimir Olteanu
8065d2f0cf
Make SOCKS5 fields unsigned
2017-04-27 07:45:26 +08:00
Daniel
b918fd7a77
aviod twice resolving when domain has bypassed ip
2017-04-25 07:13:27 +08:00
Daniel
81006d4690
resolve when acl_match_host failed
2017-04-23 16:46:23 +08:00
Daniel
54acbba2a7
resolve domain so we can bypass domain with geoip
2017-04-23 16:46:23 +08:00
zzzdong
9db9df5f4d
Add a option in CMakeLists.txt for switch build with static libraries or not
2017-04-23 07:16:22 +08:00
Max Lv
d252da8d83
Fix another potential out of bound access. #1465
2017-04-19 12:46:59 +08:00
Max Lv
9ee82a9a89
Fix a potential out of bound access. #1465
2017-04-19 12:16:41 +08:00
V.E.O
0de794f0db
avoid blocking requests from local plugins server
...
When ss-server wrapped in a plugin server, every peer_name are 127.0.0.1, black list seems not working.
If large requests sent from the plugin server, ss-server would in DoS.
Maybe when in plugin mode, disable black list in ss-server and move it to plugin server?
2017-04-14 19:02:48 +08:00
Max Lv
490b9cbcdc
Fix #1430
2017-04-05 15:12:37 +08:00
Max Lv
2ee9fc6417
Refine IPV6_RECVORIGDSTADDR
2017-03-27 13:29:17 +08:00
Max Lv
2867252303
Allow to receive IPv6 address. #1368
2017-03-27 13:16:14 +08:00
Max Lv
5b2fb72b14
Refine interface
2017-03-27 13:09:29 +08:00
Paizhuo.Chen
7ffaa9f33e
fix shadowsocks/shadowsocks-libev#1408
2017-03-26 22:12:23 +08:00
wener
6be1761efa
Install shadowsocks-libev libs only, install shadowsocks.h header
2017-03-26 21:20:33 +08:00
wener
619ae880c9
Recommend to use shared binary
2017-03-26 21:20:33 +08:00
wener
1f91fbc69a
1. Fix incorrect install path.
...
2. set CMP0048 to OLD to prevent warning
2017-03-26 21:20:33 +08:00
wener
88ef344262
Add document build
2017-03-26 21:20:33 +08:00
Paizhuo.Chen
233cf15834
Add method, fast_open, mode, plugin options to ss-manager
2017-03-25 21:39:25 +08:00
Max Lv
7101086d47
Output the entropy hints as info
2017-03-22 11:08:48 +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
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
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