Commit Graph
1587 Commits
Author SHA1 Message Date
Max Lv a4bebe3ee9 Refine assertion 2017-03-09 11:15:36 +08:00
lqs 5cf6476aa7 fix bugs 2017-03-08 21:26:52 +08:00
Martin Wetterwald 6e069c7edb ss-redir: allow you to define additionals listenings ports to set a TOS/DSCP on the outgoings ciphered connections 2017-03-08 13:58:28 +08:00
Sebastien DUPONCHEEL 06c15057e5 ss-server: append --enable-connmarktos option to configure and check for libnetfilter-conntrack dependency if enabled 2017-03-08 13:58:28 +08:00
Sebastien DUPONCHEEL 6c6a054e5f ss-server: allows you to set a TOS/DSCP value to the outgoing ciphered connection to the client from a netfilter mark setted on the (re)comming connection from the outside world. 2017-03-08 13:58:28 +08:00
Patrick Li f32ac38c2f Allow the use of pwgen to generate passwords 2017-03-07 16:26:46 +08:00
Max Lv 5e13d396ee Refine port binding 2017-03-07 12:05:07 +08:00
Max Lv e6799b98db Refine the error handling 2017-03-07 10:56:48 +08:00
Max Lv 3f820c6fb8 Fix #1334 2017-03-07 10:34:34 +08:00
Heiybb 14a85558d0 Update README.md
Add manager option
2017-03-06 07:05:05 +08:00
Max Lv de0cebb62e Fix a building issue 2017-03-05 16:07:10 +08:00
Max Lv 9241e545f4 Don't apply ACL on DNS port on Android 2017-03-05 15:59:07 +08:00
hang 2edbfacf74 add Linux build dependencies: libsodium-dev 2017-03-04 11:15:11 +08:00
Max Lv 3f1337540e Listening at 0.0.0.0 by default 2017-03-04 09:25:12 +08:00
Sebastien DUPONCHEEL 5074cd336d mptcp: make shadowsocks kernel independant 2017-03-03 20:14:00 +08:00
Rayson zhu a61e3e0f78 fix rpm SPEC file
1. add missing build and runtime dependencies
2. change minimal version requirement for libsodium to 1.0.4, which
should work fine with ss-libev and EPEL7 users will not have to compile a
later version.
3. add more entries to .gitignore
2017-03-03 16:32:17 +08:00
Rayson zhu 8194e91970 Rewrite genrpm.sh to build RPM from current Git workspace
Here are the problems existing in the old RPM packaging scripts:

1. The old `genrpm.sh` is designed to build RPMs for all versions of
shadowsocks-libev with an option '-v'.
This increases the complexity because we need to keep it compatible
with old versions.
2. I have to modify the script manually in order to build RPMs from
non-release commit or dirty workspace.

