Commit graph

1100 commits

Author SHA1 Message Date
BreakWa11
3d56b040cf accept older connection id 2016-06-21 23:26:00 +08:00
BreakWa11
acb3eb2910 compatible python3 2016-06-21 22:42:55 +08:00
BreakWa11
44598a070d compatible python3 2016-06-21 21:29:34 +08:00
BreakWa11
8031337d65 compatible python3 2016-06-21 21:04:41 +08:00
BreakWa11
044e1539e9 fix clear command 2016-06-20 17:19:04 +08:00
BreakWa11
268f6e23b4 fix mujson_mgr & add -f 2016-06-20 15:02:21 +08:00
BreakWa11
9e64d1837c add mudbjson mgr 2016-06-20 14:52:02 +08:00
BreakWa11
97785aae2e fix recv data bug 2016-06-16 22:42:23 +08:00
BreakWa11
8556fd3c18 fix UDPRelay _forbidden_portset 2016-06-16 01:38:57 +08:00
BreakWa11
2f8517190c ignore empty 2016-06-16 00:17:31 +08:00
BreakWa11
5c1b90b774 custom 'forbidden_ip' for each user
fix cmp for IPNetwork & PortRange
2016-06-15 18:34:05 +08:00
BreakWa11
8cbca008c6 custom 'forbidden_port' for each user 2016-06-15 18:13:45 +08:00
BreakWa11
72aab7701f fix a tiny bug 2016-06-15 17:29:05 +08:00
BreakWa11
d653c9bdb3 add forbidden_port 2016-06-15 17:09:12 +08:00
BreakWa11
9e288c9ac0 supper local json database for mu 2016-06-14 22:21:23 +08:00
BreakWa11
8dac9faa28 'obfs', 'protocol', 'method' leave blank that use the config of config.json 2016-06-14 14:06:52 +08:00
BreakWa11
825aece219 fix char set 2016-06-12 23:06:40 +08:00
BreakWa11
4af9472986 detect cfg modification 2016-06-12 22:46:47 +08:00
BreakWa11
7f26f43f88 allow custom obfs & protocol 2016-06-12 18:48:07 +08:00
BreakWa11
c7864acc37 add sspanelv3 interface, read the 'method' row 2016-06-12 17:41:05 +08:00
BreakWa11
51bd3fcea0 fix config.json 2016-06-08 21:18:10 +08:00
BreakWa11
569aaa5248 hot load config
support userapiconfig
2016-06-08 16:15:26 +08:00
BreakWa11
4d43e12139 rename API_HOST 2016-06-03 22:15:59 +08:00
BreakWa11
6932548d8e ulimit -n 512000 2016-06-03 21:18:50 +08:00
BreakWa11
91576d1e08 detect thread status
add API params
2016-06-03 20:56:59 +08:00
BreakWa11
82ffa15a56 add connection stat log 2016-06-01 15:40:28 +08:00
BreakWa11
9eefd27152 add file name and line number in log 2016-05-30 01:39:42 +08:00
BreakWa11
7ccee594d5 catch sys exception & close port 2016-05-29 15:32:22 +08:00
BreakWa11
ce189ecd85 remove useless log
add openssl rand_bytes
2016-05-25 22:21:17 +08:00
BreakWa11
3c64e849b0 log client address 2016-05-24 14:52:38 +08:00
BreakWa11
b3ab5d7c4c show exception peer name 2016-05-24 02:21:00 +08:00
BreakWa11
8b35508b6f show exception peer name 2016-05-23 17:44:01 +08:00
BreakWa11
2e65becc44 fix data size 2016-05-23 17:28:37 +08:00
BreakWa11
c5ca6bd80a optimize DNS query 2016-05-23 17:11:32 +08:00
BreakWa11
979a51318c add http_post 2016-05-22 23:41:03 +08:00
BreakWa11
5dbeac99de more error info about peers 2016-05-21 19:35:45 +08:00
BreakWa11
4e10ff9063 better way to stop a server 2016-05-20 15:49:19 +08:00
BreakWa11
760a5308dd add "udp_timeout" in config.json 2016-05-19 14:14:48 +08:00
BreakWa11
cb866dc8fe set udp_timeout default value 2016-05-19 13:42:52 +08:00
BreakWa11
be922ba7c2 add ignore_bind list 2016-05-18 23:41:30 +08:00
BreakWa11
6906c7db04 rename bind -> out_bind 2016-05-18 22:10:30 +08:00
BreakWa11
f91e04b0bd TCP: bind the IP which connecting in, or set the IP by config file
allow setting method/bind/bindv6 for each port
2016-05-18 21:55:11 +08:00
BreakWa11
7e8472332a xrange -> range 2016-05-18 17:05:45 +08:00
BreakWa11
4a02d19597 add udp_cache 2016-05-17 23:30:00 +08:00
BreakWa11
b71af8f4df log connection info as debug level by default 2016-05-17 23:12:37 +08:00
BreakWa11
b8cf491212 remove mgr 2016-05-17 18:00:17 +08:00
BreakWa11
d47b0d47ea add config "udp_timeout"
drop TCP over UDP query
2016-05-17 17:27:33 +08:00
BreakWa11
4e43a4932d limit active UDP client to 256 2016-05-16 18:20:57 +08:00
BreakWa11
bb916eb705 LRUCache add 'clear' method
refine close
2016-05-16 16:56:10 +08:00
BreakWa11
691aa0970a UDP use only 1 lru cache (_client_fd_to_server_addr set to dict type) 2016-05-16 15:54:58 +08:00