Commit Graph
1019 Commits
Author SHA1 Message Date
Linus Yang 2ed8791dab Re-add support for MinGW 2018-03-08 17:26:11 +08:00
Max Witten e7ad7fc73e udprelay: display mtu at least size 2018-03-05 21:37:12 +08:00
Max Lv 26e06a7a1d Fix #1948 2018-02-27 21:14:16 +08:00
Syrone Wong abba447f13 mbedtls: simplify new MD5 API 2018-02-27 14:19:30 +08:00
Max Lv 6e1e005221 Fix #1908 2018-02-27 11:01:36 +08:00
hwchan fb22adcb92 Fix https://github.com/shadowsocks/shadowsocks-libev/issues/1945
Refer: https://github.com/dlundquist/sniproxy/commit/4af9a1b62b7987f2e9f3c561f589c10092d4e150
2018-02-27 05:14:50 +08:00
DDoSolitary 7b643dce7e Invoke plugins direct instead of using "sh".
See #1928 for details.
2018-02-15 16:05:46 +08:00
Max Lv f8b18cc793 Refine the bind_to_address 2018-02-11 08:50:29 +08:00
Max Lv 8acbe68e66 Fix #1915 2018-02-11 08:42:07 +08:00
ksqsf eb501b70c7 Oops.. Remove useless code. 2018-02-11 00:53:33 +08:00
ksqsf 2a3d3bc13c Remove pointless optimization in get_default_conf() 2018-02-11 00:35:59 +08:00
ksqsf 3c3c50b4f8 Search XDG_CONFIG_HOME for user-specific config 2018-02-11 00:30:09 +08:00
Max Lv 5fa98a6693 Fix #1911 2018-02-06 10:18:03 +08:00
Max Lv 1a21989566 Remove the return value in traffic IPC 2018-02-04 23:02:38 -08:00
Max Lv b361f75f31 Remove unused return value 2018-02-05 13:33:14 +08:00
Terry Chan b6faadf857 Support TCP_NODELAY in manager mode 2018-01-20 15:44:17 +08:00
Terry Chan ed508ac142 Fix no parse --fast-open in manager mode 2018-01-20 15:34:40 +08:00
Max Lv 85a64ae836 Bump version 2018-01-15 17:25:03 -08:00
Roger Shimizu d41508292f Make cmake to build under Debian
Add a new option, WITH_EMBEDDED_SRC, which default is ON and same as
current setting.
When set to OFF, it can use system's libcork, libcorkipset, and libbloom.

It can be built in debian by:
$ cmake -DUSE_SYSTEM_SHARED_LIB=1 -DWITH_STATIC=OFF -DWITH_EMBEDDED_SRC=OFF
$ make
2018-01-07 23:36:24 +09:00
Max Lv 29ff5d3f89 Avoid overwriting dst_addr 2018-01-13 09:17:18 +08:00
Max Lv b95495e71d Remove the log of sockaddr_cmp 2018-01-12 22:55:26 +08:00
Max Lv 569b27a73f Clean up 2018-01-12 22:37:41 +08:00
Max Lv 9ca33a64c7 Refine the UDP response header 2018-01-12 22:15:33 +08:00
Max Lv c11e70aa8a Reconstruct src addr for P2P usage 2018-01-12 22:00:43 +08:00
Max Lv 2bf7ecc787 Log the mismatched header as an error 2018-01-12 21:18:21 +08:00
Max Lv 68abd2a274 Fix a header mismatch issue in udp relay 2018-01-12 21:39:09 +08:00
Max Lv 56498cb548 Refine log output 2018-01-12 20:39:52 +08:00
Max Lv 1d94442546 Refine udp header checking 2018-01-12 10:15:24 +08:00
Max Lv 87e4bece84 Enlarge the timeout of protecting socket 2018-01-11 22:10:46 +08:00
Max Lv 512891c66f Refine SNI parser in ss-local 2018-01-07 20:20:15 -08:00
Max Lv 539bf6e66d Avoid reconstructing requests with SNI/HTTP parser 2018-01-07 18:17:21 -08:00
Max Lv afce1b3f42 Refine #1872 2018-01-05 01:09:41 -08:00
Max Lv be795e1985 Refine query interface 2017-12-27 22:18:55 -08:00
Max Lv 10ce3ed5d3 Refine query handling 2017-12-27 21:52:17 -08:00
Max Lv 57ab828ba1 Fix a potential null pointer acceess issue. #1854
It's possible that c-ares calls the callback function immediately in ares_gethostbyname, which may free the server
structure in that callback function.
2017-12-27 21:47:28 -08:00
Max Lv 5072be7a02 Disable SNI on Android 2017-12-27 09:58:50 +08:00
Max Lv 65e9d2355d Avoid reconstructing all the connections 2017-12-26 17:43:48 -08:00
Max Lv b26cbc2755 Refine #1852 2017-12-25 15:31:27 +08:00
Max Lv 3ed6019e1f Fix #1843 2017-12-20 09:20:01 +08:00
Max Lv 83e637cc57 Disable port reusing in manager mode 2017-12-18 21:42:21 +08:00
alberto lalama 70ea7c2e27 Library interface to start ss local with a callback 2017-12-13 12:02:57 -05:00
alberto lalama d237a05739 Fix off-by-one bug in free_udprelay 2017-12-13 11:24:21 -05:00
Max Lv 0c3cf8beb3 Handle runtime fast open check correctly 2017-12-01 09:49:15 +08:00
Max Lv 2152274311 Force to disable new TFO API on Android 2017-11-28 16:53:48 +08:00
Max Lv 79f0e3c68d Fix uninitialized variables 2017-11-28 10:33:26 +08:00
Max Lv aebb79c222 Refine build on platform without TCP_FASTOPEN 2017-11-27 14:02:11 +08:00
Max Lv 42b29fbb63 Fix cmake builds 2017-11-27 12:13:04 +08:00
Max Lv 6eb93c4c4e Fix conditional build for new TFO API 2017-11-26 23:31:19 +08:00
Max Lv a15251b2fc Fix the missing addr reset 2017-11-26 16:28:15 +08:00
Max Lv 9317d3b159 Fix the missing TFO flags on Android 2017-11-26 14:54:13 +08:00