Xi Xu
3b4f07cd4b
feat: optimize proxy management and connection handling
...
Improves thread safety in adapter URLTest by using LoadOrStore, optimizes proxy filtering and allocation in outbound group, adds caching for ProxiesWithProviders in tunnel, and refactors TCP connection handling for better metadata validation and TLS handshake triggering. Also adds stack trace size limit in main.go and minor improvements in DNS message prefixing.
2025-12-04 15:39:48 +08:00
wwqgtxx
3b63fef2eb
chore: better defensive programming
Test / test (1.20, macos-latest) (push) Waiting to run
Test / test (1.20, ubuntu-24.04-arm) (push) Waiting to run
Test / test (1.20, ubuntu-latest) (push) Waiting to run
Test / test (1.20, windows-latest) (push) Waiting to run
Test / test (1.21, macos-13) (push) Waiting to run
Test / test (1.21, macos-latest) (push) Waiting to run
Test / test (1.21, ubuntu-24.04-arm) (push) Waiting to run
Test / test (1.21, ubuntu-latest) (push) Waiting to run
Test / test (1.21, windows-latest) (push) Waiting to run
Test / test (1.22, macos-13) (push) Waiting to run
Test / test (1.22, macos-latest) (push) Waiting to run
Test / test (1.22, ubuntu-24.04-arm) (push) Waiting to run
Test / test (1.22, ubuntu-latest) (push) Waiting to run
Test / test (1.22, windows-latest) (push) Waiting to run
Test / test (1.23, macos-13) (push) Waiting to run
Test / test (1.23, macos-latest) (push) Waiting to run
Test / test (1.23, ubuntu-24.04-arm) (push) Waiting to run
Test / test (1.23, ubuntu-latest) (push) Waiting to run
Test / test (1.23, windows-latest) (push) Waiting to run
Test / test (1.24, macos-13) (push) Waiting to run
Test / test (1.24, macos-latest) (push) Waiting to run
Test / test (1.24, ubuntu-24.04-arm) (push) Waiting to run
Test / test (1.24, ubuntu-latest) (push) Waiting to run
Test / test (1.24, windows-latest) (push) Waiting to run
Test / test (1.25, macos-13) (push) Waiting to run
Test / test (1.25, macos-latest) (push) Waiting to run
Test / test (1.25, ubuntu-24.04-arm) (push) Waiting to run
Test / test (1.25, ubuntu-latest) (push) Waiting to run
Test / test (1.25, windows-latest) (push) Waiting to run
Trigger CMFA Update / trigger-CMFA-update (push) Waiting to run
2025-09-02 01:15:40 +08:00
wwqgtxx
664ddb8d55
chore: simplifying generator code
Test / test (1.20, macos-latest) (push) Waiting to run
Test / test (1.20, ubuntu-24.04-arm) (push) Waiting to run
Test / test (1.20, ubuntu-latest) (push) Waiting to run
Test / test (1.20, windows-latest) (push) Waiting to run
Test / test (1.21, macos-13) (push) Waiting to run
Test / test (1.21, macos-latest) (push) Waiting to run
Test / test (1.21, ubuntu-24.04-arm) (push) Waiting to run
Test / test (1.21, ubuntu-latest) (push) Waiting to run
Test / test (1.21, windows-latest) (push) Waiting to run
Test / test (1.22, macos-13) (push) Waiting to run
Test / test (1.22, macos-latest) (push) Waiting to run
Test / test (1.22, ubuntu-24.04-arm) (push) Waiting to run
Test / test (1.22, ubuntu-latest) (push) Waiting to run
Test / test (1.22, windows-latest) (push) Waiting to run
Test / test (1.23, macos-13) (push) Waiting to run
Test / test (1.23, macos-latest) (push) Waiting to run
Test / test (1.23, ubuntu-24.04-arm) (push) Waiting to run
Test / test (1.23, ubuntu-latest) (push) Waiting to run
Test / test (1.23, windows-latest) (push) Waiting to run
Test / test (1.24, macos-13) (push) Waiting to run
Test / test (1.24, macos-latest) (push) Waiting to run
Test / test (1.24, ubuntu-24.04-arm) (push) Waiting to run
Test / test (1.24, ubuntu-latest) (push) Waiting to run
Test / test (1.24, windows-latest) (push) Waiting to run
Test / test (1.25, macos-13) (push) Waiting to run
Test / test (1.25, macos-latest) (push) Waiting to run
Test / test (1.25, ubuntu-24.04-arm) (push) Waiting to run
Test / test (1.25, ubuntu-latest) (push) Waiting to run
Test / test (1.25, windows-latest) (push) Waiting to run
Trigger CMFA Update / trigger-CMFA-update (push) Waiting to run
2025-08-21 16:02:17 +08:00
wwqgtxx
0ac6c3b185
feat: inbound support vless
2025-02-04 00:44:18 +08:00
wwqgtxx
f3a43fe3a6
feat: support read config file from stdin
...
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 3s
via `-f -`
2024-12-10 09:57:20 +08:00
wwqgtxx
4a16d22398
chore: no longer used net.DefaultResolver when dns section is disabled, now is equally only "system://"
Trigger CMFA Update / trigger-CMFA-update (push) Failing after 37s
2024-10-02 14:45:06 +08:00
wwqgtxx
88bfe7cffe
feat: add external-controller-pipe for windows
...
maybe useful for electron and tauri client, node.js and rust still not support AF_UNIX on windows
2024-09-27 16:09:03 +08:00
wwqgtxx
7c8f451892
chore: cleanup geo internal code
2024-09-09 16:08:48 +08:00
xishang0128
faaa90f8a6
feat: Allows passing in base64-encoded configuration strings
2024-09-03 17:55:11 +08:00
wwqgtxx
6306c6b580
chore: add route.ApplyConfig for CMFA
2024-08-31 22:42:24 +08:00
wwqgtxx
4fedfc47b0
chore: update geo unneeded reload whole config
2024-08-16 09:19:18 +08:00
wwqgtxx
303f6e4567
feat: add mrs format domain ruleset
2024-07-26 22:30:42 +08:00
Larvan2
4243a74284
chore: auto update geo
2024-05-19 18:51:06 +08:00
Larvan2
c3ee921d30
chore: apply config when geo update
2024-05-19 15:46:23 +08:00
Larvan2
5c3a9b1dfc
fix: geo auto update #1261
2024-05-17 11:51:32 +08:00
wwqgtxx
a878254662
feat: support -ext-ctl-unix cmdline to override external controller unix address
2024-04-17 10:08:54 +08:00
xishang0128
77c10d90f3
chore: Replace android timezone implementation
...
kanged from https://github.com/SagerNet/sing-box/blob/dev-next/include/tz_android.go
2024-03-10 02:24:28 +08:00
xishang0128
cd9e9cd2c1
fix: fix timezone for Android
2024-03-08 01:39:43 +08:00
Vincent.Shi
4af94df142
chore: Redundant function calls. ( #956 )
2024-01-05 15:07:49 +08:00
Kuingsmile
aef87b29ba
feat: Add GeoAutoUpdate and GeoUpdateInterval to config ( #857 )
2023-12-03 23:23:34 +08:00
H1JK
1479b449df
chore: Cleanup code
2023-11-17 23:12:10 +08:00
wwqgtxx
17c9d507be
chore: hello mihomo
2023-11-03 21:58:21 +08:00
septs
98df77439c
feature: add environs startup option support ( #2909 )
2023-10-16 09:22:16 +08:00
Andrei Shevchuk
c2b06a02bf
feat: add reload signal support ( #780 )
...
Backport Clash feature by @septs, see Dreamacro/clash#2908
2023-09-29 08:36:25 +08:00
Skyxim
8e959bd245
chore: 当无tag时不输出无效日志
2022-06-03 21:00:45 +08:00
Skyxim
298ca42369
chore: 启动参数v,查看版本同时打印使用的tags
2022-06-03 20:23:53 +08:00
MetaCubeX
81c5a65f23
Merge remote-tracking branch 'Pro-Plus/with-tun' into Alpha
...
# Conflicts:
# README.md
# adapter/outbound/trojan.go
# adapter/outbound/vless.go
# transport/trojan/trojan.go
2022-03-30 13:15:45 +08:00
yaling888
8df8f8cb08
Chore: adjust gVisor stack
2022-03-28 03:25:55 +08:00
MetaCubeX
7a54d616c4
[SKIP CI]
...
Merge remote-tracking branch 'Pro-Plus/with-tun' into Alpha
# Conflicts:
# README.md
# hub/route/server.go
2022-03-23 13:23:34 +08:00
MetaCubeX
a375b85fa0
[skip ci]
...
# Conflicts:
# .github/workflows/linter.yml
# .github/workflows/release.yml
# config/config.go
# go.mod
# go.sum
# hub/executor/executor.go
2022-03-23 01:41:42 +08:00
yaling888
f4312cfa5a
Chore: adjust the signal
2022-03-22 18:40:33 +08:00
MetaCubeX
30f1b29257
Merge remote-tracking branch 'yaling888/with-tun' into Alpha
...
# Conflicts:
# .github/workflows/codeql-analysis.yml
# .github/workflows/linter.yml
# .github/workflows/release.yml
# Makefile
# README.md
# adapter/outbound/vless.go
# component/geodata/memconservative/cache.go
# component/geodata/router/condition.go
# component/geodata/router/condition_geoip.go
# component/geodata/standard/standard.go
# component/geodata/utils.go
# config/config.go
# config/initial.go
# constant/metadata.go
# constant/path.go
# constant/rule.go
# constant/rule_extra.go
# dns/client.go
# dns/filters.go
# dns/resolver.go
# go.mod
# go.sum
# hub/executor/executor.go
# hub/route/configs.go
# listener/listener.go
# listener/tproxy/tproxy_linux_iptables.go
# listener/tun/dev/dev.go
# listener/tun/dev/dev_darwin.go
# listener/tun/dev/dev_linux.go
# listener/tun/dev/dev_windows.go
# listener/tun/dev/wintun/config.go
# listener/tun/dev/wintun/dll_windows.go
# listener/tun/dev/wintun/session_windows.go
# listener/tun/dev/wintun/wintun_windows.go
# listener/tun/ipstack/commons/dns.go
# listener/tun/ipstack/gvisor/tun.go
# listener/tun/ipstack/gvisor/tundns.go
# listener/tun/ipstack/gvisor/utils.go
# listener/tun/ipstack/stack_adapter.go
# listener/tun/ipstack/system/dns.go
# listener/tun/ipstack/system/tcp.go
# listener/tun/ipstack/system/tun.go
# listener/tun/tun_adapter.go
# main.go
# rule/common/base.go
# rule/common/domain.go
# rule/common/domain_keyword.go
# rule/common/domain_suffix.go
# rule/common/final.go
# rule/common/geoip.go
# rule/common/geosite.go
# rule/common/ipcidr.go
# rule/common/port.go
# rule/parser.go
# rule/process.go
# test/go.mod
# test/go.sum
# transport/vless/xtls.go
# tunnel/tunnel.go
2022-03-17 17:41:02 +08:00
MetaCubeX
609d69191a
Merge remote-tracking branch 'clash/dev' into Alpha
...
# Conflicts:
# .github/workflows/docker.yml
# adapter/outboundgroup/fallback.go
# adapter/outboundgroup/loadbalance.go
# adapter/outboundgroup/relay.go
# adapter/outboundgroup/selector.go
# adapter/outboundgroup/urltest.go
# config/config.go
# go.mod
# go.sum
# main.go
# test/go.mod
# test/go.sum
2022-03-17 01:41:51 +08:00
MetaCubeX
2f24e49ff6
[build test] 1.18
2022-03-16 21:47:00 +08:00
yaling888
346d817dba
Chore: Merge branch 'ogn-dev' into with-tun
2022-03-16 20:16:30 +08:00
MetaCubeX
0f2123179a
[build test]
2022-03-16 17:29:09 +08:00
Dreamacro
6a661bff0c
Migration: go 1.18
2022-03-16 12:10:13 +08:00
MetaCubeX
1034780e8e
[build test]
2022-03-16 00:43:08 +08:00
MetaCubeX
c85305ead8
[Skip CI]
2022-03-15 22:25:33 +08:00
yaling888
ba7bcce895
Chore: code style
2022-03-09 00:32:21 +08:00
maze.y2b@gmail.com
edf1bb476d
test
2021-12-03 20:38:40 +08:00
Mazeorz
900e852525
[test]
2021-11-17 16:03:47 +08:00
yaling888
325b7f455f
Chore: version fmt
2021-10-28 12:55:40 +08:00
yaling888
2680e8ffa3
Merge from remote branch
2021-10-28 11:36:11 +08:00
Dreamacro
ebbc9604ce
Chore: use uber max procs
2021-10-27 21:27:19 +08:00
yaling888
d7732f6ebc
Code: refresh code
2021-07-01 22:49:29 +08:00
Dreamacro
a1f3a5ea26
Chore: -v add golang version
2021-04-04 17:36:22 +08:00
Dreamacro
5805334ccd
Chore: pass staticcheck
2020-08-25 22:19:59 +08:00
Richard Yu
41a9488cfa
Feature: add more command-line options ( #656 )
...
add command-line options to override `external-controller`, `secret` and `external-ui` (#531 )
2020-04-27 22:23:09 +08:00
Wu Haotian
e81b88fb94
Feature: add configuration test command ( #524 )
2020-02-29 17:48:26 +08:00