Commit Graph
1545 Commits
Author SHA1 Message Date
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
Roger Shimizu d12a7b911e Add more cleanup pkg to trusty script
For xenial script, it's clean enough so far.
2017-02-15 08:00:43 +08:00
Syrone Wong 80ca9469e6 Output error log when repeat IV/salt detected
This is useful when checking connection issues, and can be used to
check broken random number generator and replay attacks.

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2017-02-14 19:41:46 +08:00
Max Lv 504a3f7813 Refine MAX_FRAG 2017-02-14 10:38:39 +08:00
Max Lv 422eaa5024 Add back fragmentation detection 2017-02-14 10:02:36 +08:00
Roger Shimizu 0553da0692 dh-systemd dependency should be removed for debhelper >=10
For trusty, debhelper is 9, so need to add the Build-Depends
for the build script.

With a few other fixes for trusty script.
2017-02-14 09:37:24 +08:00
Roger Shimizu e7e4291f03 Add deb build script for ubuntu xenial 16.04 2017-02-13 22:31:16 +08:00
Max Lv 72f6041a7c Add USE_SYSTEM_SHARED_LIB check in configure 2017-02-13 21:32:46 +08:00
Roger Shimizu 14a79b5500 Add deb build script for ubuntu trusty 14.04 2017-02-13 20:55:37 +08:00
Max Lv 2a9b9c7358 Revert "Fix server buffer #1245"
This reverts commit 9716eede20.
2017-02-13 19:03:28 +08:00
Max Lv 9716eede20 Fix server buffer #1245 2017-02-13 18:54:37 +08:00
Max Lv 8a34b3ea0b Rename DEBUG to SS_DEBUG 2017-02-13 13:16:57 +08:00
Max Lv 889079e69b Replace the URL for libsodium 2017-02-13 10:50:40 +08:00
Max Lv 46fa5de9e4 Bump version v3.0.2 2017-02-13 09:13:16 +08:00
Max Lv 6520f340bb Fix #1240 2017-02-12 20:15:22 +08:00
Max Lv 6c62647a66 Add session key following SIP007 2017-02-12 16:34:42 +08:00
Max Lv c422272ed3 Update libcork 2017-02-11 09:12:32 +08:00
Max Lv d1018e4ca5 Ignore empty payload 2017-02-11 09:12:02 +08:00
Boyuan Yang 3f789cd0a7 Clarify port_password usage in docs (#1229) 2017-02-10 16:04:31 +08:00
Max Lv 0b9b8d65ce Update config.json docs 2017-02-10 15:54:58 +08:00
Max Lv 0cff5503f6 Add default manager-address 2017-02-10 15:38:38 +08:00
Cokebar Chi 88037fc2b3 Update README.md (#1225)
Install libmbedtls in `/usr` instead of `/usr/local`
2017-02-09 17:02:45 +08:00
Boyuan Yang b09c2bec36 README.md: update words about building and packaging. 2017-02-08 17:18:25 +08:00
Boyuan Yang 4f88092311 debian: Update packaging instructions (Fix #1198)
This commit will fix .deb packaging instructions for Ubuntu 16.04.
Meanwhile, .deb packaging for Debian/Ubuntu is now only suitable
for Ubuntu 16.04 LTS or higher, Debian 9 or higher.

Debian 8 users won't be able to build from source too because this
project now requires libsodium >= 1.0.8. Jessie-packports is needed
to build on Debian 8.
2017-02-08 17:18:25 +08:00
Max Lv f4b1641636 Fix #1217 2017-02-08 09:58:04 +08:00
Max Lv fdb1f190f8 Bump version v3.0.1 2017-02-07 13:30:18 +08:00
Simon Shi a0d38b3d91 Fix typo (#1210)
* Fix doc

* Update ss-redir.asciidoc

* Update ss-server.asciidoc
2017-02-07 08:47:34 +08:00
Max Lv c5c8389a8d Fix data len 2017-02-06 18:03:05 +08:00
Max Lv c9d7ff16d6 Fix a typo 2017-02-06 17:26:58 +08:00
钟晓仕 1e1792b580 Update README.md (#1208)
I found that `automake` must be installed because we will use the `aclocal` command later, which is included in `automake`.
2017-02-06 17:05:27 +08:00
Max Lv ef0402eb10 Add --key option to set key directly (#1207) 2017-02-06 17:02:04 +08:00
Dijkstra 43aabb2303 Fix typo. (#1206) 2017-02-06 16:33:21 +08:00
Dijkstra 726f11048c Update .gitignore (#1204) 2017-02-06 12:01:03 +08:00
Kim 37f0eff99b Update issue_template.md (#1201) 2017-02-06 09:19:24 +08:00
Kim d87dc1d642 fixed missing apt pkg: automake (#1195)
With the `--no-install-recommends` option, `apt` command will not install `automake` package automatically as recommended package of `autoconf`. So it should be installed clearly.
2017-02-05 14:10:56 +08:00
Kim bf14944490 fixed json_null => NULL (#1193)
The json_null should be C NULL.
2017-02-05 07:14:19 +08:00
Max Lv 894eae567c Refine ciphers 2017-02-04 20:04:48 +08:00
Max Lv dde1bf7dec Fix a potential issue in parse_addr 2017-02-04 18:36:06 +08:00
Max Lv 2b1b9bb403 Refine buffer handling in stream_decrypt 2017-02-04 16:22:58 +08:00
Max Lv 68929513d3 Fix a typo 2017-02-04 15:32:24 +08:00
Mygod cb84aee1c9 Fix #1170 (#1187) 2017-02-04 12:51:33 +08:00
Max Lv d9c2934a63 Merge branch 'master' of github.com:shadowsocks/shadowsocks-libev 2017-02-04 12:47:22 +08:00
Max Lv 2f7882244f Refine IV in stream cipher 2017-02-04 12:45:13 +08:00