Commit Graph
2520 Commits
Author SHA1 Message Date
Max Lv f38aedc71a Refine the ipv6first resolving 2016-11-12 11:15:32 +08:00
Max Lv 5cd294879b Add -6 option for #942 2016-11-12 11:01:05 +08:00
Max Lv f64cb0b0ca Refine the timer of traffic stat 2016-11-12 10:18:53 +08:00
Max Lv a0151422eb Fix the traffic counter in UDP mode 2016-11-12 09:58:06 +08:00
Max Lv 39436d7618 Refine set_linger 2016-11-11 18:35:44 +08:00
Max Lv 1ed725daf8 Refine APIs for auto-blocking 2016-11-11 16:38:13 +08:00
Max Lv 05450b51d4 Refine #940 2016-11-11 16:29:04 +08:00
Max Lv ff8684bcd5 Avoid too many forks 2016-11-11 10:35:59 +08:00
Max Lv 604b5ef6ea Revert to getuid() 2016-11-10 17:39:49 +08:00
Max Lv 87b01a14d5 Fix #939 2016-11-10 17:22:03 +08:00
Max Lv cb0cc25fd9 Fix a typo 2016-11-10 15:25:53 +08:00
Max Lv b136d6c6d3 Fix #938 2016-11-10 14:51:24 +08:00
Max Lv c35b143282 Suppress output of commands 2016-11-10 13:13:02 +08:00
Max Lv d5e1c4308d Refine IPv6 handling in ACL 2016-11-10 13:01:35 +08:00
Max Lv f7dfd06115 Refine firewalld detector 2016-11-10 12:16:41 +08:00
Max Lv 7c12e085e5 Add firewalld support #935 2016-11-10 10:52:07 +08:00
Max Lv 085efc1605 Fix the chain name conflict. #935 2016-11-10 08:51:05 +08:00
Max Lv c5eab13afd Fix #931 2016-11-09 12:24:33 +08:00
Max Lv 114bc6789b Clean up 2016-11-09 11:09:57 +08:00
Max Lv 29658019d4 Fix #930 2016-11-09 08:58:51 +08:00
Max Lv b43a715301 Fix #928 2016-11-08 17:48:25 +08:00
Max Lv 854c6f9779 Fix build with clang 2016-11-07 17:57:00 +08:00
Max Lv 60c25dbace Reduce the side effects 2016-11-07 17:39:55 +08:00
Max Lv bac7ba79dd Drop FIN packets to misbehaving clients (#925)
* Drop FIN if detecting bad clients

* Fix the command line

* Refine iptables rules

* Refine euid
2016-11-07 02:26:57 -06:00
Max Lv 980d801a79 Add timeout support in ss-redir 2016-11-04 19:21:21 +08:00
Max Lv 3036443ac5 Fix the document 2016-11-03 09:23:56 +08:00
Max Lv d6c377df9c Bump version v2.5.6 2016-11-01 09:56:22 +08:00
Max Lv 869f3b7bc8 Refine error handling of ATYP 2016-10-31 16:05:03 +08:00
Max Lv e2f8b9a34a Refine error levels 2016-10-31 15:22:44 +08:00
Max Lv 6d57b3cb56 Fix #912 2016-10-30 08:34:43 +08:00
Max Lv aac4240e9f Fix #909 2016-10-29 13:40:40 +08:00
Max Lv 4a760fd50b Fix #907 #908 2016-10-29 13:38:07 +08:00
Max Lv cfae8dcfcc Refine outbound feature #905 2016-10-29 08:11:53 +08:00
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