nadoo
|
dadaf35cb2
|
unix: add unix domain socket support. #59
|
2018-11-25 17:56:59 +08:00 |
|
nadoo
|
25c9721b00
|
tls: optimized code
|
2018-11-25 15:41:47 +08:00 |
|
nadoo
|
d37c2e2a35
|
server: changed interface definition and implementation
|
2018-11-25 13:18:15 +08:00 |
|
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 |
|
nadoo
|
14b072832d
|
dns: SetDeadline for all remote connection
|
2018-10-20 21:24:11 +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 |
|
nadoo
|
2fcef7b00c
|
ws: fixed a bug when ws used as a middle layer protocol(tls,ws,vmess)
|
2018-08-08 00:03:32 +08:00 |
|
nadoo
|
a26e437b5d
|
dns: add settings dnstimeout/dnsmaxttl/dnsminttl
|
2018-08-07 19:43:52 +08:00 |
|
nadoo
|
6744f1ad25
|
dns: correct setdeadline
|
2018-08-06 08:48:13 +08:00 |
|
nadoo
|
7274dcf622
|
dns: set timout only when multiple upstream dns servers set
|
2018-08-06 08:41:54 +08:00 |
|
nadoo
|
9c73e969ca
|
dns: return correct err in exchange
|
2018-08-06 08:13:23 +08:00 |
|
nadoo
|
b27f153426
|
dns: check bytes length in unmarshal message
|
2018-08-06 08:03:07 +08:00 |
|
nadoo
|
5467e4bbc1
|
dns: add some comments
|
2018-08-06 00:46:07 +08:00 |
|
nadoo
|
09b6d59394
|
dns: support multiple upstream servers
|
2018-08-05 23:41:34 +08:00 |
|
nadoo
|
2cba536ab4
|
ipset: do not insert to ipset when forwarder is Direct
|
2018-08-04 16:39:53 +08:00 |
|
nadoo
|
1f8a3cdf53
|
general: remove unnecessary SetKeepAlive
|
2018-08-03 19:27:47 +08:00 |
|
nadoo
|
6cdfbc3552
|
dns: change non-expired ttl to 50years to avoid int overflow on 32bit os
|
2018-08-02 13:28:01 +08:00 |
|
nadoo
|
c049b75b64
|
systemd: add introduction for systemd file open limit
|
2018-08-02 13:16:05 +08:00 |
|
nadoo
|
73a778f5e1
|
common: remove unnecessary logs
|
2018-08-02 13:02:04 +08:00 |
|
nadoo
|
9acaff5b4a
|
dns: query in udp when client requests in udp and no forwarder specified
|
2018-08-02 00:11:22 +08:00 |
|
nadoo
|
8d20331096
|
doc: update README file format
|
2018-08-01 00:47:43 +08:00 |
|
nadoo
|
04c6f74343
|
doc: update for custom dnsrecord
|
2018-08-01 00:36:11 +08:00 |
|
nadoo
|
a226637bfb
|
dns: 1. support cache; 2. support custom records; #35
|
2018-08-01 00:09:55 +08:00 |
|
nadoo
|
a2a67df771
|
http: keep proxy-connection when connect to upstream http proxy. #42
|
2018-07-31 20:25:39 +08:00 |
|
nadoo
|
4781e7b472
|
dns: add tcp server support
|
2018-07-31 00:03:36 +08:00 |
|
nadoo
|
41ddbb1168
|
dns: fixed a bug in compressed domain offset calculation
|
2018-07-30 10:31:02 +08:00 |
|
nadoo
|
40f3315007
|
dnstun: remove dustun proxy, use dns and dnsserver settings instead
|
2018-07-30 01:13:44 +08:00 |
|
nadoo
|
f6a578f849
|
dns: changed UnmarshalMessage to return *Messaeg
|
2018-07-30 01:05:08 +08:00 |
|
nadoo
|
5e32133eb9
|
dns: fixed a bug in UnmarshalRR
|
2018-07-30 00:18:10 +08:00 |
|
nadoo
|
d5e3ea539a
|
dns: rewrite codes
|
2018-07-29 23:44:23 +08:00 |
|
nadoo
|
7dc21908d5
|
Merge pull request #40 from soffchen/master
remove 'cidr=' duplicated
|
2018-07-27 20:34:13 +08:00 |
|
nadoo
|
b2a4039c1d
|
Merge pull request #39 from soffchen/patch-4
Absolute path support for rules-dir config
|
2018-07-26 22:17:03 +08:00 |
|
nadoo
|
21923af1cd
|
doc: update some descriptions
|
2018-07-25 08:23:58 +08:00 |
|
nadoo
|
49021f167c
|
doc: update help msg for ws
|
2018-07-24 00:54:38 +08:00 |
|
nadoo
|
88eee75aa7
|
ws: add support for security key check
|
2018-07-24 00:45:41 +08:00 |
|
nadoo
|
68d8fb8b60
|
ws: fixed a bug in frame reader
|
2018-07-23 01:41:18 +08:00 |
|
nadoo
|
cdabe41e34
|
Merge pull request #37 from soffchen/patch-3
doc: Update README.md
|
2018-07-22 22:18:37 +08:00 |
|
nadoo
|
f9b16d9417
|
Merge pull request #36 from soffchen/patch-2
doc: Update glider.conf
|
2018-07-22 22:16:21 +08:00 |
|
nadoo
|
068e4df8fc
|
doc: add some info for websocket
|
2018-07-22 20:02:50 +08:00 |
|
nadoo
|
bb45b671c0
|
general: add dev_linux conditional build codes
|
2018-07-22 18:54:18 +08:00 |
|
nadoo
|
ff1fb8c291
|
ws: fixed bug in ws codes and now it worked
|
2018-07-22 18:21:27 +08:00 |
|
nadoo
|
9856f943ad
|
ws: add experimental websocket codes
|
2018-07-21 22:56:37 +08:00 |
|
nadoo
|
9d42885922
|
pprof: add pprof conditional compilation
|
2018-07-17 22:14:12 +08:00 |
|
nadoo
|
c8c4d5c75c
|
doc: drop support for go1.9
|
2018-07-16 15:08:43 +08:00 |
|
nadoo
|
e0f746fa3d
|
vmess: set rand.Seed only 1 time in NewClient
|
2018-07-14 12:18:52 +08:00 |
|
nadoo
|
7a7b25f173
|
doc: update for vmess security settings
|
2018-07-12 11:22:21 +08:00 |
|
nadoo
|
49482bf054
|
vmess: add rand.Seed to avoid same sequence values of rand.Read
|
2018-07-12 10:58:48 +08:00 |
|
nadoo
|
3c3cb8e3fd
|
doc: update for vmess and tls
|
2018-07-11 08:34:15 +08:00 |
|
nadoo
|
ed18e8602d
|
vmess: chacha20-poly1305 supported
|
2018-07-11 08:23:26 +08:00 |
|
nadoo
|
5ebbf7ffe8
|
vmess: fixed bug in aes-128-gcm
|
2018-07-11 00:50:38 +08:00 |
|
nadoo
|
d84f540c4d
|
vmess: add aead chpher
|
2018-07-11 00:26:05 +08:00 |
|
nadoo
|
dc46705f3f
|
vmess: fixed a bug in chunked writer
|
2018-07-10 09:44:51 +08:00 |
|
nadoo
|
fd298207c5
|
vmess: update chunk codes
|
2018-07-10 00:53:15 +08:00 |
|
nadoo
|
b465dc1444
|
vmess: support chunk stream
|
2018-07-09 23:42:33 +08:00 |
|
nadoo
|
e866062a8c
|
rule: change log fmt
|
2018-07-08 23:22:01 +08:00 |
|
nadoo
|
3c766d0b68
|
general: add vendor folder
|
2018-07-07 11:07:38 +08:00 |
|