26 Commits
Author SHA1 Message Date
Max Lv 64870a276b Add HTTP/SNI parser (#809)
* WiP: add HTTP/SNI parser

* WiP: replace hostname with HTTP/SNI header

* WiP: add ACL

* Fix white list

* Replace free() with ss_free()

* Refine sockaddr handling

* Add HTTP/SNI support to redir
2016-09-08 10:10:23 +08:00
Max Lv d319c0300c Add mptcp option, close #756 2016-08-04 13:30:39 +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 552fca1bff Use one time key for BLAKE2b 2015-09-22 17:57:44 +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 9e021aa919 add CRC8 for payload authentication 2015-09-15 12:28:02 +08:00
Max Lv 40e9be0021 Avoid getaddrinfo() in the main loop 2015-01-12 16:49:47 +09: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 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
Blaok 09061a6420 redir模块添加IPv6支持
没有找到直接探测IP版本的有效方法,暂时用试的。已经支持IPv4和IPv6透明代理转发。
2014-10-27 07:20:51 +08:00
Blaok cef3586733 尝试将ss-redir的转发改为IPv6转发
目前`IP6T_SO_ORIGINAL_DST`这个东西上边,不能正确获取原始目标地址。尝试`curl bt.byr.cn`,前面一部分地址可以看到是`a:50::2001:da8:215:4078`,但是格式完全不对,内容也不全,正确的地址应该是`2001:da8:215:4078:250:56ff:fe97:654d`。估计是某些针对IPv4的设定没有改过来。改日再看。
另外吐槽一下原版毫无注释的代码……
2014-10-24 11:30:10 +08: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 b2df5a4c26 fix redir 2014-02-27 09:18:26 +09:00
Max Lv 2153e3fd04 WiP: add tunnel mode 2014-02-21 11:58:41 +09:00
Max Lv 26c57d61ef fix build error 2013-11-12 03:56:30 +00:00
Max Lv 4606acd773 add multi-config support 2013-11-12 03:56:30 +00: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 ab58addc58 remove uncessary memcpy 2013-04-17 15:14:49 +08:00
Max Lv d35c771fe2 add trasparent proxy support 2013-04-05 10:08:28 +08:00