Commit Graph

451 Commits

Author SHA1 Message Date
nadoo
2813e80a98 http: fix #76 2018-11-21 20:28:46 +08:00
nadoo
266578d67d
Merge pull request #71 from changx/master
add tls:// transport layer for listeners
2018-10-29 23:02:07 +08:00
changx
88e33cab7e downgrade to tls12 2018-10-29 16:26:37 +08:00
changx
e27601f648 listener with tls transport layer 2018-10-29 16:18:51 +08:00
nadoo
14b072832d dns: SetDeadline for all remote connection 2018-10-20 21:24:11 +08:00
changx
5383ac4fc0 tls listener 2018-10-14 13:56:04 +08:00
nadoo
515a5dffa5 redir: fixed a typo 2018-09-17 19:22:36 +08:00
nadoo
15b98359b1 http: fixed a compatibility issue with some http proxy server. #62 2018-09-17 19:16:17 +08:00
nadoo
70a88f4789 redir: added redir6 proxy 2018-09-04 20:26:40 +08:00
nadoo
4e5ee78df9 ss, socks5: print udp log only when a nat map is created 2018-09-02 22:30:41 +08:00
nadoo
eae5bf118d general: add vendor folder 2018-09-02 22:16:24 +08:00
nadoo
3c8a451d94 ss: added chacha20 and xchacha20-ietf-poly1305 support. #21 #30 2018-09-02 19:18:51 +08:00
nadoo
7367e41cd1 dns: correct a length mistake 2018-09-02 00:16:16 +08:00
nadoo
1b4489cd67 dns: return error when there's not enough length for rdata. #55 2018-09-01 23:44:47 +08:00
nadoo
981d226bd1 strategy: display forwarder's addr instead of struct value. 2018-08-31 00:16:26 +08:00
nadoo
140ed9d8eb conf: support relative path of rulefile in systemd service. #52 2018-08-30 07:36:46 +08:00
nadoo
0170fd7c98 direct: avoid panic when an interface link is down 2018-08-30 07:35:37 +08:00
nadoo
1c2ad64000 strategy: when no forwarders, available set priority to 0 2018-08-29 23:54:00 +08:00
nadoo
ac94540ab8 general: update some doc or comment for new features. 2018-08-27 19:38:42 +08:00
nadoo
20616dfd10 doc: add info for dnsalwaystcp 2018-08-27 00:01:09 +08:00
nadoo
529786acf6 dns: add dnsalwaystcp config. #49 2018-08-26 22:36:14 +08:00
nadoo
2f239d60f1 doc: add info for dh mode 2018-08-26 01:43:28 +08:00
nadoo
035e15df5c strategy: optimized code 2018-08-26 01:25:22 +08:00
nadoo
bec2c1fd63 strategy: add the ability to handle forwarder status change events 2018-08-25 23:56:18 +08:00
nadoo
eb0b17bea1 strategy: add experimental dh: destination hashing mode 2018-08-24 18:45:57 +08:00
nadoo
104e51ae3c strategy: removed unnecessary funcs 2018-08-24 01:15:56 +08:00
nadoo
4f69372656 ha: change dialer when there's a forwarder enabled with higher priority 2018-08-24 00:57:55 +08:00
nadoo
b9017ff70a strategy: avoid data race 2018-08-23 00:01:31 +08:00
nadoo
0d1c4c5a47 direct: remove link-local ip from IFaceIPs func 2018-08-22 00:11:31 +08:00
nadoo
1d5ef167ec doc: add info for setting interface 2018-08-21 07:57:21 +08:00
nadoo
8daa7784b0 general: add global setting interface 2018-08-20 22:23:00 +08:00
nadoo
edd5964a1e direct: optimized local ip logic 2018-08-20 00:17:16 +08:00
nadoo
c9e9ebd287 forwarder: support curl like interface parameter 2018-08-19 01:49:52 +08:00
nadoo
c21a7d8c4d forawrder: change localip to interface 2018-08-18 23:59:21 +08:00
nadoo
59e7b17200 doc: add local ip info for forwarder 2018-08-17 23:53:27 +08:00
nadoo
88ff8997b5 strategy: avoid returning nil dialer in lha.nextDialer 2018-08-16 00:01:59 +08:00
nadoo
39ccbc5adf forwarder: add the ability to specify local ip. #48 2018-08-15 00:54:17 +08:00
nadoo
205b4efac7 dns: use Direct dialer when dialer's domain equals to the query domain 2018-08-14 22:32:55 +08:00
nadoo
fbb78d50d4 strategy: keep default priority as 0 to check all fwders at start time 2018-08-14 20:01:43 +08:00
nadoo
4967f0bd36 doc: add info for forwarder option: priority 2018-08-14 19:52:32 +08:00
nadoo
e82ea75cba strategy: experimental latency based high availability mode supported 2018-08-14 19:33:18 +08:00
nadoo
f4eab4d1b2 ipset: move to separate package 2018-08-13 00:42:59 +08:00
nadoo
978029bd2b rule: move to separate package 2018-08-12 22:24:49 +08:00
nadoo
3a8af82f87 conf: use dns.Config instead of multiple variables 2018-08-12 22:07:19 +08:00
nadoo
e0c07146dc strategy: do not check forwarders whose priority less than current value 2018-08-12 22:00:12 +08:00
nadoo
b5b7f2998b forwarder: set status to disabled when dialing fails MaxFailures times 2018-08-12 21:40:22 +08:00
nadoo
e1c318990b strategy: support priority now (need to check) 2018-08-12 18:50:44 +08:00
nadoo
a46ab20901 forwarder: add the ability to get parameters like 'priority' 2018-08-12 12:37:25 +08:00
nadoo
e3888a6bd3 strategy: moved to a separate package 2018-08-11 11:46:10 +08:00
nadoo
0da05ecedd general: add a forwarder struct and changed proxies to use it 2018-08-10 19:03:30 +08:00