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
破娃酱
c3a9612919
bump 2.9.7
manage client with LRUCache
8 years ago
破娃酱
ce25bbf650
catch bind error
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
破娃酱
a407bcc568
add auth_aes128
8 years ago
破娃酱
e1aa68029d
log if no user
8 years ago
破娃酱
1e2445061f
remove keep alive
8 years ago
BreakWa11
d47905f01d
fix name
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
4a291ff335
add keep alive setting
8 years ago
BreakWa11
82df4524d1
fix host_list type
8 years ago
BreakWa11
0213e78847
log listening port, remove `auth_simple`, redirect the same port
8 years ago
BreakWa11
32957158b9
check decode remote_addr
8 years ago
BreakWa11
9538afebff
check decode remote_addr
8 years ago
BreakWa11
3f6f16e4d6
change the counter of the online users
8 years ago
BreakWa11
e2bae5874c
catch decode error
8 years ago
BreakWa11
050270a725
fix send back str type
8 years ago
BreakWa11
bd43069bcf
sendback param of server_post_decrypt
details of errors
8 years ago
BreakWa11
3d1d38aa0f
fix connections stat
mgr help info
8 years ago
BreakWa11
97785aae2e
fix recv data bug
9 years ago
BreakWa11
d653c9bdb3
add forbidden_port
9 years ago
BreakWa11
91576d1e08
detect thread status
add API params
9 years ago
BreakWa11
82ffa15a56
add connection stat log
9 years ago
BreakWa11
7ccee594d5
catch sys exception & close port
9 years ago
BreakWa11
ce189ecd85
remove useless log
add openssl rand_bytes
9 years ago
BreakWa11
3c64e849b0
log client address
9 years ago
BreakWa11
b3ab5d7c4c
show exception peer name
9 years ago
BreakWa11
8b35508b6f
show exception peer name
9 years ago
BreakWa11
c5ca6bd80a
optimize DNS query
9 years ago
BreakWa11
5dbeac99de
more error info about peers
9 years ago
BreakWa11
4e10ff9063
better way to stop a server
9 years ago
BreakWa11
be922ba7c2
add ignore_bind list
9 years ago
BreakWa11
6906c7db04
rename bind -> out_bind
9 years ago
BreakWa11
f91e04b0bd
TCP: bind the IP which connecting in, or set the IP by config file
allow setting method/bind/bindv6 for each port
9 years ago
BreakWa11
b71af8f4df
log connection info as debug level by default
9 years ago
BreakWa11
bb916eb705
LRUCache add 'clear' method
refine close
9 years ago
BreakWa11
95bc6e4a2f
tcp resend data bug fix
add tls1.2_ticket_auth
9 years ago
BreakWa11
cb86c34c3b
UDP recv size
9 years ago
BreakWa11
77abc7d1bc
support big UDP data
9 years ago
BreakWa11
6576359c1c
fix "ord"
9 years ago
BreakWa11
80604a9421
fix auth_sha1
fix tls1.0_session_auth
9 years ago
BreakWa11
13579f1ca4
return after destory
fix "tls1.0_session_auth"
9 years ago
BreakWa11
aff97d4ce8
improve LRUCache
add "tls1.0_session_auth"
fix "auth_sha1" in local mode
refine log
9 years ago
BreakWa11
c83341da9b
add protocol_param
9 years ago
BreakWa11
b5da4bc86a
add MYSQL_TRANSFER_MUL
add protocol_param (for auth_simple)
9 years ago
BreakWa11
4b97412569
only correct request add into transfer size
9 years ago