Commit Graph
44 Commits
Author SHA1 Message Date
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 001e6da00d Fix #993 2016-12-08 22:02:45 +08:00
Syrone Wong e0d6dd8f3c libcork: use API where supported (#860)
- The usage of `pthread_setname_np` is not supported on versions of
  glibc earlier than 2.12. This patch checks the glibc MINOR version and
  only uses that API where supported.
- This will suppress undeclared function warning when compiling
  with uClibc/musl-libc.

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-09-30 18:33:26 -05:00
Syrone Wong dbad716c3d Update libcork to 0.15.0 (#856)
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-09-29 18:00:15 -05:00
Max Lv d8606c53b8 Refine libpcre searching 2016-09-08 22:20:48 +08:00
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 4a0d37afda Update makefile 2016-07-04 21:07:53 +08:00
Max Lv 2643de44f2 Clean up 2016-07-04 18:23:17 +08:00
Max Lv e3a417932e Update ax_pthread 2015-12-20 20:50:04 +08:00
Max Lv fe1cbb5c45 Refine the Solaris config 2015-11-16 14:29:00 +09:00
Max Lv 73e374d586 add stack-protector.m4 2015-11-16 14:09:48 +09:00
Max Lv 48cb9ad511 use sched_yield on Solaris 2015-11-16 12:27:31 +08:00
Max Lv e4c0bc9d27 use the proper header for solaris 2015-11-16 12:22:49 +08:00
Max Lv befbe94bd9 try to support solaris 2015-11-16 09:04:30 +08:00
Max Lv d8e83f6598 update openssl m4 2015-09-09 17:34:11 +09:00
Max Lv 35297b6c22 clean up 2015-08-02 15:23:08 +09:00
Syrone Wong e81b205e61 Add mbed TLS support for shadowsocks-libev
Notes:
- Test cipher CFB support just in case (i.e. OpenWrt disabled it)
- Added some inline notes, please feel free to modify or remove them.
- Sorry for my bad English
- If you want to compile for OpenWrt, please make sure this hunk[1] not exists.
- Only tested on ARM mamba (Linksys WRT1900AC v1), it works.

[1] https://github.com/openwrt-mirror/openwrt/blob/master/package/libs/mbedtls/patches/200-config.patch#L12-L20

Have fun!

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2015-08-01 07:52:04 +08:00
Max Lv 2b1eef1197 fix #356, disable TLS for uClibc 2015-07-20 00:32:03 +09:00
Max Lv 9e1b5999ba update configure.ac 2014-12-13 07:08:53 +00:00
Max Lv 5ace152631 update autoconf tools 2014-12-13 06:59:06 +00:00
Max Lv bca8a499f9 integrate libsodium as a submodule 2014-12-13 11:58:13 +08:00
Max Lv e38836c5be update Makefile 2014-12-13 02:10:47 +00:00
Max Lv 14431b463c fix #142 and fix #143 2014-11-10 13:22:41 +08:00
Max Lv 3eebb44a4f bump version 2014-11-06 11:52:11 +09:00
Max Lv 6f64d431b6 enable building shared library for #128 2014-11-06 10:42:00 +08:00
Max Lv 4266730eb8 try to fix build issues on centos 2014-10-27 07:45:36 -04:00
Max Lv 9d6fccf3dc fix travis 2014-10-22 14:42:57 +08:00
Max Lv c036c0e9bb move auxiliary files to auto 2014-10-22 14:39:54 +08:00
Max Lv ff80e8d812 clean up 2014-10-17 16:18:55 +08:00
clowwindy 739feb925a revert autotools version 2014-10-17 00:21:25 +08:00
clowwindy 039e90df96 support building as libshadowsocks 2014-10-17 00:03:48 +08:00
Max Lv 1ed22d8703 bump version 2014-10-08 18:04:25 +08:00
Max Lv e5b54753c7 fix compilation on cygwin 2014-07-30 14:47:05 +08:00
Max Lv b3f5639970 revert to old autotools 2014-06-19 21:46:00 +09:00
Max Lv 182c81d14d fix #80 2014-06-19 20:44:23 +08:00
Max Lv cd68efa602 fix #76 2014-05-26 14:14:06 +08:00
Max Lv 7e19218411 ignore Makefile in libcork and libipset 2014-05-24 12:12:26 +08:00
Max Lv b9ea252237 fix the build sequence 2014-05-03 04:49:38 -04:00
Max Lv 3126bc07f0 add licenses for libipset and libcork 2014-05-11 09:39:27 +08:00
Max Lv 90ccb548d8 bump version 2014-05-03 04:39:31 -04:00
Max Lv 815c61f853 fix a typo 2014-05-09 19:40:29 +08:00
Max Lv 25ba5cd0b6 fix build 2014-05-09 09:35:30 +08:00
Max Lv 173681171b fix build 2014-05-09 09:34:00 +08:00
Max Lv 8be020efd5 add libipset 2014-05-07 12:05:03 +08:00