glzjin
5bd61e1bfb
refine redirect ( #147 )
refine redirect, forbidden list will not work when redirect rule work
8 years ago
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
8 years ago
破娃酱
403ce5da58
bump
8 years ago
破娃酱
b513210778
fix tls
8 years ago
破娃酱
e0b4bdf551
refine obfs, support comment in config.json
8 years ago
shoaly
bdee67b856
create a Dockerfile for ssr ( #143 )
by this dockerfile, make it easy to run ssr-server on docker server
8 years ago
破娃酱
e048e224d0
Do not return empty list if raise exception
8 years ago
破娃酱
d45ba8de03
OpenSSL 1.1.0 compatible
8 years ago
破娃酱
c3a9612919
bump 2.9.7
manage client with LRUCache
8 years ago
破娃酱
ce25bbf650
catch bind error
8 years ago
破娃酱
0b94af0b7d
Merge pull request #130 from V-E-O/patch-1
fix import error of resource on windows
8 years ago
V.E.O
2a6fbc87d4
fix import error of resource on windows
8 years ago
破娃酱
ac58020595
print RLIMIT_NOFILE
always close cymysql objects
8 years ago
破娃酱
9533044bd8
update init script
8 years ago
破娃酱
c7fb9bcb5e
init script & update README.md
8 years ago
破娃酱
e5824be145
fix none encrypt key size
8 years ago
破娃酱
13ffdac2b7
tls1.2 split pack data
8 years ago
破娃酱
2eaca2faea
fix typo
8 years ago
破娃酱
cfb8944003
tls1.2_ticket_auth random packet size
8 years ago
破娃酱
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
8 years ago
破娃酱
a0ee80a5ad
new default config
8 years ago
破娃酱
b8afd216d6
bump 2.9.5
update auth_aes128_md5 & auth_aes128_sha1
8 years ago
破娃酱
5345c66abe
add License
8 years ago
破娃酱
249b7fd73f
fix path
8 years ago
破娃酱
45e27f9142
display version
8 years ago
破娃酱
c48190fe7a
sort key, refine log
8 years ago
破娃酱
d1f64de6b4
-P => -O
8 years ago
破娃酱
1183d567c9
server can limit the host setting
8 years ago
破娃酱
293a937501
wait extra data
8 years ago
破娃酱
e8f6d87bb1
add user key, add HMAC-MD5
8 years ago
破娃酱
574a10a743
fix bugs in auth_aes128 when run as a client
add auth_aes128_sha1
8 years ago
破娃酱
ada4eab628
sendback an empty packet if auth success
8 years ago
破娃酱
e7db6d4248
fix typo
8 years ago
破娃酱
a407bcc568
add auth_aes128
8 years ago
破娃酱
52041387f9
fix push_db_all_user
8 years ago
破娃酱
933e75b9a7
add auth_sha1_v4
8 years ago
夏侯
a02e995a8a
fix bug at KqueueLoop close ( #117 )
8 years ago
破娃酱
2637c8d1c7
fix chacha20-ietf
8 years ago
破娃酱
88017d9643
fix ssl connection
8 years ago
破娃酱
e81f8db0b8
add auth_sha1_v3, remove tls1.0_session_auth
8 years ago
破娃酱
1fe6e89c07
fix log RLIMIT_NOFILE
8 years ago
破娃酱
1221a1f3f6
log RLIMIT_NOFILE
let http_simple the same as http_post when server_decode
8 years ago
破娃酱
3d4356e8b4
fix verify_sha1 redirect
8 years ago
破娃酱
6c34c4116f
fix verify_sha1 response
8 years ago
破娃酱
6ee4eb3184
set default node id to 0 and default db to "sspanel"
8 years ago
破娃酱
5e485eb2be
warn if incorrect node id
8 years ago
破娃酱
b3fcee662a
fix unit_len in auth_sha1
8 years ago
破娃酱
e1aa68029d
log if no user
8 years ago
破娃酱
1e2445061f
remove keep alive
8 years ago
破娃酱
efea3e08cc
fix error return
8 years ago