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.
The following error will occur when configuring with --enable-system-shared-lib:
```
/usr/bin/rm: cannot remove 'libtoolT': No such file or directory
```
This issue is caused by overwriting gnu make variable `RM` with `rm`,
whose default value is `rm -f` (https://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html).
* 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>
* Doc: Introduce asciidoc based documentation framework
Use asciidoc for new documentation framework, which could not only
output man pages, but also htmls.
And asciidoc documentation is much more human-readable than roff man
pages.
Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp>
* Doc: Convert shadowsocks-libev man page to asciidoc
The port to asciidoc has some format change compared to old one.
The most obvious one is the options listed in SYNOPSIS.
Now the options list is not split into 2/3 columns, or we must use
asciidoc tables and introduce table frames.
Other small change includes the removal of AUTHOR sector, as it's not
an expendable method to update AUTHOR sector every time it gets updated.
Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp>
* Doc: Convert ss-local man page to asciidoc
Also modify gitignore, since it use too generic rules to ignore such
documentation.
Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp>
* Doc: Convert ss-manager man page to asciidoc
Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp>
* Doc: Convert ss-nat man page to asciidoc
Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp>
* Doc: Convert ss-redir man page to asciidoc
Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp>
* Doc: Convert ss-server man page to asciidoc
Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp>
* Doc: Convert ss-tunnel man page to asciidoc
Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp>
* Doc: Remove old roff man pages
Welcome to the new age of asciidoc.
Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp>
* Doc: Add equivalent tables for command line options and config file
Now user can get a more clear view of config file and command line
options.
Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp>
This is an option in the origin configure script, add this to configure.ac to generate
config.h since submodules are sharing the same file.
All checks needed are guaranteed, thus simply add it to the ending of file.
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
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>