Commit Graph

27 Commits

Author SHA1 Message Date
nadoo
a25cc5cfe3 doc: update ssr info 2018-05-20 16:59:48 +08:00
nadoo
d406a8edde ssr: add ssr support 2018-05-17 00:04:09 +08:00
nadoo
6cf3070d7d general: change NextDialer func 2018-03-24 22:37:22 +08:00
nadoo
e76998f44b general: combine cdialer and sdialer 2018-03-24 19:57:46 +08:00
nadoo
6b4d2582ca socks5: support udp in server mode 2018-01-20 22:13:04 +08:00
nadoo
31930f2955 udptun: add DialUDP to forwarders 2018-01-17 00:26:38 +08:00
nadoo
12f15be1dc http: add param xsi for "X-Server-IP" header 2018-01-16 10:39:40 +08:00
nadoo
7e9e737922 http: add 'X-Forwarded-For' in response header 2018-01-14 21:16:54 +08:00
nadoo
c51cc70b0b udptun: use net.Conn instead of net.PacketConn 2018-01-14 20:37:38 +08:00
nadoo
045531d68d http: fixed a bug in reqHeader.Get 2018-01-13 14:36:13 +08:00
nadoo
21935fc6b9 conn: change OutboundIP to return string 2018-01-13 14:34:49 +08:00
nadoo
950ed2b426 http: add param to send 'X-Forwarded-For' header. #18 2018-01-13 14:25:55 +08:00
nadoo
824c9b3788 udptun: add udp tunnel support 2018-01-12 20:11:21 +08:00
nadoo
13bc2d4a2e doc: correct a mistake in example config file 2017-12-24 23:13:53 +08:00
nadoo
a045e54504 http: optimized proxy client 2017-12-17 14:46:24 +08:00
nadoo
3b73599b7b http: add header ending in http proxy client mode 2017-12-17 11:24:25 +08:00
nadoo
1889de7f7f http: Proxy-Authorization header 2017-12-17 01:01:11 +08:00
nadoo
632f45448b http: add basic auth in client mode 2017-12-17 00:36:53 +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
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
0c5950e9e8 fixed a bug in upstream http proxy. 2017-07-16 20:13:01 +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