Commit Graph
84 Commits
Author SHA1 Message Date
anonymous-contributor 98c51cd0d5 Obfsproxy standalone mode (#1156)
* ss-libev: Introduce mode parameter for start_plugin

Since obfsproxy handles client and server in different ways, no matter
standalone or manged mode, so introduce the mode for start_plugin() to
support obfsproxy.

With more comments added to plugin.h for later developers.

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

* ss-libev: Move SS protocol plugin initialization code to start_ss_plugin

Move SS protocol plugin initialization to start_ss_plugin() function, as
the support for obfsproxy will not use that environment.

Also, remove the use of get_current_dir_name() which is a glibc
extension, such macro hack will just make code less readable.
Not to mention it already screw up code folding of vim.

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

* ss-libev: Introduce obfsproxy standalone mode support as plugin

Now shadowsocks-libev supports to use obfsproxy as plugin.

Currently we only support to use standalone(proxy) mode of obfsproxy, as
managed mode needs to use SOCKS5 as upstream forward, while ss-libev
doesn't support it yet.

And the output from plugin is just trashed for now.
Support to pipe them into stdout/stderr will be added later.

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

* ss-libev: doc: Fix wrong cmdline parameter for plugin options

Command line option for plugin options is "--plugin-opts", not the json
option "--plugin_opts"

Fix it.

Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp>
2017-02-01 18:18:43 +08:00
Max Lv 4ebe5aeb12 Add SIP004 (AEAD) support 2017-01-29 10:10:44 +08:00
Max Lv 3f8cd982e5 Drop MinGW32 support 2017-01-24 20:10:31 +08:00
Zheng Kai f4517ed7a7 Fix duplicate text 2017-01-20 18:03:26 +08:00
Max Lv 633de3e228 Remove embedded libraries 2017-01-18 11:07:40 +08:00
Simon Shi 3fba5506c5 Update ss-manager.asciidoc 2017-01-17 08:15:59 +08:00
Max Lv 9c94e6792c Bump version 2017-01-16 10:23:01 +08:00
Max Lv becb6c08e4 Update docs for JSON config 2017-01-16 10:03:07 +08:00
Max Lv 92f0baa789 Update SIP003 interfaces 2017-01-14 10:40:14 +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
Rayson zhu a8fdd77fbf add user config option 2016-11-25 02:10:17 -06:00
Max Lv 52e391962f Add option for firewall rules 2016-11-17 15:18:46 +08:00
Rayson Zhu d1765df9f9 support ipv6_first option in config file (#946) 2016-11-13 23:32:43 -06:00
Max Lv 73b4e682a7 Update documents 2016-11-12 19:23:18 +08:00
Max Lv 616de8691b Fix a typo 2016-11-12 19:16:46 +08:00
Max Lv 3036443ac5 Fix the document 2016-11-03 09:23:56 +08:00
Max Lv 83c244bc9a Update the document to use rc4-md5 as default cipher 2016-10-26 09:15:12 +08:00
Syrone Wong b5c64b925f Add AES-CTR ciphers info (#820)
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-09-10 14:03:16 +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 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 8910a2593b Fix a typo, #769 2016-08-16 09:27:06 +08:00
Max Lv d319c0300c Add mptcp option, close #756 2016-08-04 13:30:39 +08: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 119d9b607a Fix #738 2016-07-22 13:12:06 +00:00
Max Lv 1e649ea5d6 Fix #731 2016-07-20 21:21:01 +08:00
Max Lv cd3a5fc0e7 Revert "Fix #731"
This reverts commit 9c00f5a6ac.
2016-07-20 21:05:03 +08:00
Max Lv 9c00f5a6ac Fix #731 2016-07-20 20:32:01 +08:00
Max Lv 6923a8909b Update makefile 2016-07-10 15:48:39 +08:00
Max Lv 09b55d476d Add Makefile.am to doc 2016-07-10 15:42:51 +08:00
Max Lv 2643de44f2 Clean up 2016-07-04 18:23:17 +08:00