1467 Commits
Author SHA1 Message Date
Max Lv 833594e3c6 Update Makefile v3.0.0 2017-02-01 19:22:36 +08:00
Max Lv 4d25f176b6 Bump version 2017-02-01 19:18:12 +08:00
Max Lv 1133a017a4 Update README 2017-02-01 19:01:29 +08:00
Max Lv 78cf5348f0 Update documents 2017-02-01 18:51:48 +08:00
Max Lv 56658d1c79 Merge pull request #1152 from shadowsocks/sip004
Add AEAD support
2017-02-01 18:19:40 +08:00
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 0bb3739286 Update travis-ci 2017-02-01 12:56:59 +08:00
Max Lv 47a6a90af5 Merge branch 'master' into sip004 2017-02-01 12:55:28 +08:00
anonymous-contributor a3d0f02c3e Use enum number for val of long options (#1155) 2017-02-01 12:53:20 +08:00
anonymous-contributor 1fc17aca38 Use enum number for val of long options (#1155)
* ss-libev: local: Use enum number for val of long options

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

* ss-libev: manager: Use enum number for val of long options

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

* ss-libev: redir: Use enum number for val of long options

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

* ss-libev: server: Use enum number for val of long options

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

* ss-libev: tunnel: Use enum number for val of long options

Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp>
2017-02-01 12:49:10 +08:00
Max Lv c0030f0d7d Improve logging 2017-01-31 20:01:44 +08:00
Max Lv 790520c478 No need to report addr in non-stream mode 2017-01-31 19:42:01 +08:00
Max Lv 05d5121707 Fix typos for endian 2017-01-31 18:51:52 +08:00
Max Lv 3b2a5d1a1f Fix SNI parser 2017-01-31 18:41:57 +08:00
Max Lv b0e00b4044 Fix mbed TLS's URL 2017-01-31 16:51:52 +08:00
Max Lv 32057ed3c5 Fix key sizes 2017-01-31 16:22:33 +08:00
Mygod 37594afb5d Use libsodium tarball to ensure reproducible build in Travis (#1153) 2017-01-31 16:13:43 +08:00
Mygod 50905ff122 Use libsodium tarball to ensure reproducible build in Travis (#1153) 2017-01-31 16:13:22 +08:00
Max Lv c89f5f3f3f Limit the max payload length to 0x3FFF 2017-01-30 19:03:41 +08:00
Max Lv 9c7add71dd Fix #1148 2017-01-30 08:41:04 +08:00
Max Lv e18f71b03f Add Argon2i password hashing for AEAD 2017-01-29 17:41:39 +08:00
Max Lv 28e07cc08a Clean up 2017-01-29 10:16:17 +08:00
Max Lv 4ebe5aeb12 Add SIP004 (AEAD) support 2017-01-29 10:10:44 +08:00
Asynchronous Interruption #0 5ff4f27b74 Update Dockerfile (#1146)
* Update README

* Update Dockerfile
2017-01-28 14:34:34 +08:00
Roger Shimizu d714d1f182 Refine #1133 second time (#1136) 2017-01-25 18:20:21 +08:00
Max Lv c5807058ba Add missing ss-nat 2017-01-25 10:57:12 +08:00
Max Lv 7ad1e65f6e Fix array size with old libsodium 2017-01-25 10:30:52 +08:00
Max Lv 30fe158d88 Refine #1133 2017-01-25 08:38:38 +08:00
ElTopo 3aa92e3f0a libsodium version checking with crypto_stream_chacha20_ietf_xor_ic() (#1133)
* crypto_stream_chacha20_ietf_xor_ic() was first available when libsodium was bumpped to version major 8. Debian jessie still uses major 7 minor 2, so check SODIUM_LIBRARY_VERSION_MAJOR and keep backwards compatibility.

* crypto_stream_chacha20_ietf_xor_ic() was first available when libsodium was bumped to version major 8. Debian jessie still uses major 7 minor 2, so check SODIUM_LIBRARY_VERSION_MAJOR and maintain backward compatibility.
2017-01-25 07:30:47 +08:00
Max Lv d783aab537 Remove _WIN32 2017-01-24 20:53:13 +08:00
Max Lv 38a3084b1f Update libcork v2.6.3 2017-01-24 20:36:17 +08:00
Max Lv 3f8cd982e5 Drop MinGW32 support 2017-01-24 20:10:31 +08:00
Max Lv 61018b622e Refine library search for libev/libudns 2017-01-24 09:46:59 +08:00
Max Lv ab2ffd87d5 Check headers of libudns and libev 2017-01-24 09:23:07 +08:00
Windendless b8dfe64946 pull in latest ax_pthread.m4 (#1126)
This includes some changes for macOS that should fix compilation there.
2017-01-23 13:52:46 +08:00
Max Lv cb60579c74 Refine buffer handling in ss-manager 2017-01-23 12:27:45 +08:00
Max Lv 2d3a1b2a3e Fix #1123 2017-01-23 08:44:36 +08:00
Max Lv bcdc5559a8 Fix #1122 2017-01-23 08:39:11 +08:00
Roger Shimizu 71d5453f88 Sync debian/ folder with debian version 2.6.2+ds-1
Use asciidoc as Build-Depends, because user may build under Wheezy
or Ubuntu 14.04.
2017-01-22 13:29:12 +08:00
Max Lv 7a9e8fa5d5 Update GFWList 2017-01-22 13:03:48 +08:00
Roger Shimizu cc30c7b6eb debian/shadowsocks-libev.{default,init,service}: Run service as non-root 2017-01-22 12:57:42 +08:00
Boyuan Yang 3b6c2e5cb1 Revert "Update README.md (#1111)"
This reverts commit 70e2cce07d.
2017-01-22 10:00:57 +08:00
Ky0n 70e2cce07d Update README.md (#1111) 2017-01-22 06:27:47 +08:00
Kim 51785ece25 fix shared lib search path issue (#1109)
The shared lib file, libsodium.so, could not be found in default share object file path.

The default libsodium.git install files into /usr/local/lib, which is NOT found by system defaults.
2017-01-21 18:19:57 +08:00
ZhiFeng Hu 1c2b6170b9 Update inline link for build from source with centos 2017-01-21 14:06:35 +08:00
Max Lv e3027c9bee Remove P: from getopt 2017-01-20 18:11:38 +08:00
Mygod da6a6884a9 Remove prefix option 2017-01-20 18:11:38 +08:00
Zheng Kai f4517ed7a7 Fix duplicate text 2017-01-20 18:03:26 +08:00
Max Lv 8c3ce74bc8 Ignore missing info for dh_shlibdeps 2017-01-20 16:43:51 +08:00
Roger Shimizu e858d5e6cb Update debian mirror to httpredir (#1105)
According to:
  https://wiki.debian.org/DebianGeoMirror
2017-01-19 23:08:06 +08:00