1117 Commits
Author SHA1 Message Date
ideal a67e3308ce cmake: keep execute permission of files in bin directory (e.g. ss-local) after cmake install 2019-03-06 11:42:52 +08:00
Max Lv 14dd82045e Refine json config handling. #2308 2019-03-05 09:52:44 +08:00
ideal b020179bb5 fix cmake build error on macOS: find libsodium header files 2019-03-04 20:35:37 +08:00
Jerry 1d5f250032 ss-nat: use ping to lookup dns A records 2019-03-02 20:52:09 +08:00
Jerry 6734e12172 ss-nat: fix hostname lookup bugs introduced in #2230
Fixes: An ipv4 address went through dig and returns nothing, causing the script to print help.
ip address can be handled correctly now.
2019-03-02 20:12:41 +08:00
Max Lv 144138788b Refine ipv6 only handling. #2300 2019-03-01 07:32:25 +08:00
Max Lv 404ec62b79 Fix #2285 2019-02-18 09:59:40 +08:00
Max Lv b430124ed8 Refine is_remote_dns defination 2019-02-13 19:32:32 +08:00
Max Lv d217209271 Revert "Switch user before starting plugin server" (#2275) 2019-02-04 08:27:02 +08:00
poplite afeceeaf4d Switch user before starting plugin server 2019-02-03 23:32:52 +08:00
Max Lv 333e98dc86 Redirect standard fd to /dev/null by default 2019-01-28 21:59:30 +08:00
Max Lv 85b190372b Fix the ss_free macros 2019-01-22 16:20:49 +08:00
Max Lv 782311ad2b Refine ss_align interfaces 2019-01-22 12:59:29 +08:00
Max Lv fbb311ed06 Use _aligned_free for MinGW 2019-01-22 12:43:39 +08:00
Max Lv 4fb34de463 Use _aligned_malloc instead 2019-01-22 12:39:29 +08:00
Max Lv ba930dcca7 Fix a compiler warning 2019-01-22 09:17:53 +08:00
Max Lv d7fe31eae7 Refine ss_align for MinGW32 2019-01-21 17:51:37 +08:00
Max Lv d6b21daa9c Refine ACL log 2019-01-21 12:26:27 +08:00
Max Lv c33cf3efc0 Fix #2267 2019-01-21 12:12:42 +08:00
Max Lv 7ad2df9615 Remove all connection timeout from local clients 2019-01-17 21:36:49 +08:00
Mygod dc298c4f2b Allow long direct TCP connections
Fixes https://github.com/shadowsocks/shadowsocks-android/issues/2078.
2019-01-17 16:41:03 +08:00
Mygod 641e4ed9c8 Refine passing plugin args
Refine 68f885c271. Somehow I postponed this change for 8 months. Good job me!
2019-01-17 00:48:29 +08:00
Mygod 7fc05dcd9d Specify stat_path on Android 2019-01-12 18:23:08 +08:00
Simon Shi 0c2bda940c Rename variable 2019-01-05 09:34:52 +08:00
Simon Shi e5d8476afe Update docs 2019-01-04 23:28:52 +08:00
Simon Shi f268b278c0 Test homedir for ss-manager
Fix for user args
2019-01-04 23:11:25 +08:00
Max Lv 9545ce20a4 Merge pull request #2230 from Ptomerty/patch-1
Use dig builtin to resolve hostnames in ss-nat
2018-12-03 09:22:05 +08:00
Ptomerty d05970fd0c Use existing IP regex 2018-11-29 23:13:06 -05:00
Ptomerty f9cc909efa check if dig exists first 2018-11-29 21:33:17 -05:00
Max Lv 1c1570b28c Ensure 16-byte alignment. Fix #2233 2018-11-28 16:23:27 +08:00
Gyt 84b157e866 add server port in log file 2018-11-26 21:16:25 +08:00
Ptomerty 1dbeeaa46c resolve domains in ss-nat 2018-11-25 21:29:18 -05:00
JS Deck 910e29abba Make local address 0.0.0.0 work with udp relay 2018-11-21 10:42:29 +08:00
JS Deck 4a51c2858e Fix udp relay when tcp only (e.g. for use with kcptun) 2018-11-19 18:37:47 +08:00
Max Lv 519776cee4 Relax the nonce check in clients 2018-11-13 23:09:05 +08:00
Max Lv 569570cfa9 Fix #2215 2018-11-13 21:31:34 +08:00
Max Lv 92cab3503c Add check for reusing server's nonce/salt 2018-10-19 09:01:39 +08:00
Max Lv 482040a5dd Fix a potential stackoverflow issue 2018-10-19 08:52:04 +08:00
Max Lv 1acdb1997d Fix #2194 2018-10-15 12:58:40 +08:00
Max Lv ed7c1e64af Fix a compilation issue for GCC < 5.0 2018-09-13 14:20:07 -07:00
edsgerlin 761e66a969 Implement AES256-GCM with precomputation. 2018-09-12 02:14:11 +09:00
edsgerlin 79592a8b16 Use libsodium for aes-256-gcm when available. 2018-09-12 00:52:33 +09:00
Max Lv 57e74eaa34 Fix a bug in bypassing 2018-09-08 11:38:18 +08:00
Max Lv 46ff0a8045 Refine #2162 2018-09-02 17:27:59 -07:00
Max Lv dd5e954ab4 Clean up 2018-09-02 17:21:23 -07:00
Max Lv 1dcfe68c8c Fix #2162 2018-09-02 12:43:37 +08:00
Max Lv cd98427ebd Add missing fast open headers 2018-08-29 01:38:43 -07:00
Jared Hillier b7f3e2226c TCP Fast Open support for ss-tunnel (#2150)
* ...

* ...

* ...

* Update README.md

* Update README.md

* TCP Fast Open support

* TCP Fast Open support

* TCP Fast Open CONNECT_IN_PROGRESS

* TCP Fast Open support

* TCP Fast Open support

* TCP Fast Open support

* TCP Fast Open support

* TCP Fast Open support via conf

* Cross-platform support for TCP Fast Open

* Cross-platform support for TCP Fast Open

* Enable SO_KEEPALIVE client side

* TCP Fast Open is not supported on this platform

* TCP Fast Open support

* Update tunnel.c

* It's from my forked repo, so please ignore any changes in README.md

* Fix trailing whitespace

* Fix #1376
2018-08-28 18:42:48 +08:00
Mygod 307088ed4a Support hostname resolving in VPN mode 2018-08-24 14:00:13 +08:00
sxyoxygen 46e2b28d39 Update utils.h 2018-08-08 12:03:56 +08:00