Commit Graph

14 Commits

Author SHA1 Message Date
nadoo
639aa2f093 dnstun: add the ability to support both udp and tcp dns request 2017-08-13 23:51:08 +08:00
nadoo
de229c1a7d dnstun: remove last dot in getDomain func 2017-08-07 15:06:26 +08:00
nadoo
71ac9500c7 README: change checkhost -> checkwebsite 2017-07-31 14:07:47 +08:00
nadoo
4219c4a7fa proxy chek: 1. improve check method: send a http get request and check the response, if the first 4 byte is "HTTP" then the proxy is avaliable. 2. if a proxy is disabled, increase the check duration. 3. update related docs. 2017-07-31 13:42:11 +08:00
nadoo
b726d341e3 add proxy rule file support. 2017-07-30 01:54:19 +08:00
nadoo
dfb25665c7 change "func GetProxy() Proxy" to "GetProxy(dstAddr string) Proxy" so we could add rule based proxy later 2017-07-29 23:20:27 +08:00
nadoo
23f314889e 1. optimized strategy proxy code. 2. changed config name "checkhost" -> "checkwebsite" 3. optimized proxy check function. 2017-07-29 21:31:01 +08:00
nadoo
c2cbb24fc6 add config file support. 2017-07-18 19:25:54 +08:00
nadoo
bf5f2f213a Revert "add simple config file support."
This reverts commit e9ef64bf6745494d0a33560de6226f371d63c9be.
2017-07-18 19:01:42 +08:00
nadoo
98ec7e8f33 add simple config file support. 2017-07-18 17:49:44 +08:00
nadoo
a3830d9bf6 fixed a bug in strategy.go which may leads to infinite recursion in the condition of all remote proxy disabled. 2017-07-16 12:16:50 +08:00
nadoo
1c7cc11232 fixed a bug in ha mode 2017-07-15 10:41:52 +08:00
nadoo
a3189c3e23 fixed a bug in proxy check which may leads to socket error: too many open files. 2017-07-14 20:52:49 +08:00
nadoo
c50c9d0134 first commit 2017-07-13 21:55:41 +08:00