1120 Commits
Author SHA1 Message Date
Max Lv ccb48fa8c2 Bump version v2.4.8 2016-07-20 09:35:07 +08:00
Max Lv 2f26412699 Add missing srand 2016-07-20 09:25:18 +08:00
Roger Shimizu 2445b8690f fix of PATH_MAX for GNU/Hurd (#727)
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
2016-07-17 18:39:27 -05:00
tim-le ad17d91b42 fix bugs with when ss-server bind_address enabled (#725)
* SO_REUSEADDR for remote sockfd

avoid  ERROR: bind_to_address: Address already in use

* set addr->sin_port to be 0
2016-07-14 18:08:10 -05:00
Max Lv 50f63d345d Fix #718 2016-07-11 16:33:47 +08:00
Max Lv d6ac986efa Update copyright 2016-07-11 09:33:05 +08:00
Roger Shimizu 86b3c3a245 Sync debian/ folder with version 2.4.7+20160630+ds-2 (#710)
Changes:
 - Add license of manpages to copyright
 - Change way to handle config file (config.json)
 - Add lintian-overrides
 - Rename/Update docs and install file
2016-07-10 08:58:58 -05:00
Max Lv 6923a8909b Update makefile 2016-07-10 15:48:39 +08:00
Max Lv 09b55d476d Add Makefile.am to doc 2016-07-10 15:42:51 +08:00
Boyuan Yang 2ca39faa4b Update debian package script (#709)
* Fix d/control dependency
* Add --disable-ssp in d/rules and depend on dpkg-buildflags
2016-07-06 02:50:46 -05:00
Max Lv bdef06618d Fix #708 2016-07-06 11:09:59 +08:00
Max Lv 4a0d37afda Update makefile 2016-07-04 21:07:53 +08:00
Syrone Wong 7bc66eca3f fix disable-documentation option (#700)
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-07-04 08:04:57 -05:00
Max Lv 1f5b0eacf2 Fix dependency issue 2016-07-04 18:32:48 +08:00
Max Lv 2643de44f2 Clean up 2016-07-04 18:23:17 +08:00
anonymous-contributor f793d2666c Asciidoc man page rework (#699)
* 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>
2016-07-04 05:11:50 -05:00
Boyuan Yang d4aabcb40b update README for Debian installation (#698) 2016-07-03 02:33:13 -05:00
anonymous-contributor af69798355 New jconf parameters (#695)
* 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>
2016-06-30 23:19:13 -05:00
Roger Shimizu 38f33a653b relicense manpages to GFDL with no invariant sections (#694)
Make license of man pages to DFSG-free, according to:
 - https://wiki.debian.org/DFSGLicenses
 - https://wiki.debian.org/qa.debian.org/gfdlinvariant
2016-06-30 17:43:17 -05:00
Joey Korkames 69fc73a14d fix path typo in debian/postinstall (#691)
Missing slash causes dpkg -i to fail:
---
Setting up shadowsocks-libev (2.4.7-1) ...
sed: can't read etc/shadowsocks-libev/config.json: No such file or directory
dpkg: error processing shadowsocks-libev (--install):
 subprocess installed post-installation script returned error exit status 2
2016-06-28 18:36:04 -05:00
Max Lv bf210be2b7 Refine #690 2016-06-28 15:35:16 +08:00
Max Lv 55dea8b973 Fix #690 2016-06-28 15:33:55 +08:00
Symeon Huang 3afaad647e Update supported Fedora versions (#687) 2016-06-26 20:45:23 -05:00
Max Lv 1e8022c3b7 Refine #682 2016-06-21 15:24:49 +08:00
Roger Shimizu 75aeacadd1 Sync debian/ folder (#681)
A few itmes deserve to be mentioned:
 - use apg to generate random password when install.
 - generated password won't get updated when upgrading / reinstall.
 - add more to description to make lintian happy.
 - generated Makefile.am don't need to be listed in debian/copyright.
 - the way of installing systemd service is changed. Thanks to advice
   from Boyuan.
 - multi-arch can be archived without specific setting in debian/rules
 - add debian/watch file
2016-06-19 19:58:52 -05:00
Roger Shimizu 8fb864551c Add manpage to systemd service file (#679)
Referred:
  https://www.freedesktop.org/software/systemd/man/systemd.unit.html#Documentation=
2016-06-19 08:46:35 -05:00
Max Lv 642b5c900d Fix #678 2016-06-18 12:36:51 +08:00
Max Lv 3c371ab0eb add AUTHORS 2016-06-17 16:27:37 +08:00
cs17899219 d33b865ec7 Add a signal SIGUSR1 for safely stop the server (#677) 2016-06-14 21:29:06 -05:00
Max Lv d8598d35e3 Update shadowsocks-libev.default 2016-06-14 15:26:04 +08:00
Max Lv 97446544da Update shadowsocks-libev.service 2016-06-14 15:25:28 +08:00
Max Lv 00209ab2ea Revert "Add APIs for non thread safe usage of shadowsocks-libev library"
This reverts commit 3e4c922363.
2016-06-14 09:15:58 +08:00
Max Lv 3e4c922363 Add APIs for non thread safe usage of shadowsocks-libev library 2016-06-13 17:47:11 +08:00
Max Lv 478377646e Merge branch 'master' of github.com:madeye/shadowsocks-libev 2016-06-12 09:09:21 +08:00
Max Lv 658703a1bd Fix #673 2016-06-12 09:09:03 +08:00
Boyuan Yang 835a50fece Another fix for #668 (#671) 2016-06-10 08:50:05 -05:00
Max Lv a9b85a5216 Refine #669: Bind to loopback for local resolver 2016-06-09 08:42:45 +08:00
Max Lv 2eaee4716d Fix #668 2016-06-07 12:53:56 +08:00
Boyuan Yang 2bf2d0787d Fix typo in source code (#666) 2016-06-06 05:30:43 -05:00
Max Lv fd422008b7 Avoid linking issues on Android 2016-06-05 14:45:01 +08:00
Max Lv e0d290ffab Fix #658 2016-06-03 19:58:21 +08:00
Max Lv 0904a62810 Fix #656 v2.4.7 2016-06-01 19:07:51 +08:00
Max Lv e69b0a9990 Bump version 2016-06-01 18:31:13 +08:00
Max Lv 6fc1dccc58 Rename libshadowsocks to libshadowsocks-libev 2016-06-01 18:12:27 +08:00
Max Lv fde3ea482a Update README.md 2016-05-31 11:03:55 +08:00
Roger Shimizu a3d2508601 Make Changes independent to debian/changelog (#654) 2016-05-30 19:29:25 -05:00
Max Lv 2a7f7327a1 Update README.md 2016-05-27 09:00:27 -05:00
Roger Shimizu 649d60729c Fix typo in manpage (#652) 2016-05-27 08:34:40 -05:00
Max Lv ba7f1565ad Fix #650 2016-05-27 12:13:09 +00:00
Max Lv 0cfae045e8 Fix #648 2016-05-26 14:35:02 +08:00