399 Commits
Author SHA1 Message Date
世界 ac427b98f4 platform: Add UsePlatformWIFIMonitor to gRPC interface
Align dev-next-grpc with wip2 by adding UsePlatformWIFIMonitor()
to the new PlatformInterface, allowing platform clients to indicate
they handle WIFI monitoring themselves.
2026-01-17 05:47:32 +08:00
世界 869efaad58 platform: Add UsePlatformWIFIMonitor to gRPC interface
Align dev-next-grpc with wip2 by adding UsePlatformWIFIMonitor()
to the new PlatformInterface, allowing platform clients to indicate
they handle WIFI monitoring themselves.
2026-01-17 05:47:32 +08:00
世界 5bc0dfa9dd platform: Refactoring libbox to use gRPC-based protocol 2026-01-17 05:47:32 +08:00
世界 0b6fe45fb9 platform: Refactoring libbox to use gRPC-based protocol 2026-01-17 05:47:32 +08:00
世界 8d8ca282a1 Add Linux WI-FI state support
Support monitoring WIFI state on Linux through:
- NetworkManager (D-Bus)
- IWD (D-Bus)
- wpa_supplicant (control socket)
- ConnMan (D-Bus)
2026-01-17 05:47:04 +08:00
世界 701b82279d Add Linux WI-FI state support
Support monitoring WIFI state on Linux through:
- NetworkManager (D-Bus)
- IWD (D-Bus)
- wpa_supplicant (control socket)
- ConnMan (D-Bus)
2026-01-17 05:47:04 +08:00
世界 f84129ca79 Add proxy support for ICMP echo request 2026-01-17 05:44:41 +08:00
世界 e2ba72e7c1 Add proxy support for ICMP echo request 2026-01-17 05:44:41 +08:00
世界 239e6ec701 Add preferred_by route rule item 2026-01-17 05:44:27 +08:00
世界 5c8b07acfe Add preferred_by route rule item 2026-01-17 05:44:27 +08:00
世界 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 Ahmadiand世界 8d36c53e48 Fix Outbound deadlock 2025-07-08 13:12:19 +08:00
Alireza Ahmadiand世界 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