Commit Graph

124 Commits

Author SHA1 Message Date
nadoo
3e970bfdaa doc: update README file 2017-09-03 01:05:56 +08:00
nadoo
3167df5bb6 Merge pull request #9 from soffchen/patch-1
Update office.list.example
2017-09-03 00:53:37 +08:00
Soff
8a4b48632d Update office.list.example
'cidr=' duplicated
2017-09-02 21:37:51 +08:00
nadoo
35dc609429 doc: update README files 2017-08-31 11:45:01 +08:00
nadoo
5296ebb825 examples: update doc for "9. Transparent Proxy without dnsmasq" 2017-08-31 11:30:27 +08:00
nadoo
04a2ddeb63 examples: add 9. Transparent Proxy without dnsmasq 2017-08-31 11:03:34 +08:00
nadoo
3127a501dc examples: add link in README file 2017-08-31 01:23:26 +08:00
nadoo
abef0aa99f examples: add example 7. Transparent Proxy with dnsmasq 2017-08-31 01:19:49 +08:00
nadoo
ee54f5cbcc config: add new settings in examples for ver 0.4 2017-08-31 00:53:24 +08:00
nadoo
f5629189ad doc: update documents for ver0.4 2017-08-31 00:08:22 +08:00
nadoo
4376565e6c ipset: 1. ipset flush; 2. ipset in main config 2017-08-29 18:36:42 +08:00
nadoo
8951d1b442 examples: add order number 2017-08-29 10:05:06 +08:00
nadoo
3612700c0f systemd: add CAP_NET_ADMIN capability for ipset 2017-08-28 23:14:52 +08:00
nadoo
684c17507d ipset: do not create ipset when ipset name is "" 2017-08-28 23:14:02 +08:00
nadoo
ac1976d5d7 ipset: add ipset management. REQUIRE CAP_NET_ADMIN capability. 2017-08-28 19:23:32 +08:00
nadoo
f5eeae91a5 conf: support relative path in "rules-dir" config 2017-08-25 20:32:51 +08:00
nadoo
867bafaa78 systemd: add CapabilityBoundingSet settings in service file so that glider can listen on port below 1024 with none-root user 2017-08-24 11:58:32 +08:00
nadoo
11df26061b README: update TODO list 2017-08-23 23:04:03 +08:00
nadoo
f76c83b6d4 README: add go version info 2017-08-23 21:19:09 +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
a902152ef1 log: add LogFunc so we can define a custom logger 2017-08-23 18:04:20 +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
825dea4f65 dns: add the ability to get resloved ip address of domain. (so we can add ip address to ipset later) 2017-08-21 23:57:49 +08:00
nadoo
375e8f9f65 README: fixed rule file link 2017-08-20 21:51:54 +08:00
nadoo
ecacbe7142 rules: add rules.d folder 2017-08-20 21:49:21 +08:00
nadoo
7b4e07bbe4 rules: add rules-dir folder config support 2017-08-20 21:44:18 +08:00
nadoo
503a5c5503 redir: fixed a compile error on linux 2017-08-17 20:26:46 +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
8831c37e57 doc: fixed link in systemd/README.md 2017-08-14 00:02:05 +08:00
nadoo
639aa2f093 dnstun: add the ability to support both udp and tcp dns request 2017-08-13 23:51:08 +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
505fb5e504 change version 2017-08-08 09:49:32 +08:00
nadoo
de229c1a7d dnstun: remove last dot in getDomain func 2017-08-07 15:06:26 +08:00
nadoo
b41679a1f3 doc: update 2017-08-01 20:58:34 +08:00
nadoo
071ed4ae62 strategy: fixed a bug in haproxy which actually act as a rrproxy. 2017-07-31 19:29:43 +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
eb9e2fd4e5 remove addr in redir proxy which is not needed. 2017-07-30 13:37:33 +08:00
nadoo
cf837b5b40 fixed a bug in redir proxy. 2017-07-30 13:33:50 +08:00
nadoo
6886d74313 fixed a mistake in config example 2017-07-30 13:04:57 +08:00
nadoo
76285aec17 return strategy proxy if no rule file specified. 2017-07-30 12:38:41 +08:00
nadoo
00f51a55b3 fixed a bug in redir proxy. 2017-07-30 12:03:19 +08:00
nadoo
4d5e0e4330 add config examples link in README file 2017-07-30 11:53:16 +08:00
nadoo
c8ae638fcc add some example configs 2017-07-30 11:44:34 +08:00
nadoo
f691306853 add TODO list in README file. 2017-07-30 10:57:24 +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