Commit Graph
175 Commits
Author SHA1 Message Date
世界 7b41a924fd Add dns_server_address and dns_search_domain rule items 2026-11-09 15:17:20 +00:00
世界 256ef16489 Fix FakeIP storage consistency with buffered cache file writes 2026-11-09 15:17:20 +00:00
世界 67773d6bd4 Rewrite HTTP proxy protocol 2026-11-09 15:17:20 +00:00
世界 8840b85865 Buffer cache file writes
Changes to the cache file are collected in a write buffer and written in
one transaction when the buffer reaches buffer_size, when the OOM killer
releases memory, or when sing-box is closed. An optional flush_interval
writes the buffer periodically. Previously each DNS response, RDRC entry
and FakeIP mapping was committed in its own transaction.

Also open the database with NoFreelistSync, and mark store_rdrc and
rdrc_timeout as deprecated in the options.
2026-11-09 15:17:20 +00:00
世界 7a9660846b Fix DNS reverse mapping domain and lifetime 2026-11-08 13:03:55 +00:00
世界 04b42a8123 Fix DNS connection setup blocking TUN packet processing 2026-11-03 03:40:09 +00:00
世界 a0bd909429 Fix concurrent DNS request packing mutating shared message 2026-11-03 03:40:09 +00:00
世界 0164ce7b8e Fix shared connections inheriting external interrupt mark 2026-10-23 19:57:08 +08:00
世界 db4e5da711 Check DNS address filter rules on cache hit 2026-10-23 19:57:08 +08:00
世界 42f487bd0d Fix IPv6 literal host handling 2026-10-23 19:57:05 +08:00
世界 a130b482d4 Flush systemd-resolved cache on DNS changes 2026-10-23 19:57:04 +08:00
世界 54c60dc7e6 Fix DHCP DNS search domain expansion 2026-10-23 19:57:03 +08:00
世界 e2008d6b7d Always compress DNS responses 2026-10-23 19:57:02 +08:00
世界 6fb6770cec Keep systemd-resolved servers when configuration is unchanged 2026-10-23 19:57:02 +08:00
世界 a8a2964592 Fix systemd-resolved detection for local DNS server 2026-10-23 19:57:02 +08:00
世界 78d44d52d9 Reset network on DNS server changes 2026-10-09 12:36:03 +08:00
世界 a691a44023 Refactor lifecycle to scoped cleanup 2026-10-09 12:36:03 +08:00
世界 a364ff4794 Remove unimplemented hot reload from managers 2026-10-09 12:36:03 +08:00
世界 52f9bad034 Fix protocol input validation 2026-10-09 12:36:03 +08:00
世界 07130365d1 Improve idle connection management 2026-10-02 18:00:09 +08:00
世界 eb7deeae8a Improve power report attribution and sampling 2026-10-02 18:00:09 +08:00
世界 fd9a076d25 Close idle connections of unreferenced outbounds and DNS servers 2026-10-02 18:00:09 +08:00
世界 ddbf34639a Fix local DNS server ignoring systemd-resolved global DNS servers 2026-10-02 18:00:08 +08:00
世界 78afbb2e62 Respect DNS query timeouts during deduplication 2026-09-21 12:26:53 +08:00
世界 a1f948c330 Fix implicit default DNS server and outbound skipping initialize stage 2026-09-20 22:24:38 +08:00
世界 288411b0b9 Fix crash when interface monitor is unavailable 2026-09-06 14:56:27 +08:00
世界 94ae161956 dns: Reject resolver discovery queries 2026-09-03 15:13:51 +08:00
世界 c53c2375c4 Improve power report 2026-08-30 17:41:47 +08:00
世界 82098a8760 Add power report service 2026-08-30 17:41:46 +08:00
世界 6720a27109 Handle network update callbacks in background 2026-08-30 17:41:46 +08:00
世界 b3a45e0839 Add query_client_subnet and query_dnssec DNS rule items and remove_client_subnet DNS route action option 2026-08-30 17:41:45 +08:00
世界 4e91d92c5f Refactor local DNS cache partitioning 2026-08-30 17:41:45 +08:00
世界 87c4f84a89 Fix search domain handling in DNS transports 2026-08-30 17:41:45 +08:00
世界 0e75f5f45c Partition local DNS caches by interface signature 2026-08-30 17:41:45 +08:00
世界 28b25598ed Refactor local DNS transport 2026-08-30 17:41:45 +08:00
世界 059508ed7a Avoid clearing DNS caches during network resets 2026-08-30 17:41:45 +08:00
世界 0dd17d78d8 Fix DNS response buffer headroom 2026-08-30 17:41:45 +08:00
世界 5c50f7a084 Use connected sockets for QUIC clients 2026-08-30 17:41:45 +08:00
NagaseMinato eb6db316cc dns: Fix preferred_by local support for platform local transport 2026-08-30 17:41:45 +08:00
世界 e797c2d0ba Update tailscale to v1.102.1 2026-08-30 17:41:45 +08:00
世界 cdbfceafd1 dns: Fix completed race rule blocked by earlier armed rule 2026-08-30 17:41:44 +08:00
世界 6e09f2892a Add JSON schema support 2026-08-30 17:41:44 +08:00
世界 e09e3b49f9 dns: Add namespace and parallel support for evaluate 2026-08-30 17:41:44 +08:00
世界 88ab140cf9 dns: Probe connection reuse support for TCP transports 2026-08-30 17:41:44 +08:00
世界 df0946c2a4 dns: Cache responses with client subnet 2026-08-30 17:41:44 +08:00
世界 33e42bf423 Fix TCP DNS retry 2026-08-30 17:41:44 +08:00
世界 e4c8b49eaf Improve network reset 2026-08-30 17:41:43 +08:00
世界 5d424ea2ac refactor: Async DNS 2026-08-30 17:41:43 +08:00
世界 1f7d571017 refactor: New tun udpnat 2026-08-30 17:41:43 +08:00
世界 0a4e4c8061 boxdd: Add insecure mode 2026-08-30 17:41:43 +08:00