Commit Graph
40 Commits
Author SHA1 Message Date
Linus Yang 87b7dd85a9 Correct header inclusion 2018-03-10 16:34:28 +08:00
Linus Yang f4c612f832 Support TCP fast open on Windows 2018-03-09 17:46:38 +08:00
Max Lv 85a64ae836 Bump version 2018-01-15 17:25:03 -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 ede744ae7c Add c-ares support (#1655)
* Replace udns with c-ares

* Get IO loop work

* Clean up

* Avoid initializing nameservers each query

* Add ARES_OPT_SERVERS

* Refine resolv_cancel

* Fix a memory leak

* Replace udns.h with ares.h

* Fix all inet_* fucntions

* Clean up

* Enable servers_ports when VERSION_MINOR >= 11

* Avoid ares_inet_XtoX

* Handle multipe nameservers correctly

* Use ares_set_servers for IPv4 and IPv6 mixed list

* Refine c-ares for udprelay

* Refine ares_set_servers()

* Refine the timer based on ares_timeout

* Avoid resolv_cancel

* Fix an issue of null pointer

* Fix another null pointer issue

* Refine the order of resolv_shutdown

* Fix the corrupted ev io
2017-08-31 09:16:07 +08:00
Sebastien DUPONCHEEL 6c6a054e5f 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-08 13:58:28 +08:00
Max Lv 44b0eae3ef Fix #1291 2017-02-23 09:35:12 +08:00
Max Lv 4ebe5aeb12 Add SIP004 (AEAD) support 2017-01-29 10:10:44 +08:00
Max Lv 3fde843ec8 Fix #1061 2017-01-12 10:24:27 +08:00
Max Lv 61b82c45c5 Add SIP003 plugin support (#1044)
https://github.com/shadowsocks/shadowsocks-org/issues/28
2017-01-08 01:10:00 -06:00
Max Lv 8cb4f81eba Add HTTP/TLS obfuscating. [SIP001] (#1009)
Add experimental HTTP/TLS obfuscating as an **optional extension** of shadowsocks protocol.

More discussions can be found here: https://github.com/shadowsocks/shadowsocks-org/issues/26

As this feature is still a SIP (Shadowsocks Improvement Proposal), it's very unstable and experimental. So, 

1. Don't enable it unless you know what it is.
2. Be very careful when using it in production environment.
2016-12-27 02:53:25 -06:00
Max Lv 46afbdcfd6 Refine incomplete header handling 2016-08-22 21:04:32 +08:00
Max Lv 658703a1bd Fix #673 2016-06-12 09:09:03 +08:00
Kim 08f873adc7 Roll up year to 2016 2016-04-22 22:50:26 +08:00
Max Lv f4fa30da5c Refine buffer handling 2015-11-29 20:01:50 +08:00
Max Lv d3e43e09a2 Refine the authentication for true CCA 2015-09-22 17:57:44 +08:00
Max Lv 5ae4df94e4 Update the hash function 2015-09-21 09:06:48 +08:00
Max Lv b49edb9095 fix a buffer overflow 2015-09-17 14:19:07 +08:00
Max Lv de8041b618 fix a buffer issue 2015-09-16 21:08:45 +08:00
Max Lv 9e021aa919 add CRC8 for payload authentication 2015-09-15 12:28:02 +08:00
Max Lv e5289e9ba4 Replace libasyncns with libudns 2015-01-10 12:31:13 +09:00
Max Lv 2a15e97196 bump version 2015-01-07 21:54:19 +09:00
Max Lv 693b198887 refine server end 2014-11-12 17:16:25 +08:00
Max Lv b198d1da2e bump version 2014-11-12 13:12:59 +08:00
Max Lv 08a35fd1bb handle sigterm and sigkill 2014-11-12 11:52:34 +08:00
Liu Qishuai 54345cbee0 add TCP-fast-open support from server to remote 2014-10-16 05:29:50 +00:00
Max Lv 1a3e6b5127 refine the buffer idx 2014-08-01 13:42:32 +08:00
Max Lv cf04f73a98 refine buffer handling 2014-08-01 13:35:46 +08:00
Max Lv aec9f9bc9a add license headers 2014-05-25 13:13:39 +08:00
Max Lv c3a1f1188b fix the segfault 2014-04-20 07:40:36 +08:00
Max Lv aa2a514648 update asyncns 2014-04-20 07:40:36 +08:00
Max Lv 2eac55562b clean up, remove multiple warnings 2014-01-05 15:06:24 +08:00
Max Lv d227da2323 Update code style 2013-09-05 09:29:43 +08:00
Max Lv 2d4940d3a2 build passed 2013-05-23 11:16:45 +08:00
Max Lv 85c04ef297 support binding to specific interface 2013-05-16 10:47:25 +08:00
Max Lv 2fd2ee4a00 add tcp timeout 2013-05-07 13:47:58 +08:00
Max Lv ab58addc58 remove uncessary memcpy 2013-04-17 15:14:49 +08:00
Max Lv 161d48b850 fix asyncns 2013-04-04 08:47:26 +08:00
Max Lv 9e62112ac4 add async dns support 2013-04-03 10:39:12 +08:00
Max Lv e2efa22733 embedded libev 2013-04-01 17:56:39 +08:00