Commit graph

1017 commits

Author SHA1 Message Date
破娃酱
486c007928 change default protocol settings, refine auth_aes128_* for redir method 2016-12-30 11:23:43 +08:00
orvice
19d0034ba9 update README 2016-12-30 00:52:06 +08:00
破娃酱
9dfcfe0f7e remove all compatible 2016-12-30 00:18:16 +08:00
破娃酱
349821221d force pack some data in url 2016-12-29 14:17:49 +08:00
glzjin
5bd61e1bfb refine redirect (#147)
refine redirect, forbidden list will not work when redirect rule work
2016-12-27 16:20:38 +08:00
glzjin
c7815a0ee8 Support redirect rule (#145)
Syntax:

match_hostname_regex:port(* means match all port)#redirect_dist_host:redirect_port

and in the config.json(user-config.json) redirect param should be a list,

for example

```
"redirect": ["*:8080#zhaoj.in:80","zhaojin97.cn:80#127.0.0.1:80","*#pku.edu.cn:80"]
```

This example means abnormal connection which connect to port 8080 will be redirected to zhaoj.in:80,and if there a http request with hostname zhaojin97.cn(you can set hosts file to test it) will be redirected to 127.0.0.1:80,and the rest of abnormal connection will be redirect to pku.edu.cn:80
2016-12-24 21:25:53 +08:00
破娃酱
403ce5da58 bump 2016-12-23 21:40:38 +08:00
破娃酱
b513210778 fix tls 2016-12-23 21:14:23 +08:00
破娃酱
e0b4bdf551 refine obfs, support comment in config.json 2016-12-23 20:58:43 +08:00
shoaly
bdee67b856 create a Dockerfile for ssr (#143)
by this dockerfile, make it easy to run ssr-server on docker server
2016-12-18 20:20:41 +08:00
破娃酱
e048e224d0 Do not return empty list if raise exception 2016-11-24 19:13:32 +08:00
破娃酱
d45ba8de03 OpenSSL 1.1.0 compatible 2016-11-22 23:10:32 +08:00
破娃酱
c3a9612919 bump 2.9.7
manage client with LRUCache
2016-11-22 15:27:12 +08:00
破娃酱
ce25bbf650 catch bind error 2016-11-22 02:24:08 +08:00
破娃酱
0b94af0b7d Merge pull request #130 from V-E-O/patch-1
fix import error of resource on windows
2016-11-10 15:55:28 +08:00
V.E.O
2a6fbc87d4 fix import error of resource on windows 2016-11-10 11:25:12 +08:00
破娃酱
ac58020595 print RLIMIT_NOFILE
always close cymysql objects
2016-11-02 19:06:54 +08:00
破娃酱
9533044bd8 update init script 2016-10-28 19:18:38 +08:00
破娃酱
c7fb9bcb5e init script & update README.md 2016-10-28 18:17:28 +08:00
破娃酱
e5824be145 fix none encrypt key size 2016-10-25 00:45:19 +08:00
破娃酱
13ffdac2b7 tls1.2 split pack data 2016-10-18 13:36:22 +08:00
破娃酱
2eaca2faea fix typo 2016-10-17 16:07:25 +08:00
破娃酱
cfb8944003 tls1.2_ticket_auth random packet size 2016-10-17 16:02:11 +08:00
破娃酱
685b62532e 2.9.5.1
UDP bind address (set out_bind and out_bindv6)
UDP over TCP auto bind
return a long enough err string
2016-10-16 21:55:06 +08:00
破娃酱
a0ee80a5ad new default config 2016-10-14 17:53:20 +08:00
破娃酱
b8afd216d6 bump 2.9.5
update auth_aes128_md5 & auth_aes128_sha1
2016-10-12 15:36:30 +08:00
破娃酱
5345c66abe add License 2016-10-11 16:05:03 +08:00
破娃酱
249b7fd73f fix path 2016-10-11 15:47:07 +08:00
破娃酱
45e27f9142 display version 2016-10-11 15:41:02 +08:00
破娃酱
c48190fe7a sort key, refine log 2016-10-11 15:16:08 +08:00
破娃酱
d1f64de6b4 -P => -O 2016-10-08 11:21:30 +08:00
破娃酱
1183d567c9 server can limit the host setting 2016-10-04 20:01:07 +08:00
破娃酱
293a937501 wait extra data 2016-10-03 14:04:48 +08:00
破娃酱
e8f6d87bb1 add user key, add HMAC-MD5 2016-10-03 00:17:08 +08:00
破娃酱
574a10a743 fix bugs in auth_aes128 when run as a client
add auth_aes128_sha1
2016-10-01 21:10:27 +08:00
破娃酱
ada4eab628 sendback an empty packet if auth success 2016-09-30 10:12:24 +08:00
破娃酱
e7db6d4248 fix typo 2016-09-27 00:20:11 +08:00
破娃酱
a407bcc568 add auth_aes128 2016-09-26 19:24:39 +08:00
破娃酱
52041387f9 fix push_db_all_user 2016-09-21 15:16:50 +08:00
破娃酱
933e75b9a7 add auth_sha1_v4 2016-09-20 17:21:32 +08:00
夏侯
a02e995a8a fix bug at KqueueLoop close (#117) 2016-09-16 19:26:54 +08:00
破娃酱
2637c8d1c7 fix chacha20-ietf 2016-09-04 20:06:56 +08:00
破娃酱
88017d9643 fix ssl connection 2016-09-04 11:23:46 +08:00
破娃酱
e81f8db0b8 add auth_sha1_v3, remove tls1.0_session_auth 2016-08-31 18:04:52 +08:00
破娃酱
1fe6e89c07 fix log RLIMIT_NOFILE 2016-08-24 17:18:02 +08:00
破娃酱
1221a1f3f6 log RLIMIT_NOFILE
let http_simple the same as http_post when server_decode
2016-08-24 17:11:01 +08:00
破娃酱
3d4356e8b4 fix verify_sha1 redirect 2016-08-22 19:20:38 +08:00
破娃酱
6c34c4116f fix verify_sha1 response 2016-08-22 19:10:50 +08:00
破娃酱
6ee4eb3184 set default node id to 0 and default db to "sspanel" 2016-08-21 23:13:00 +08:00
破娃酱
5e485eb2be warn if incorrect node id 2016-08-21 23:07:33 +08:00