1
0
mirror of https://github.com/MetaCubeX/mihomo.git synced 2025-09-20 12:35:59 +08:00
Commit Graph

712 Commits

Author SHA1 Message Date
a0f1ac4ef5 chore: apply ntp time function more place 2025-09-13 14:21:33 +08:00
57e14e5b62 chore: cleanup internal ca using 2025-09-13 14:13:01 +08:00
fed4b369a3 fix: auto update local file provider (#2245)
Using `Direct: true` will ignore the changes when the file was modified using replace method. Which is a common method used by ftp software.
2025-09-05 13:07:51 +08:00
0ced98da4d feat: support sending ping requests via direct in tun mode 2025-08-27 18:00:25 +08:00
2605bf78f9 fix: add code signing for macOS executables during file copy 2025-08-25 11:31:21 +08:00
1ae050ca3b chore: sync vless encryption code 2025-08-25 11:31:21 +08:00
664ddb8d55 chore: simplifying generator code 2025-08-21 16:02:17 +08:00
e4dfe09744 chore: output vless hash11 in generater 2025-08-21 11:25:41 +08:00
7e0a77c99c chore: sync vless encryption code 2025-08-21 08:33:44 +08:00
0836ec6ee3 chore: change time.Duration atomic using 2025-08-14 16:01:20 +08:00
eca5a27774 fix: mlkem768 logging 2025-08-11 23:00:35 +08:00
16d95df100 chore: better wildcard test 2025-08-11 22:33:01 +08:00
7392529677 chore: add a confused benchmark for wildcard 2025-08-11 18:13:34 +08:00
dc52c38179 fix: ? in DOMAIN-WILDCARD should match exactly one character
https://github.com/MetaCubeX/mihomo/issues/2204
2025-08-11 16:23:39 +08:00
d7999a32d3 chore: using named const value 2025-08-11 16:23:39 +08:00
1b0c72bfab feat: support vless encryption 2025-08-10 22:24:39 +08:00
00035302a1 chore: let /upgrade support channel and force as parameters in restful api
Leaving `channel` blank will automatically determine the channel. Other valid values are `alpha`/`release`.

Setting `force` to `true` will bypass the version check and force the update.
2025-07-30 17:50:11 +08:00
578e659bb9 chore: keep original file permissions when unpack in updater 2025-07-30 17:09:08 +08:00
0f1baeb935 fix: updater may not be able to overwrite files directly 2025-07-28 22:21:57 +08:00
5f1f296213 chore: add /cache/dns/flush to restful api 2025-07-27 12:30:33 +08:00
c3a3009a8c chore: keep original file permissions when copyFile in updater 2025-07-26 22:10:47 +08:00
01cd7e2c0e chore: improve backup and replace logic in updater 2025-07-26 22:49:20 +09:00
deec7aafe5 chore: optimizing download in updater 2025-07-26 15:15:11 +08:00
a9b7e705f0 chore: optimizing copyFile in updater 2025-07-26 01:32:49 +08:00
fb043df1b6 chore: use canonical return value order 2025-07-25 23:38:35 +09:00
748b5df902 chore: keep original file permissions after update 2025-07-25 23:38:35 +09:00
a37440c81b fix: some downstream dependencies on the upgrader's output fields 2025-07-25 17:57:34 +08:00
1a84153213 chore: code cleanup 2025-07-24 15:40:32 +08:00
dfe6e0509b chore: rebuild core updater 2025-07-24 02:08:14 +08:00
b6dde7ded7 action: use a more standardized naming format while retaining some compatibility with the old format 2025-07-23 22:58:41 +09:00
9f1da11792 chore: use the compile-time GOAMD64 flag in the updater 2025-07-23 18:08:08 +08:00
63ad95e10f fix: remove unconventional bits when unpacking for update_ui (#2178) 2025-07-22 22:45:20 +08:00
d4fbffd8e8 chore: update utls to 1.8.0 2025-07-22 15:00:25 +08:00
aa555ced5f chore: allow embedded xsync.Map to be lazily initialized 2025-07-15 17:33:36 +08:00
349b773b40 chore: upgrade and embed the xsync.Map to v4 2025-07-15 13:39:03 +08:00
241ae92bce feat: support DOMAIN-WILDCARD rule (#2124)
only support asterisk(*) and question mark(?)
2025-06-27 16:35:55 +08:00
91985c1ef8 chore: typo (#2127) 2025-06-26 07:45:46 +08:00
5b975275f5 fix: incorrect checking of strings.Split return value
strings.Split will never return a slice of length 0 if sep is not empty, so any code that checks if the return value is of length 0 is incorrect and useless.
2025-06-25 16:20:37 +08:00
166392fe17 chore: sniffer replace domain only if domain is valid (#2122) 2025-06-24 21:44:26 +08:00
5c6aa433ca chore: unconditionally allow clients with passwords for password-free socks5 inbound (#2123) 2025-06-24 19:01:12 +08:00
85bb40aaf8 chore: add Int32Enum for common/atomic 2025-06-12 15:24:29 +08:00
082bcec281 chore: apply find process mode in direct/global mode 2025-06-12 00:27:51 +08:00
939e4109d7 chore: write dns reply in single syscall 2025-06-07 00:38:39 +08:00
c0f452b540 chore: more unmap for 4in6 address 2025-05-29 10:14:06 +08:00
213d80c1e2 fix: quic sniffer should consider skipDomain 2025-05-28 10:06:53 +08:00
1db89da122 fix: quic sniffer should not replace domain when no valid host is read 2025-05-28 09:22:28 +08:00
689c58f661 chore: clear dstIP when overrideDest in sniffer 2025-05-27 22:47:21 +08:00
33590c4066 fix: destination should unmap before find interface 2025-05-27 18:26:35 +08:00
ef3d7e4dd7 chore: remove unneeded dns resolve when proxydialer dial udp 2025-05-27 15:04:01 +08:00
a1c7881229 chore: rebuild udp dns resolve
The DNS resolution of the overall UDP part has been delayed to the connection initiation stage. During the rule matching process, it will only be triggered when the IP rule without no-resolve is matched.

For direct and wireguard outbound, the same logic as the TCP part will be followed, that is, when direct-nameserver (or DNS configured by wireguard) exists, the result of the matching process will be discarded and the domain name will be re-resolved. This re-resolution logic is only effective for fakeip.

For reject and DNS outbound, no resolution is required.

For other outbound, resolution will still be performed when the connection is initiated, and the domain name will not be sent directly to the remote server at present.
2025-05-27 10:45:26 +08:00