Commit Graph

15 Commits

Author SHA1 Message Date
nadoo
684c17507d ipset: do not create ipset when ipset name is "" 2017-08-28 23:14:02 +08:00
nadoo
e67a0755a2 rule: parse cidr once 2017-08-23 21:11:08 +08:00
nadoo
f687c0b7d0 rule: use new concurrent sync.Map instead of old map 2017-08-23 18:58:24 +08:00
nadoo
cfc8ee9b5e 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
1ca16dac79 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
7b4e07bbe4 rules: add rules-dir folder config support 2017-08-20 21:44:18 +08:00
nadoo
6469d3332e general: optimize codes 2017-08-16 22:37:42 +08:00
nadoo
c3329ac601 dns: add experimental codes to specify different remote dns server in rule file 2017-08-16 13:20:12 +08:00
nadoo
75de6dab38 general: change StringSlice to StringSliceUniq to remove duplicate flag values 2017-08-13 20:25:21 +08:00
nadoo
8cc0ac2ac2 general: use string slice instead of custom arrFlags type. 2017-08-12 12:20:25 +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
6eb29f9874 1. add CIDR rule support; 2. update some docs; 3. optimize rule.go codes. 2017-07-30 10:35:11 +08:00
nadoo
b726d341e3 add proxy rule file support. 2017-07-30 01:54:19 +08:00
nadoo
5e9f0e8858 fixed all known bugs 2017-07-29 18:15:22 +08:00
nadoo
29f5341fa0 add features info in README file. 2017-07-27 01:22:56 +08:00