The new script will only build RPMs and SRPMs from current workspace,
not commit.
The version-release number will be determined automatically from the
`git describe` command.
2017-03-03 13:31:25 +08:00
Roger Shimizu 6a8adfb26f Make build_deb.sh script to build libraries and binaries separately
Also add usage help and a few code cleanup
2017-03-01 07:20:29 +08:00
Max Lv 70639150e9 Fix #1312 2017-02-28 22:24:49 +08:00
Jian Chang 765bd7b2d0 update README.md
On Linux, you need to run `ldconfig` after installing a new library.
2017-02-28 16:04:17 +08:00
cuckoo c1f443cc76 use system lib 2017-02-27 22:27:47 +08:00
Roger Shimizu fc2031f03b Cleanup build_deb.sh script
- Use "lsb_release -cs" command to get distro info.
- Limit xz memory usage to 128MiB.
- Other minor fixes.
2017-02-27 20:59:51 +08:00
Max Lv 5b122d4f8c Fix #1306 2017-02-27 13:37:07 +08:00
Roger Shimizu e9c1116f0f Add simple-obfs support to build_deb.sh script 2017-02-27 07:40:42 +08:00
lqs 8a40e538f8 Add tcp-fast-open support for ss-redir 2017-02-26 22:45:31 +08:00
Roger Shimizu 12c4344a42 Update build_deb.sh to add libbloom support
Also includes fixes for yakkety.
2017-02-25 07:04:28 +08:00
Max Lv 997ac83702 Fix #1296 2017-02-24 15:57:01 +08:00
Max Lv 661429e579 Bump version v3.0.3 2017-02-24 12:16:20 +08:00
Max Lv 44b0eae3ef Fix #1291 2017-02-23 09:35:12 +08:00
was4444 48c9abe3a5 add closure? (#1294) 2017-02-22 17:26:45 +08:00
was4444 998cb109d3 pack submodules for genrpm (#1293)
* add option to run autogen before configure

* pack submodules for genrpm
2017-02-22 16:57:59 +08:00
was4444 eaefbe1e76 genrpm changes (#1292)
* auto select latest version

* bash-completion comes with version 2.6.0

* version greater than 2.6.2 need submodules packed

* adjust version check order
2017-02-22 12:19:52 +08:00
Kim 857bb8def7 Updated bash completion (#1284) 2017-02-20 20:52:08 +08:00
Max Lv 830679e5a4 Refine the parameters of bloom filter 2017-02-20 16:22:46 +08:00
Max Lv 98a4ff0639 Make parameters of bloom filter be compiler-time constants 2017-02-20 16:08:17 +08:00
Max Lv b655fb2b8f Replace nonce cache with a ping-pong bloom filter (#1282)
* Add Ping-Pong bloom filter

* Refine bloom filter insertion

* Reduce the error rate to 0.00001

* Avoid alignment issue in murmurhash2

* Fix a memory leak

* Fix build on non-GPU targets

* Detect get_current_dir_name in configure

* Update README.md

* Remove redudant bfree()

* Reduce the memory usage for local client

* Fix #1275

* Refine #1275

* Use IP when bypassing SNI domains

* Also apply replay detector on UDP traffic

* Update deb build script

Now build script is able to auto detect system and choose libraries
necessary to build.

Also update the README accordingly.

* Update build script to enable jessie/stretch etc

Also include a few cleanup that simplified pkg installation from
backports repository.
2017-02-20 10:29:32 +08:00
Roger Shimizu 9185afb142 Update build script to enable jessie/stretch etc
Also include a few cleanup that simplified pkg installation from
backports repository.
2017-02-20 07:28:58 +08:00
Roger Shimizu 67661fb9dd Update deb build script
Now build script is able to auto detect system and choose libraries
necessary to build.

Also update the README accordingly.
2017-02-19 18:35:11 +08:00
Max Lv 2e2f8398db Update README.md 2017-02-17 15:29:44 +08:00
Max Lv dddbfd2284 Detect get_current_dir_name in configure 2017-02-17 13:29:44 +08:00
Max Lv 41263c3bbd Fix build on non-GPU targets 2017-02-17 13:17:28 +08:00
Max Lv d434cd20ec Fix a memory leak 2017-02-17 12:31:22 +08:00
Roger Shimizu 97ac602dbf Add xenial-backports repository
Because user may upgrade from previous LTS version, xenial-backports
is better to be added by us for safety.

And use debhelper 10 for shadowsocks-libev only.
2017-02-17 08:33:35 +08:00
Roger Shimizu d7888abbf1 Update trusty build script
- Move Build-Depends dh-autoreconf dh-systemd to debian/control
- Also change debian/compat to 9 (debhelper 9)
2017-02-17 08:33:25 +08:00
Roger Shimizu f7c24b15a7 fix of PATH_MAX for GNU/Hurd
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
2017-02-17 08:33:13 +08:00
Roger Shimizu 91643523c4 Bump debhelper 10
debhelper 10 is available in the following Debian/Ubuntu releases:
 - Debian 8.x Jessie (jessie-backports)
 - Debian 9.x Stretch / unstable
 - Ubuntu 16.04 Xenial (xenial-backports)
 - Ubuntu 16.10 Yakkety

debhelper supports dh-autoreconf and dh-systemd by default, so we can
safely remove a few Build-Depends and dh params.

We also sync a few other files under debian/ folder with Debian release
3.0.2+ds-1~exp1.
2017-02-16 20:38:08 +08:00
Roger Shimizu fc84654420 README: Install build dependencies by mk-build-deps cmd
mk-build-deps is provided by devscripts package, and also relies on
equivs package.
2017-02-16 20:37:41 +08:00
Neal Feng 0437e05aa8 iperf.sh: wait one second before killing processes 2017-02-16 12:33:40 +08:00
Roger Shimizu 1d589900fb Add Ubuntu 14.04/16.04 build instruction to README 2017-02-15 21:32:10 +08:00
Roger Shimizu 7467f07984 Add CAP_NET_ADMIN capability to ss-redir in postinst script
Fix #1252
2017-02-15 08:01:00 +08:00