Commit Graph

339 Commits

Author SHA1 Message Date
世界
1ebff74c21 Fix DNS cache not working when domain strategy is set
The cache lookup was performed before rule matching, using the caller's
strategy (usually AsIS/0) instead of the resolved strategy. This caused
cache misses when ipv4_only was configured globally but the cache lookup
expected both A and AAAA records.

Remove LookupCache and ExchangeCache from Router, as the cache checks
inside client.Lookup and client.Exchange already handle caching correctly
after rule matching with the proper strategy and transport.
2025-12-21 16:59:10 +08:00
世界
4eb91d69fe Fix DNS cache not working when domain strategy is set
The cache lookup was performed before rule matching, using the caller's
strategy (usually AsIS/0) instead of the resolved strategy. This caused
cache misses when ipv4_only was configured globally but the cache lookup
expected both A and AAAA records.

Remove LookupCache and ExchangeCache from Router, as the cache checks
inside client.Lookup and client.Exchange already handle caching correctly
after rule matching with the proper strategy and transport.
2025-12-21 16:59:10 +08:00
世界
216c4c8bd4 Fix adapter handler 2025-11-16 08:34:46 +08:00
世界
d1b303bf90 Fix adapter handler 2025-11-16 08:34:46 +08:00
Shtorm
650e57feff Resolve conflicts 2025-09-14 23:44:29 +03:00
世界
f352f84483 Fix read address 2025-09-05 15:16:14 +08:00
世界
8507461549 Fix read address 2025-09-05 15:16:14 +08:00
世界
cbf48e9b8c Fix multiple sniff 2025-09-03 20:09:05 +08:00
世界
1edac3cfff Fix multiple sniff 2025-09-03 20:09:05 +08:00
世界
22782ca6fc Fix outbound start 2025-08-21 09:41:31 +08:00
世界
93c0fb6067 Fix outbound start 2025-08-21 09:41:31 +08:00
世界
acda4ce985 Fix bind_interface not working with auto_redirect 2025-08-17 14:48:01 +08:00
世界
2d70ad3562 Fix bind_interface not working with auto_redirect 2025-08-17 14:48:01 +08:00
世界
354ece2bdf Fix resolved service 2025-08-16 00:09:29 +08:00
世界
98a8acf3ce Fix resolved service 2025-08-16 00:09:29 +08:00
Shtorm
b2c1eb1e48 Resolve conflicts 2025-08-15 12:56:52 +03:00
世界
378e39f70c Update golangci-lint to v2 2025-08-13 23:37:40 +08:00
世界
8d5f1ad310 Update golangci-lint to v2 2025-08-13 23:37:40 +08:00
Shtorm
7bd0b48a35 Resolve conflicts 2025-07-13 21:44:23 +03:00
世界
f8f282633b Add SSM API service 2025-07-08 13:14:42 +08:00
世界
0146fbfc40 Add SSM API service 2025-07-08 13:14:42 +08:00
世界
ca912aa72f Add resolved service and DNS server 2025-07-08 13:14:41 +08:00
世界
6ee3117755 Add resolved service and DNS server 2025-07-08 13:14:41 +08:00
世界
873ab4b085 Add service component type 2025-07-08 13:14:41 +08:00
世界
7a1eee78df Add service component type 2025-07-08 13:14:41 +08:00
世界
886f7c8253 Add TLS record fragment support 2025-07-08 13:14:38 +08:00
世界
3b480de38a Add TLS record fragment support 2025-07-08 13:14:38 +08:00
世界
96f078e252 Explicitly reject detour to empty direct outbounds 2025-07-08 13:12:28 +08:00
世界
fb622ccbdf Explicitly reject detour to empty direct outbounds 2025-07-08 13:12:28 +08:00
Alireza Ahmadi
8d36c53e48 Fix Outbound deadlock 2025-07-08 13:12:19 +08:00
Alireza Ahmadi
b4a8fa59f5 Fix Outbound deadlock 2025-07-08 13:12:19 +08:00
世界
a5db391fcf Add certificate store 2025-07-08 13:12:14 +08:00
世界
17576e9f66 Add certificate store 2025-07-08 13:12:14 +08:00
世界
3d55cef5f2 Add TLS fragment support 2025-07-08 13:12:14 +08:00
世界
90ec9c8bcb Add TLS fragment support 2025-07-08 13:12:14 +08:00
世界
2afbe96ea0 refactor: Outbound domain resolver 2025-07-08 13:12:14 +08:00
世界
988ac62a1b refactor: Outbound domain resolver 2025-07-08 13:12:14 +08:00
世界
f75ade1991 refactor: DNS 2025-07-08 13:12:14 +08:00
世界
3016338e34 refactor: DNS 2025-07-08 13:12:14 +08:00
Shtorm
3f97424224 Add tunnel 2025-07-06 18:31:06 +03:00
世界
e19aa69688 Also skip duplicate sniff for TCP 2025-06-21 12:57:27 +08:00
世界
7d3ee29bd0 Also skip duplicate sniff for TCP 2025-06-21 12:57:27 +08:00
Shtorm
3d8c74efa4 refactor: WARP 2025-06-08 19:51:17 +03:00
Shtorm
dfc6fce8bb Added WARP endpoint 2025-06-01 22:06:34 +03:00
Shtorm
756acc77e9 Fix endpoint manager locks 2025-05-29 22:48:15 +03:00
xchacha20-poly1305
7afbd78b09 Fix multiple trackers 2025-04-08 14:16:22 +08:00
xchacha20-poly1305
5eeef6b28e Fix multiple trackers 2025-04-08 14:16:22 +08:00
世界
9de9796f58 Fix processing multiple sniffs 2025-03-16 09:21:54 +08:00
世界
d55d5009c2 Fix processing multiple sniffs 2025-03-16 09:21:54 +08:00
世界
9915503aa3 platform: Add update WIFI state func 2025-02-23 08:35:30 +08:00