Commit Graph

90 Commits

Author SHA1 Message Date
世界 2392b176e2 Fix start lifecycle 2026-07-16 00:38:31 +08:00
世界 e34b57c3b0 boxdd: Add insecure mode 2026-07-16 00:38:31 +08:00
世界 792f2007ac Add netns and unshare support 2026-07-11 08:42:52 +08:00
世界 8c38d742d0 certificate: Replace platform bridge with CGO JNI 2026-07-09 11:20:08 +08:00
世界 22650b3020 Fix group status updates broken by API service
The URL test history update hook and the Clash mode update hook were
single-slot: the API service's attached service overwrote the hook set
by the daemon, so clients stopped receiving group updates. Replace both
with multicast hook lists.

Also share a single URL test history storage via context: Clash API
looked it up under a key nobody registered and fell back to its own
empty storage, so dashboards showed no delay once an API service was
configured. Selector changes now notify through the shared storage,
covering selections made from any API surface.
2026-07-09 11:20:05 +08:00
世界 a485967957 Add sing-box API service 2026-07-09 11:20:03 +08:00
世界 c1da99eede Refactor: HTTP clients, unified HTTP2/QUIC options, Apple engines 2026-07-09 11:19:07 +08:00
世界 c8101bf1b7 Add optimistic DNS cache 2026-07-09 11:17:55 +08:00
世界 323ed11d6f Revert "Also enable certificate store by default on Apple platforms"
This reverts commit 62cb06c02f.
2026-07-09 11:17:50 +08:00
nekohasekai daff1623b2 Add evaluate DNS rule action and related rule items 2026-07-09 11:17:47 +08:00
世界 a3b98fc902 Also enable certificate store by default on Apple platforms
`SecTrustEvaluateWithError` is serial
2026-07-09 11:17:47 +08:00
nekohasekai bbb8051c83 Refactor ACME support to certificate provider 2026-07-09 11:16:44 +08:00
世界 83d3a6d4e1 Hide lifecycle logs for fast operations 2026-04-21 17:15:16 +08:00
世界 60dd7ea5c9 Simplify lifecycle logs 2026-04-20 09:49:39 +08:00
世界 55ec8abf17 Fix local DNS server for Android 2026-04-10 14:08:57 +08:00
世界 cf4791f1ad platform: Improve iOS OOM killer 2026-02-26 14:13:32 +08:00
世界 faff3174a3 Add trace logging for lifecycle calls
Log start/close operations with timing information for debugging.
2026-01-17 05:47:54 +08:00
世界 5bc0dfa9dd 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
世界 48f84b31d6 Improve local DNS server on darwin
We mistakenly believed that `libresolv`'s `search` function worked correctly in NetworkExtension, but it seems only `getaddrinfo` does.

This commit changes the behavior of the `local` DNS server in NetworkExtension to prefer DHCP, falling back to `getaddrinfo` if DHCP servers are unavailable.

It's worth noting that `prefer_go` does not disable DHCP since it respects Dial Fields, but `getaddrinfo` does the opposite. The new behavior only applies to NetworkExtension, not to all scenarios (primarily command-line binaries) as it did previously.

In addition, this commit also improves the DHCP DNS server to use the same robust query logic as `local`.
2026-01-17 05:44:28 +08:00
世界 354ece2bdf Fix resolved service 2025-08-16 00:09:29 +08:00
世界 756585fb2a Fix service will not be closed 2025-07-08 13:14:44 +08:00
世界 6ee3117755 Add resolved service and DNS server 2025-07-08 13:14:41 +08:00
世界 7a1eee78df Add service component type 2025-07-08 13:14:41 +08:00
世界 17576e9f66 Add certificate store 2025-07-08 13:12:14 +08:00
世界 988ac62a1b refactor: Outbound domain resolver 2025-07-08 13:12:14 +08:00
世界 3016338e34 refactor: DNS 2025-07-08 13:12:14 +08:00
xchacha20-poly1305 5eeef6b28e Fix multiple trackers 2025-04-08 14:16:22 +08:00
世界 0b5490d5a3 Fix resolve domain for WireGuard 2025-03-11 12:02:25 +08:00
HystericalDragon 6b4cf67add Fix endpoints not close 2025-01-27 09:50:27 +08:00
世界 906c21f458 Fix time service 2025-01-13 15:14:30 +08:00
世界 68781387fe refactor: WireGuard endpoint 2025-01-13 15:14:30 +08:00
世界 fd299a0961 refactor: connection manager 2025-01-13 15:14:30 +08:00
世界 9afe75586a refactor: Extract services form router 2025-01-13 15:14:29 +08:00
世界 a1be455202 refactor: Modular network manager 2025-01-13 15:14:29 +08:00
世界 19fb214226 refactor: Modular inbound/outbound manager 2025-01-13 15:14:29 +08:00
世界 e233fd4fe5 refactor: Modular inbounds/outbounds 2025-01-13 15:14:29 +08:00
世界 db3a0c636d Add auto-redirect & Improve auto-route 2024-10-13 13:07:02 +08:00
世界 b1d75812c5 platform: Prepare connections list 2024-10-13 13:06:55 +08:00
世界 b0aaa86806 Minor fixes 2024-06-25 13:14:45 +08:00
世界 d20a389043 Fix timer usage 2024-04-08 11:45:00 +08:00
世界 2e607118c3 Remove unnecessary context wrappers 2024-01-03 12:21:48 +08:00
世界 89c723e3e4 Improve read wait interface &
Refactor Authenticator interface to struct &
Update smux &
Update gVisor to 20231204.0 &
Update quic-go to v0.40.1 &
Update wireguard-go &
Add GSO support for TUN/WireGuard &
Fix router pre-start &
Fix bind forwarder to interface for systems stack
2024-01-03 12:21:47 +08:00
世界 21283b554a Avoid opening log output before start &
Replace tracing logs with task monitor
2024-01-03 12:21:46 +08:00
世界 4b43acfec0 Add rule-set 2024-01-03 12:21:36 +08:00
世界 bf4e556f67 Migrate to independent cache file 2024-01-03 12:21:36 +08:00
世界 5269231df0 Fix URLTest outbound 2023-12-02 17:55:58 +08:00
世界 eaccc9759a Fix platform API check 2023-11-21 10:22:44 +08:00
世界 1825869124 platform: Refactor log interface 2023-11-15 14:10:37 +08:00
世界 5b343d4c72 Improve ECH support 2023-09-12 13:26:19 +08:00