Commit Graph

15 Commits

Author SHA1 Message Date
nadoo
d2d49e7d2e dns: add a parameter in dns struct to identify tunnel 2018-01-08 23:37:58 +08:00
nadoo
238702f159 dns: add tcp support 2018-01-08 22:28:11 +08:00
nadoo
4bd8bae2a5 general: add some comments to functions 2017-09-10 20:33:35 +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
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
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
dfb25665c7 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
23f314889e 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
dd07c527b0 parse domain in dns request playload. (prepare for the forward rule and ipset management features.) 2017-07-26 18:56:24 +08:00
nadoo
a3830d9bf6 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
c50c9d0134 first commit 2017-07-13 21:55:41 +08:00