gVisor bot
e386107a78
chore: resolver read system hosts file
2023-09-23 14:01:18 +08:00
gVisor bot
e88a77202d
chore: resolver priority return TypeA in ResolveIP (not effected LookupIP)
2023-04-12 22:06:21 +08:00
gVisor bot
e604ec6bf8
chore: wireguard dns can work with domain-based server
2023-04-11 14:10:57 +08:00
gVisor bot
020ed8bc96
fix: rand ip error and clash
remove loopback ip
2023-03-12 18:44:30 +08:00
gVisor bot
05f59ea57f
chore: add comment
2023-03-12 15:05:28 +08:00
gVisor bot
e5eab112d0
feta: add hosts support domain and mulitple ip ( #439 )
...
* feat: host support domain and multiple ips
* chore: append local address via `clash`
* chore: update hosts demo
* chore: unified parse mixed string and array
* fix: flatten cname
* chore: adjust logic
* chore: reuse code
* chore: use cname in tunnel
* chore: try use domain mapping when normal dns
* chore: format code
2023-03-12 15:00:59 +08:00
gVisor bot
3d832bc54f
fix: dns resolver
2023-03-06 19:15:12 +08:00
gVisor bot
a5cf2ce0df
chore: use fastrand to replace math/rand
2023-03-06 18:10:14 +08:00
gVisor bot
a4a9886077
Feature: add dns query json api
2023-01-28 00:55:24 +08:00
gVisor bot
a82c88f5aa
fix: resolver's ctx
2022-11-19 10:45:44 +08:00
gVisor bot
d955c2e016
chore: sync dns code
2022-11-12 21:31:07 +08:00
gVisor bot
71ab8298a2
chore: always pass context when resolve dns
2022-11-12 13:18:36 +08:00
gVisor bot
f33ad58ff5
fix: wireguard's dns resolve
2022-11-09 19:35:03 +08:00
gVisor bot
99a1561cd4
chore: trie.DomainTrie will not depend on zero value
2022-11-02 22:28:18 +08:00
gVisor bot
2022605546
feat: add ip-version param
2022-08-28 13:41:43 +08:00
gVisor bot
9201e7a43a
fix: resolver error handling exception
2022-07-21 09:02:58 +08:00
gVisor bot
093525ec17
fix: pure ip resolve
2022-07-20 22:59:04 +08:00
gVisor bot
6143b134e3
fix: resolve ipv4 of 4 in 6
2022-06-17 21:44:06 +08:00
gVisor bot
b0e723f868
refactor: 优化proxy server nameserver, 当节点专用dns全部查询失败会回落到正常逻辑
2022-06-02 20:58:25 +08:00
gVisor bot
40259bea76
fix: npe when with resolver is nil
2022-04-29 13:03:55 +08:00
gVisor bot
532ec82a08
feat: support tcp concurrent, Separate dialing and dns resolver ipv6
...
tcp-concurrent:true
2022-04-23 00:27:22 +08:00
gVisor bot
e2dbbb7cfe
Refactor: metadata use netip.Addr
2022-04-20 22:52:05 +08:00
gVisor bot
a84d76fd04
Improve: replace bootstrap dns ( #2080 )
2022-04-19 22:49:39 +08:00
gVisor bot
caf271a669
Chore: fix typo
2022-04-19 22:38:20 +08:00
gVisor bot
66503d64e3
Chore: persistence fakeip pool state
2022-04-19 22:37:47 +08:00
gVisor bot
89d75e59d1
Refactor: DomainTrie use generics
2022-04-12 18:45:47 +08:00
gVisor bot
ee3f94425e
feat: 添加tls sni 嗅探
...
# Conflicts:
# tunnel/statistic/tracker.go
# tunnel/tunnel.go
2022-03-31 21:27:25 +08:00
gVisor bot
1c4e024030
Chore: revert "Feature: add tls SNI sniffing ( #68 )"
...
This reverts commit 24ce6622a2
.
2022-03-31 21:20:46 +08:00
gVisor bot
016d88e5ea
Feature: add tls SNI sniffing ( #68 )
2022-03-31 19:34:40 +08:00
gVisor bot
67d04485ca
Refactor: MainResolver
2022-03-28 00:44:13 +08:00
gVisor bot
c38ae18a59
Feature: flush fakeip pool
2022-03-23 01:05:43 +08:00
gVisor bot
4893e20c0b
Fix: exclude the broadcast address to fake ip pool
2022-03-15 02:43:40 +08:00
gVisor bot
e5358cd03a
Feature: resolve ip with a proxy adapter
2022-02-23 02:38:50 +08:00
gVisor bot
f7d136f56c
Merge from remote branch
2021-10-28 11:36:11 +08:00
gVisor bot
38c102a93d
Code: refresh code
2021-07-01 22:49:29 +08:00
gVisor bot
7fedfb30f0
Fix: domain dns should follow hosts config, close #1318
2021-04-01 21:20:44 +08:00
gVisor bot
4e68b6cd3d
Fix: don't resolve AAAA record when ipv6 is false and use go dns resolver
2021-04-01 18:03:30 +08:00
gVisor bot
76bab33d01
Fix: missing fake-ip record should return error
2020-10-17 12:52:43 +08:00
gVisor bot
1cd2b8d8fb
Chore: split enhanced mode instance ( #936 )
...
Co-authored-by: Dreamacro <305009791@qq.com>
2020-09-17 10:48:42 +08:00
gVisor bot
216116e128
Change: ipv6 logic
2020-06-18 18:11:02 +08:00
gVisor bot
759b7aa934
Feature: domain trie support wildcard alias
2020-05-28 12:13:05 +08:00
gVisor bot
38e0b9da50
Feature: add default-nameserver and outbound interface
2020-02-15 21:42:46 +08:00