Commit graph

68 commits

Author SHA1 Message Date
Yousong Zhou
682b0c2be7 shadowsocks-libev: support disable_sni for ss_server section
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-04 22:19:30 +08:00
Yousong Zhou
49dcdca5d0 shadowsocks-libev: backport patch for logging with daemon facility
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-02 14:34:49 +08:00
Yousong Zhou
716d2c1357 shadowsocks-libev: add ipv6_first option support
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-02 14:34:40 +08:00
Yousong Zhou
7f0adf9631 shadowsocks-libev: bump to version 3.0.8
Notable changes since 3.0.7

 - ss-local, ss-redir: ipv6_first awareness
 - ss-server: ppbloom_add only after 1st decryption succeeds

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-31 10:23:47 +08:00
Yousong Zhou
2f910479cf shadowsocks-libev: use xargs -r just in case
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-28 15:10:46 +08:00
Yousong Zhou
b7f69c0633 shadowsocks-libev: fix compiling with stale object files
This will cause various kinds of failures in the buildbot

    ➜  shadowsocks-libev-3.0.7 git:(master) find . -name '*.o' -o -name '*.lo'
    ./libbloom/murmur2/libbloom_la-MurmurHash2.o
    ./libbloom/murmur2/libbloom_la-MurmurHash2.lo
    ./libbloom/libbloom_la-bloom.lo
    ./libbloom/libbloom_la-bloom.o
    ➜  shadowsocks-libev-3.0.7 git:(master) ls -l libbloom/murmur2
    total 24
    -rw-r--r-- 1 yousong yousong  324 Jun 27 14:17 libbloom_la-MurmurHash2.lo
    -rw-r--r-- 1 yousong yousong 4168 Jun 27 14:17 libbloom_la-MurmurHash2.o
    -rw-r--r-- 1 yousong yousong 1344 Feb 17 08:47 MurmurHash2.c
    -rw-r--r-- 1 yousong yousong  142 Feb 17 08:47 murmurhash2.h
    -rw-r--r-- 1 yousong yousong  213 Feb 17 08:47 README
    ➜  shadowsocks-libev-3.0.7 git:(master) file ./libbloom/murmur2/libbloom_la-MurmurHash2.o
    ./libbloom/murmur2/libbloom_la-MurmurHash2.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
    ➜  shadowsocks-libev-3.0.7 git:(master)

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-28 15:06:24 +08:00
Yousong Zhou
1999396443 shadowsocks-libev: configure options for release build
- It's a common practice that assert should be ignored in release build
 - Whether to enable ssp should be decided by the config of build system

This was taken from Makefile in shadowsocks/openwrt-shadowsocks.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-26 10:17:48 +08:00
Yousong Zhou
c7195ece14 shadowsocks-libev: configure with --disable-silent-rules
So that more details will be shown in faillogs

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-25 16:48:34 +08:00
Yousong Zhou
1c82410cf9 shadowsocks-libev: bump version 3.0.7
Notable changes since 3.0.6

    f308dde ss-server: fix a use-after-free bug
    0b2dce5 ss-redir: fix a mem leak
    b7bdb16 ss-local: SOCKS5 UDP associate terminates the connection prematurely
    3f0d39a ss-local: use getsockname udp_fd where it applies (fixes local_port==0)
    eb30a3d fix possible data loss with salsa20 cipher
    0559d8c fix partial nonce data being overwritten

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-25 01:06:10 +08:00
Yousong Zhou
57114609c4 shadowsocks-libev: fix cases where passwords contain dquote
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-24 13:10:18 +08:00
Yousong Zhou
3fe965dd1c shadowsocks-libev: validate bool with default value 0
The change is mainly for keeping compatibility with old validate_data
before ubox commit ac481cdd999ee84d3f115c33a56397237e95ec64 in Sat Jul
16 14:52:36 2016 +0200.  The behaviour change comes with that commit can
be seen with the following command line session

    root@LEDE:/usr/bin# validate_data network interface wan 'disabled:bool:false'
    network.wan.disabled is unset and defaults to bool false
    disabled=0; root@LEDE:/usr/bin#

    root@OpenWrt:/# validate_data network interface lan 'disabled:bool:false'
    disabled='false'; root@OpenWrt:/#

This will cause shadowsocks-libev in current master branch fail on OpenWrt
15.01 though they actually should only use packages from the 15.01 branch...

Fixes openwrt/packages#4614

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-23 23:29:47 +08:00
Yousong Zhou
327c325d30 shadowsocks-libev: disable documentation
This should also fix build by removing dependency on asciidoc

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-03 15:04:39 +08:00
Yousong Zhou
b61af9703e shadowsocks-libev: rewrite
- Selecting only a single or subset of all components of shadowsocks-libev is
  now possible (this is the main motivation behind the rewrite)
- Configuring multiple instances of the same component is now also possible
- Same option names as with the json config
- Unified configuration generation method for each component
- Add support for ss-local, ss-tunnel, ss-server
- Most data validation is now done with validate_data
- USE_PROCD=1
- Update ss-rules with the one from shadowsocks/luci-app-shadowsocks
- Add README.md
- Set myself as the maintainer

Addresses #4435

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-02 10:01:53 +08:00
Yousong Zhou
ce563ea706 shadowsocks-libev: bump to version 3.0.6
Below are changes in the packaging method

 - Use tarball provided by the upstream project maintainer instead of
   cloning the whole git-repo
 - Drop openssl variant as it was deprecated then removed by the
   upstream project
 - Add dependency on libev, libsodium, libudns as they are not bundled
   with the source code anymore

Addresses issue #4191

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-05-22 09:56:56 +08:00
Daniel Engberg
961c97b881 net/shadowsocks-libev: Update to 2.6.1
Update to 2.6.0 to support mbed TLS
Use xz instead of gz git tarball

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-01-12 23:07:11 +01:00
Jian Chang
a2a2d146bc shadowsocks-libev: bump version
Fix the multiple UDP source port issue.
Allow using different IP and ports for TCP and UDP

Signed-off-by: Jian Chang <aa65535@live.com>
2015-07-22 16:30:32 +08:00
aa65535
d1293286a8 shadowsocks-libev: use realname in the maintainer tag
Signed-off-by: aa65535 <aa65535@live.com>
2015-07-03 14:11:30 +08:00
aa65535
024bd84282 shadowsocks-libev: add package
Shadowsocks-libev is a lightweight secured socks5 proxy for embedded devices and low end boxes.

Signed-off-by: aa65535 <aa65535@live.com>
2015-07-03 11:01:32 +08:00