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
c348b6ae70
chore: better dns log
2023-01-28 22:33:03 +08:00
gVisor bot
71ab8298a2
chore: always pass context when resolve dns
2022-11-12 13:18:36 +08:00
gVisor bot
99a1561cd4
chore: trie.DomainTrie will not depend on zero value
2022-11-02 22:28:18 +08:00
gVisor bot
1b9a952510
fix: leak dns when domain in hosts list
2022-06-10 14:29:19 +08:00
gVisor bot
4a828089b4
chore: debug log print dns result
2022-05-17 18:21:18 +08:00
gVisor bot
e2dbbb7cfe
Refactor: metadata use netip.Addr
2022-04-20 22:52:05 +08:00
gVisor bot
915f40e71b
Chore: IpToAddr
2022-04-20 22:09:16 +08:00
gVisor bot
bc33cd5630
Refactor: fakeip pool use netip.Prefix, supports ipv6 range
2022-04-12 20:32:08 +08:00
gVisor bot
950e638222
Chore: fix typos
2022-04-12 19:08:13 +08:00
gVisor bot
89d75e59d1
Refactor: DomainTrie use generics
2022-04-12 18:45:47 +08:00
gVisor bot
b1cf4dc1a2
Refactor: lrucache use generics
2022-04-12 18:44:07 +08:00
gVisor bot
e69c54cfcd
[test]
2021-11-17 16:03:47 +08:00
gVisor bot
a40706ba21
Fix: unexpected proxy dial behavior on mapping mode
2021-10-18 21:08:27 +08:00
gVisor bot
d7e31932c7
Feature: persistence fakeip ( #1662 )
2021-10-11 20:48:58 +08:00
gVisor bot
653f2de2c0
Style: use gofumpt for fmt
2021-10-10 23:44:09 +08:00
gVisor bot
be5a2a9adf
Refactor: make inbound request contextual
2021-01-23 14:58:09 +08:00
gVisor bot
1752566405
Chore: return empty record in SVCB/HTTPSSVC on fake-ip mode
2020-10-13 00:15:49 +08:00
gVisor bot
0da177c3af
Fix: the priority of fake-ip-filter
2020-10-09 00:04:24 +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
6ca03f5a90
Chore: pass staticcheck
2020-08-25 22:19:59 +08:00
gVisor bot
b61e1cd00c
Feature: dns server could lookup hosts ( #872 )
2020-08-11 10:28:17 +08:00
gVisor bot
216116e128
Change: ipv6 logic
2020-06-18 18:11:02 +08:00
gVisor bot
3a7ad5d47d
Fix: dns return empty success for AAAA & recursion in fake ip mode ( #663 )
2020-04-29 11:21:37 +08:00
gVisor bot
8c463cee00
Fix: use the fastest whether the result is successful
2020-02-14 16:36:20 +08:00
gVisor bot
95f06ab9b9
Improve: UDP relay refactor ( #441 )
...
Co-authored-by: Dreamacro <Dreamacro@vip.qq.com>
2019-12-28 18:44:01 +08:00
gVisor bot
7c17184745
Feature: add fake-ip-filter
2019-12-28 00:10:06 +08:00
gVisor bot
2c795b82ec
Fix(fake-ip): return failed when type is AAAA
2019-09-21 10:30:43 +08:00
gVisor bot
4994510c87
Feature: move hosts to the top
2019-09-14 20:01:08 +08:00
gVisor bot
24bd2afbd8
Improve(fakeip): use lru cache to avoid outdate
2019-07-26 19:09:13 +08:00
gVisor bot
f0a5ff76a6
Fix(dns): miss response
2019-07-15 17:44:55 +08:00
gVisor bot
a446a24be9
Fix(dns): Incorrect variable name
2019-07-14 23:16:52 +08:00
gVisor bot
ce94ed8802
Feature(dns): support custom hosts
2019-07-14 19:29:58 +08:00