Commit Graph

13 Commits

Author SHA1 Message Date
nadoo
1b400d984e rule: use new concurrent sync.Map instead of old map 2017-08-23 18:58:24 +08:00
nadoo
cba2f36b08 forwarder: add NextDialer method so we can choose dialer by domain name (not dns server) in dns proxy 2017-08-23 17:45:57 +08:00
nadoo
652d49182a 1. general: restructured codes;
2. rule: add dnsserver to ip rule map;
3. dns: add DNSAnswerHandler so we can define a custom handler when a domain resolved
2017-08-23 16:35:39 +08:00
nadoo
989d3c9787 rules: add rules-dir folder config support 2017-08-20 21:44:18 +08:00
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
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
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
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
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