Commit Graph
366 Commits
Author SHA1 Message Date
wwqgtxx e45c896185 feat: support masque outbound 2026-01-28 19:01:18 +08:00
potoo0 19a6b5d6f7 feat: support rule disabling and hit/miss count/at tracking in restful api (#2502) 2026-01-11 19:37:08 +08:00
wwqgtxx 487de9b548 feat: add PROCESS-NAME-WILDCARD and PROCESS-PATH-WILDCARD 2026-01-06 08:52:06 +08:00
David 06387d5045 feat: support fake-ip-filter-mode: rule mode (#2469) 2025-12-29 08:14:09 +08:00
wwqgtxx 6539b509cb chore: restful api contains providerChains for connections 2025-12-04 17:29:01 +08:00
wwqgtxx b5fa3ee99a chore: restful api contains provider-name for proxies 2025-12-04 15:10:13 +08:00
wwqgtxx b509affe5b chore: simplify DNSPrefer serialization process 2025-12-04 13:41:44 +08:00
wwqgtxx 9df8392c65 chore: clean up internal interface definitions 2025-12-03 11:08:16 +08:00
wwqgtxx ac90543548 chore: code cleanup 2025-12-02 17:18:20 +08:00
futai 6cf1743961 feat: add Sudoku protocol inbound & outbound support (#2397) 2025-11-28 23:40:00 +08:00
enfein a4b76809ac feat: support mieru inbound (#2347) 2025-11-09 09:29:47 +08:00
wwqgtxx f3edbc2b45 chore: remove unused code 2025-11-03 09:56:19 +08:00
wwqgtxx dfe6e0509b chore: rebuild core updater 2025-07-24 02:08:14 +08:00
ayanamist 241ae92bce feat: support DOMAIN-WILDCARD rule (#2124)
only support asterisk(*) and question mark(?)
2025-06-27 16:35:55 +08:00
wwqgtxx 85bb40aaf8 chore: add Int32Enum for common/atomic 2025-06-12 15:24:29 +08:00
wwqgtxx ae7967f662 chore: the resolve and findProcess behaviors of Logic and SubRules follow the order and needs of the internal rules 2025-06-10 20:11:50 +08:00
wwqgtxx 213d80c1e2 fix: quic sniffer should consider skipDomain 2025-05-28 10:06:53 +08:00
wwqgtxx 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
wwqgtxx 2116640886 chore: the updateConfigs api also adds a check for SAFE_PATHS 2025-05-12 11:28:15 +08:00
wwqgtxx 50d7834e09 chore: change the separator of the SAFE_PATHS environment variable to the default separator of the operating system platform (i.e., ; in Windows and : in other systems) 2025-05-05 01:32:25 +08:00
wwqgtxx 791ea5e568 chore: allow setting addition safePaths by environment variable SAFE_PATHS
package managers can allow for pre-defined safe paths without disabling the entire security check feature
for https://github.com/MetaCubeX/mihomo/issues/2004
2025-05-01 12:33:21 +08:00
wwqgtxx 7e7016b567 chore: removed routing-mark and interface-name of the group, please set it directly on the proxy instead 2025-05-01 02:13:35 +08:00
wwqgtxx b4fe669848 chore: better path checks 2025-05-01 02:13:35 +08:00
wwqgtxx 4b15568a29 chore: cleanup metadata code 2025-04-09 18:02:13 +08:00
wwqgtxx 622d99d000 chore: rebuild outdated proxy auto close mechanism 2025-04-03 22:42:32 +08:00
5aaee9 801f3c35ce feat: support sniff quic fragment data (#1899) 2025-03-13 13:19:36 +08:00
wwqgtxx f318b80557 chore: better cache implement for group's getProxies 2025-03-11 23:27:18 +08:00
wwqgtxx 91324b76d2 feat: inbound support trojan 2025-02-25 10:30:27 +08:00
anytls 9962a0d091 feat: implement anytls client and server (#1844) 2025-02-17 18:51:11 +08:00
wwqgtxx 0ac6c3b185 feat: inbound support vless 2025-02-04 00:44:18 +08:00
wwqgtxx 72a126e580 feat: support inline proxy provider 2024-12-25 10:34:16 +08:00
qianlongzt bb803249fa feat: support inline rule provider (#1731) 2024-12-19 09:16:45 +08:00
enfein 613becd8ea feat: support mieru protocol (#1702) 2024-12-09 12:05:11 +08:00
wwqgtxx f805a9f4c6 chore: cleaned up some weird code 2024-11-26 10:04:41 +08:00
xishang0128 eb985b002e chore: restful api displays more information 2024-11-21 22:50:54 +08:00
Chenx Dust de19f927e8 chore: restful api display smux and mptcp 2024-11-14 10:08:02 +08:00
xishang0128 95af5f7325 chore: change subscription-userinfo retrieval 2024-10-20 06:01:02 +08:00
wwqgtxx a67c379884 chore: code cleanup 2024-09-27 21:42:06 +08:00
wwqgtxx 43cb48231a cache: add dns cache in udp packet sender
reduce the cost of re-resolving DNS for each packet received and prevent the target IP from jumping between multiple resolution results
2024-09-26 22:21:59 +08:00
wwqgtxx 4fa15c6334 chore: ensures packets can be sent without blocking the tunnel 2024-09-26 11:21:07 +08:00
wwqgtxx 966eeae41b chore: rewrite bbolt cachefile implements
never use returned byte slices outside the transaction, ref:
https://pkg.go.dev/go.etcd.io/bbolt#hdr-Caveats
2024-09-23 09:35:48 +08:00
wwqgtxx b7cb6774bf chore: support ETag for update geo 2024-09-22 13:57:57 +08:00
wwqgtxx 5d242510c8 chore: support ETag for providers 2024-09-22 11:42:29 +08:00
wwqgtxx 223eae0e06 chore: force refresh provider in background 2024-09-22 00:24:49 +08:00
wwqgtxx a08aa10630 chore: some internal types support encoding.TextUnmarshaler 2024-09-19 18:36:24 +08:00
wwqgtxx 0a2f606e1b chore: cleanup the patch code 2024-09-11 16:10:49 +08:00
wwqgtxx 7c8f451892 chore: cleanup geo internal code 2024-09-09 16:08:48 +08:00
wwqgtxx 595a575cde chore: add Count for ProxyProvider 2024-09-09 10:07:50 +08:00
wwqgtxx f6164ac195 feat: add fake-ip-filter-mode in dns
https://github.com/MetaCubeX/mihomo/issues/1479
2024-08-31 09:59:48 +08:00
wwqgtxx 763a127287 feat: RULE-SET in rules support ,src option
should only be used with `ipcidr` behavior
2024-08-29 23:49:16 +08:00