Commit Graph
625 Commits
Author SHA1 Message Date
Boyuan Yang c12e450e98 Update Debian dependency and bump library soname (#814)
* debian: add libpcre3-dev as build dependency.

* Bump soname of libshadowsocks-libev.

Soname for libshadowsocks-libev is bumped
from 1:0:0 to 2:0:0 due to ABI breakage
between shadowsocks-libev 2.5.0 and 2.5.1.
2016-09-08 22:35:27 +08:00
Max Lv d8606c53b8 Refine libpcre searching 2016-09-08 22:20:48 +08:00
Max Lv 42d9b68dcc Remove white list option in CLI 2016-09-08 13:06:13 +08:00
Max Lv 02c51c3615 Add gfwlist.acl 2016-09-08 12:14:54 +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
Simon Lelievre 3d11e59578 Add backward compatibility for MPTCP_ENABLED (#1) (#807) 2016-09-07 19:22:58 +08:00
Max Lv a3a51b8414 Refine hostname validation 2016-09-06 09:01:51 +08:00
Max Lv bf194fef75 Add validation of domain name 2016-08-31 09:45:47 +08:00
Max Lv 7c76026791 Shutdown socket if failed to handshake 2016-08-29 13:32:03 +08:00
Max Lv 9a43cc6e6b Fix #781 2016-08-27 06:58:55 +08:00
Max Lv f73031df20 Fix #780 2016-08-27 06:55:58 +08:00
Max Lv 5812840b24 Fix typo 2016-08-26 09:19:38 +08:00
Max Lv 46afbdcfd6 Refine incomplete header handling 2016-08-22 21:04:32 +08:00
Max Lv d31210c217 Fix VPN apis for Android 4.x 2016-08-13 17:13:32 +08:00
Max Lv 6c6f986576 Fix a typo 2016-08-12 16:09:38 +08:00
Max Lv 8f72416f0f Fix CTR mode with applecc 2016-08-12 10:58:38 +08:00
Max Lv 1773111a07 Fix mingw building 2016-08-11 15:19:53 +08:00
Max Lv 722d8d0c62 Fix build on Linux 2016-08-11 15:17:21 +08:00
Max Lv 9e407a9433 Add aes-ctr ciphers 2016-08-11 15:07:12 +08:00
Max Lv cf819ebec5 Fix #765 2016-08-11 12:26:22 +08:00
Max Lv 6f65fedbbd Move TCP_FASTOPEN to netutils.h 2016-08-08 12:59:33 +08:00
Max Lv 1df8d06e3e Refine QoS flag for UDP forwarding 2016-08-08 09:20:49 +08:00
Max Lv e62a73e67d Set QoS flag for UDP forwarding 2016-08-08 09:15:29 +08:00
Max Lv 915047e957 Fix #761 2016-08-05 18:06:37 +08:00
Max Lv 63969727fc Fix a typo, close #757 2016-08-04 14:19:09 +08:00
Max Lv d319c0300c Add mptcp option, close #756 2016-08-04 13:30:39 +08:00
Syrone Wong b1f5c68650 Fix typo (found by codespell) (#753)
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-08-03 06:50:43 -05:00
Max Lv 34b9036b5b Add MTU option 2016-08-03 11:53:28 +08:00
Max Lv 6cd81b3cfb Add tips for usage with kcptun 2016-08-03 09:53:12 +08:00
Max Lv 3f71b2a914 Fix #746 2016-07-29 16:57:36 +08:00
Max Lv 2f26412699 Add missing srand 2016-07-20 09:25:18 +08:00
Roger Shimizu 2445b8690f fix of PATH_MAX for GNU/Hurd (#727)
Info:
 - https://www.gnu.org/software/hurd/community/gsoc/project_ideas/maxpath.html
 - https://www.gnu.org/software/hurd/hurd/porting/guidelines.html#PATH_MAX_tt_MAX_PATH_tt_MAXPATHL
2016-07-17 18:39:27 -05:00
tim-le ad17d91b42 fix bugs with when ss-server bind_address enabled (#725)
* SO_REUSEADDR for remote sockfd

avoid  ERROR: bind_to_address: Address already in use

* set addr->sin_port to be 0
2016-07-14 18:08:10 -05:00
Max Lv bdef06618d Fix #708 2016-07-06 11:09:59 +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
anonymous-contributor af69798355 New jconf parameters (#695)
* Add 'tunnel_address' support for json config parser

And allow ss-tunnel to use the newly introduced parser.

Signed-off-by: Adam Anonymous <anonymous_temp_user@yahoo.co.jp>

* Add "mode" support for jconf

Now jconf supports "mode" setting, allowed values are "tcp_only",
"tcp_and_udp" and "udp_only".

Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp>

* Use jconf "mode" for server/local/tunnel/manager

Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp>

* Add per-project vimrc to gitignore

As the coding style differs from kernel and other projects, so such
project vimrc should be helpful.

Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp>
2016-06-30 23:19:13 -05:00
Max Lv bf210be2b7 Refine #690 2016-06-28 15:35:16 +08:00
Max Lv 55dea8b973 Fix #690 2016-06-28 15:33:55 +08:00
Max Lv 1e8022c3b7 Refine #682 2016-06-21 15:24:49 +08:00
Max Lv 642b5c900d Fix #678 2016-06-18 12:36:51 +08:00
cs17899219 d33b865ec7 Add a signal SIGUSR1 for safely stop the server (#677) 2016-06-14 21:29:06 -05:00
Max Lv 00209ab2ea Revert "Add APIs for non thread safe usage of shadowsocks-libev library"
This reverts commit 3e4c922363.
2016-06-14 09:15:58 +08:00
Max Lv 3e4c922363 Add APIs for non thread safe usage of shadowsocks-libev library 2016-06-13 17:47:11 +08:00
Max Lv 658703a1bd Fix #673 2016-06-12 09:09:03 +08:00
Max Lv a9b85a5216 Refine #669: Bind to loopback for local resolver 2016-06-09 08:42:45 +08:00
Boyuan Yang 2bf2d0787d Fix typo in source code (#666) 2016-06-06 05:30:43 -05:00
Max Lv fd422008b7 Avoid linking issues on Android 2016-06-05 14:45:01 +08:00
Max Lv 6fc1dccc58 Rename libshadowsocks to libshadowsocks-libev 2016-06-01 18:12:27 +08:00
Max Lv ba7f1565ad Fix #650 2016-05-27 12:13:09 +00:00