Commit Graph
34 Commits
Author SHA1 Message Date
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
Syrone Wong 58264c77fc Polish code
code issues found by Clang with
CFLAGS="-Os -Wall -Wextra -Werror=unused-const-variable -Wno-error=unused-parameter"
enabled

The details as follows:
- variable initialization issue, modified them as Clang suggested
- data type mismatch when comparing, fix them either by casting or changing
  the data type of index of iterator
- get_sockaddr() in netutils may return -1 thus changed returning type from
  size_t to ssize_t, which makes Clang happier
- recvfrom() in udprelay is identical, fix this by creating local variable
  for comparison  and assign back to buf->len when returning value is acceptable

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-04-07 21:28:23 -07:00
Max Lv e3a417932e Update ax_pthread 2015-12-20 20:50:04 +08:00
Max Lv 73e374d586 add stack-protector.m4 2015-11-16 14:09:48 +09: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 cf04f73a98 refine buffer handling 2014-08-01 13:35:46 +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 7e19218411 ignore Makefile in libcork and libipset 2014-05-24 12:12:26 +08: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 27cd819d06 refine local proxy for acl support 2014-05-07 14:33:36 +08:00
Max Lv 8be020efd5 add libipset 2014-05-07 12:05:03 +08:00