Commit Graph

15 Commits

Author SHA1 Message Date
nadoo
31a6c94d75 udptun: add udp tunnel support 2018-01-12 20:11:21 +08:00
nadoo
ff281721d0 doc: correct a mistake in example config file 2017-12-24 23:13:53 +08:00
nadoo
a0972f535e http: optimized proxy client 2017-12-17 14:46:24 +08:00
nadoo
a79cd87ae8 http: add header ending in http proxy client mode 2017-12-17 11:24:25 +08:00
nadoo
339a27f81f http: Proxy-Authorization header 2017-12-17 01:01:11 +08:00
nadoo
4ac0847ea9 http: add basic auth in client mode 2017-12-17 00:36:53 +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
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
5639151db3 fixed a bug in upstream http proxy. 2017-07-16 20:13:01 +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