Commit Graph
999 Commits
Author SHA1 Message Date
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
Max Lv 9ac81759df Refine TFO on Darwin 2017-11-26 14:43:50 +08:00
Max Lv 2cad381036 Refine TFO in redir and server mode 2017-11-26 14:32:26 +08:00
Max Lv d445ea938b Refine TFO interface. #1800 2017-11-26 13:12:00 +08:00
Syrone Wong 7df4178db8 update entropy info based on libsodium documentation 2017-11-13 08:21:51 +08:00
星野ハジメ cc1bb4cf62 format with .uncrustify.cfg (#1759)
* format with .uncrustify.cfg

format with .uncrustify.cfg

* format with .uncrustify.cfg

* format with .uncrustify.cfg exclude json.* base64.* uthash.h

* format with .uncrustify.cfg exclude json.* base64.* uthash.h
2017-10-30 21:28:53 +08:00
Max Lv 26ae365f7b Refine #1756 2017-10-30 18:02:59 +08:00
星野ハジメ 44027da326 enable TCP_NODELAY from config file (#1757)
* Fix #1739

Refine #1739

* enable TCP_NODELAY from config file
2017-10-30 10:35:14 +08:00
Max Lv f19a96e1fa Refine #1739 2017-10-18 09:29:32 +08:00
Max Lv b3f3b58a1d Fix #1739 2017-10-16 15:51:05 +08:00
Max Lv c67d275803 Fix #1734 2017-10-14 07:21:08 +08:00
Vladimir Olteanu 82694c8f19 properly set recv_ctx->connected 2017-09-16 14:19:43 +08:00
Max Witten b721c0fa6d Update docs for TCP_NODELAY 2017-09-15 10:55:15 +08:00
Max Lv 666801ddfc Disable addr reconstruction on Android 2017-09-15 10:19:03 +08:00
Vladimir Olteanu 1c64829dfa Add command-line argument for keeping TCP_NODELAY (#1685) 2017-09-15 09:17:00 +08:00
Max Lv c213ef1963 Add ARES_VERSION_MAJOR 2017-09-13 10:12:00 +08:00
Max Lv 0cb9cbe50d Fix #1682 2017-09-12 12:57:58 +08:00
Max Lv 277d6d0b5b Disable DNS rotate 2017-09-12 09:01:12 +08:00
Max Lv 012c6e7278 Merge pull request #1678 from linxiaocong/master
fix segment fault when plugin enabled and multi remote servers configured
2017-09-11 14:38:27 +08:00
Max Lv 01df436bb1 Refine #1677 2017-09-11 09:42:48 +08:00
linxiaocong da4bbe74fb fix segment fault when plugin and multi remote servers enabled 2017-09-10 14:56:25 +08:00