Commit Graph

14 Commits

Author SHA1 Message Date
nadoo
050489806c dns: add tcp support 2018-01-08 22:28:11 +08:00
nadoo
7ba0773fd7 general: add some comments to functions 2017-09-10 20:33:35 +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
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
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
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
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
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
668d5bc470 first commit 2017-07-13 21:55:41 +08:00