Commit Graph

645 Commits

Author SHA1 Message Date
nadoo
4574ab1c1a general: optimize codes 2017-08-16 22:37:42 +08:00
nadoo
5fef071349 dns: add experimental codes to specify different remote dns server in rule file 2017-08-16 13:20:12 +08:00
nadoo
5c0c2e926d doc: fixed link in systemd/README.md 2017-08-14 00:02:05 +08:00
nadoo
b29d972adc dnstun: add the ability to support both udp and tcp dns request 2017-08-13 23:51:08 +08:00
nadoo
1a14762d84 general: change StringSlice to StringSliceUniq to remove duplicate flag values 2017-08-13 20:25:21 +08:00
nadoo
ed788fd1c7 general: use string slice instead of custom arrFlags type. 2017-08-12 12:20:25 +08:00
nadoo
085e6ba040 change version 2017-08-08 09:49:32 +08:00
nadoo
7a919ed124 dnstun: remove last dot in getDomain func 2017-08-07 15:06:26 +08:00
nadoo
8cb0672df0 doc: update 2017-08-01 20:58:34 +08:00
nadoo
f8f6308e92 strategy: fixed a bug in haproxy which actually act as a rrproxy. 2017-07-31 19:29:43 +08:00
nadoo
b3b06cbfa5 README: change checkhost -> checkwebsite 2017-07-31 14:07:47 +08:00
nadoo
a06d56cce0 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
8527d48190 remove addr in redir proxy which is not needed. 2017-07-30 13:37:33 +08:00
nadoo
83df90b8b2 fixed a bug in redir proxy. 2017-07-30 13:33:50 +08:00
nadoo
aa67e5df41 fixed a mistake in config example 2017-07-30 13:04:57 +08:00
nadoo
76fbaf2cec return strategy proxy if no rule file specified. 2017-07-30 12:38:41 +08:00
nadoo
88c8eeff35 fixed a bug in redir proxy. 2017-07-30 12:03:19 +08:00
nadoo
16ed700fd1 add config examples link in README file 2017-07-30 11:53:16 +08:00
nadoo
cfce89e795 add some example configs 2017-07-30 11:44:34 +08:00
nadoo
d9bfd95216 add TODO list in README file. 2017-07-30 10:57:24 +08:00
nadoo
3d8c976bd0 1. add CIDR rule support; 2. update some docs; 3. optimize rule.go codes. 2017-07-30 10:35:11 +08:00
nadoo
4dd429b754 add proxy rule file support. 2017-07-30 01:54:19 +08:00
nadoo
bf692de636 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
88dda17725 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
1ba0f38c9e fixed all known bugs 2017-07-29 18:15:22 +08:00
nadoo
f6941b98d8 add features info in README file. 2017-07-27 01:22:56 +08:00
nadoo
0dc3ea651f parse domain in dns request playload. (prepare for the forward rule and ipset management features.) 2017-07-26 18:56:24 +08:00
nadoo
ded69cbb16 update systemd README file 2017-07-24 17:22:13 +08:00
nadoo
772eef1563 add systemd service file. 2017-07-24 17:16:40 +08:00
nadoo
f5052770c0 update doc 2017-07-23 01:57:05 +08:00
nadoo
92d99d923c added more info to config example 2017-07-23 01:46:06 +08:00
nadoo
a604f645f6 added install info for ArchLinux 2017-07-21 18:58:51 +08:00
nadoo
cc6f121764 update README: add "PermissionsStartOnly=true" in service file. 2017-07-18 22:16:30 +08:00
nadoo
97944e44e6 update readme file. 2017-07-18 19:45:35 +08:00
nadoo
e4ce0edc39 add config file support. 2017-07-18 19:25:54 +08:00
nadoo
e27e482272 Revert "add simple config file support."
This reverts commit e9ef64bf6745494d0a33560de6226f371d63c9be.
2017-07-18 19:01:42 +08:00
nadoo
cacde72e04 add simple config file support. 2017-07-18 17:49:44 +08:00
nadoo
0c5950e9e8 fixed a bug in upstream http proxy. 2017-07-16 20:13:01 +08:00
nadoo
0d01e8a4eb 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
1f13a8d1e8 fixed a bug in ha mode 2017-07-15 10:41:52 +08:00
nadoo
c79a9ee36d 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
4772bfb7c6 remove some feature help msg which haven't been implemented yet. 2017-07-14 16:49:21 +08:00
nadoo
76afdacf13 add links in README.md 2017-07-14 11:20:02 +08:00
nadoo
668d5bc470 first commit 2017-07-13 21:55:41 +08:00
nadoo
78b7f8ead8 Initial commit 2017-07-13 21:53:15 +08:00