Commit Graph
1237 Commits
Author SHA1 Message Date
Kim a7f5359cab New feature: ss-server outbound block (#905)
* New feature: server outbound block

* Update server_block_chn.acl

* Update server_block_chn.acl

Add Baidu-HK

* cleanup
2016-10-29 07:30:11 +08:00
Max Lv 8bb961c29a Ignore IPs in white list. #899 2016-10-26 10:28:49 +08:00
Max Lv 83c244bc9a Update the document to use rc4-md5 as default cipher 2016-10-26 09:15:12 +08:00
Max Lv 85a5c86637 Refine LRU cache by clearing old objects 2016-10-26 08:53:21 +08:00
Kim e0cfa6945a Friendlize init message while listen on an IPv6 address. (#901)
Before,

```bash
$ ss-local -s::1 -p8388 -b::1 -l1080 -k123456 -v
 ...
 2016-10-25 20:07:03 INFO: listening at ::1:1080
 ...
```

After,

```bash
$ ss-local -s::1 -p8388 -b::1 -l1080 -k123456 -v
 ...
 2016-10-25 20:07:49 INFO: listening at [::1]:1080
 ...
```
2016-10-26 08:14:01 +08:00
Kim 5524ec2201 Update local.c (#900)
Setup default cipher instead of null
2016-10-26 07:58:57 +08:00
Kim 31e30e35ba Update server.c (#898)
Friendlize init message while listen on an IPv6 address.
2016-10-25 20:19:30 +08:00
John Hu e49d3e93bb Remove -U option that disables TCP relay (#897) 2016-10-24 21:31:41 +08:00
Syrone Wong 5ac0e410e9 Switch random generator to libsodium's (#896)
to get rid of self written code and make it clean.

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-10-21 14:44:07 +08:00
Max Lv 6996c00a6d Update configure script 2016-10-21 13:08:03 +08:00
Rayson Zhu 69a08675c4 Make genrpm.sh a little safer. (#895)
1. Remove function `get_att_val`:
That function uses `eval` to set default values for bash variables.
Because it is very dangerous to use `eval` (someone call it the plague of shell scripting), I'd like to use the bash builtin to do that.
2. Double quote all variables to avoid unexpected expansion when using it.
2016-10-21 11:05:50 +08:00
Rayson Zhu e5d53933d5 Fix missing dependencies (#894)
* Add missing build dependencies to RPM spec

* Fail if `asciidoc` or `xmlto` not found
2016-10-21 11:05:42 +08:00
Max Lv 9fb0b86218 Ignore generated spec 2016-10-19 15:46:52 +08:00
Boyuan Yang b45f8032a5 Add instruction to install from official deb repo (#892) 2016-10-18 14:18:52 +08:00
Max Lv 91b4e6ad6d Fix #887 2016-10-18 13:21:33 +08:00
Rayson Zhu 0230620c27 Include shadowsocks-libev-*.service files for RPM packages (#886) 2016-10-16 09:40:29 +08:00
Max Lv 7029cfca3a Refine event handling 2016-10-14 09:10:36 +08:00
Max Lv 904ee4a771 Fix #881 2016-10-12 15:51:18 +08:00
Max Lv 9807e566d7 Bump version v2.5.5 2016-10-11 15:48:41 +08:00
Max Lv 435401bf7c Refine auto blocking 2016-10-10 16:36:21 +08:00
Max Lv 3c6bec8d6a Fix a typo 2016-10-10 12:00:30 +08:00
Max Lv 8028c372b7 Fix ADDRTYPE_MASK 2016-10-10 09:48:56 +08:00
Max Lv 76a6f25f3b Update README 2016-10-10 09:09:21 +08:00
Max Lv 2dd96d3036 Refine the ACL behavior 2016-10-10 09:06:52 +08:00
Max Lv c4880e6cf4 Refine ACL for malicious request 2016-10-10 08:25:57 +08:00
Max Lv 97b87b8ec7 Bump version v2.5.4 2016-10-09 19:43:48 +08:00
Roger Shimizu 65773723e4 sync debian/ folder with debian package 2.5.3+ds-1 (#866) 2016-10-04 09:55:42 -05:00
peakvision b16e55d28f Update README.md (#864) 2016-10-02 09:30:16 -05:00
Max Lv efafb59647 Fix #863 2016-10-02 13:37:45 +08:00
Syrone Wong e0d6dd8f3c libcork: use API where supported (#860)
- The usage of `pthread_setname_np` is not supported on versions of
  glibc earlier than 2.12. This patch checks the glibc MINOR version and
  only uses that API where supported.
- This will suppress undeclared function warning when compiling
  with uClibc/musl-libc.

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-09-30 18:33:26 -05:00
Max Lv c29099df3f Enable block list by default 2016-10-01 07:32:40 +08:00
Max Lv 7ee9290657 Block address in block list 2016-10-01 07:15:13 +08:00
Syrone Wong dbad716c3d Update libcork to 0.15.0 (#856)
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-09-29 18:00:15 -05:00
Max Lv c9c970cee5 Enable kqueue for freebsd again 2016-09-29 23:01:31 +08:00
Xingyu Chen 3f664546f8 Update libev to 4.22 (#854) 2016-09-29 09:53:20 -05:00
rampageX 6e60e17224 Show encryption library used in the help message (#851) 2016-09-27 21:57:43 -05:00
Register fa4721bff4 Update Dockerfile (#847)
- configure with `--prefix=/usr` `--disable-documentation`
- get dependency with scanelf
- version 2.5.3
- USER nobody
2016-09-26 23:37:07 -05:00
Max Lv 34fe1a71a6 Refine error levels 2016-09-27 12:11:37 +08:00
Max Lv 248fdcb610 Fix #841 2016-09-23 11:51:42 +08:00
Max Lv 3e5816bb0b fix hostname validation 2016-09-23 10:48:18 +08:00
Max Lv dd5b4ecf00 Revert "Get hostname from method"
This reverts commit a8892f6e69.
2016-09-23 09:59:43 +08:00
Max Lv a8892f6e69 Get hostname from method 2016-09-23 09:20:34 +08:00
Kim 7455eb387d fixed: remove color log (#839) 2016-09-22 16:48:23 +08:00
Max Lv bd1601f847 Bump version v2.5.3 2016-09-21 20:39:44 +08:00
Max Lv 2868e7e7b2 Fix TFO on Linux 2016-09-20 10:14:49 +08:00
Max Lv 3fbfb469d0 Revert "Refine #836"
This reverts commit 0949f9a73b.
2016-09-20 10:10:49 +08:00
Max Lv 0949f9a73b Refine #836 2016-09-20 09:14:59 +08:00
Max Lv 1bf7bd5f83 Fix #836 2016-09-20 08:58:49 +08:00
Max Lv a5c9bcfb58 Refine auto block mechanism 2016-09-19 13:10:06 +08:00
Kim f7f90b1eb2 Update README.md (#829)
fixed missing `libpcre3-dev` package
2016-09-12 17:50:14 +08:00