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
破娃酱
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
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
破娃酱
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
破娃酱
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
破娃酱
a407bcc568
add auth_aes128
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
破娃酱
e81f8db0b8
add auth_sha1_v3, remove tls1.0_session_auth
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
破娃酱
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
破娃酱
f989fd4d37
fix error return
8 years ago
破娃酱
816d2f6298
remove tls_simple, fix tls1.2_ticket_auth
8 years ago
破娃酱
3ce6e6f714
fix transfer update
8 years ago
BreakWa11
d47905f01d
fix name
8 years ago
BreakWa11
f3808a306f
random choice a host name (http_simple/http_post/tls1.2_ticket_auth)
8 years ago
BreakWa11
e15030cc6e
set KEEPIDLE on windows/mac osx
8 years ago
BreakWa11
292865f625
Linux only
8 years ago
BreakWa11
8da3bdc511
set KEEPALIVE except windows
8 years ago
BreakWa11
25e9c131d4
change err return
8 years ago
BreakWa11
4a291ff335
add keep alive setting
8 years ago
BreakWa11
82df4524d1
fix host_list type
8 years ago
BreakWa11
f0d6a5b41e
log listening port over UDP
8 years ago