Yuuuuu0
3be21757f6
feat: 所有出站连接支持 HTTP 代理
...
在无法直接访问外网的环境下(如内网服务器需要通过代理访问互联网),
agent 的 websocket 上报、IP 地址获取、autodiscovery 注册等请求
无法走代理导致连接失败。
现在统一添加 http.ProxyFromEnvironment,
配置 http_proxy/https_proxy 环境变量即可生效,未配置时行为不变。
systemd 配置示例:
[Service]
Environment="http_proxy=http://your-proxy-ip:port "
Environment="https_proxy=http://your-proxy-ip:port "
Environment="HTTP_PROXY=http://your-proxy-ip:port "
Environment="HTTPS_PROXY=http://your-proxy-ip:port "
Environment="no_proxy=localhost,127.0.0.1,::1,172.16.0.0/12"
Environment="NO_PROXY=localhost,127.0.0.1,::1,172.16.0.0/12"
2026-02-10 19:59:54 +08:00
Akizon77
384d3cf4bf
feat: #28 支持使用环境变量 / 配置文件来传入 agent 参数
2025-11-04 16:13:44 +08:00
Akizon77
77dbb9e487
fix: https://github.com/komari-monitor/komari/issues/248 使用中文域名进行自动发现无法链接面板
2025-11-04 14:55:48 +08:00
Akizon77
0dcdb89bb5
feat: 添加自定义HTTP客户端和WebSocket拨号器,支持TLS配置
2025-10-15 12:25:32 +08:00
Akizon77
8e31514e9c
fix: 纯IPv6环境的一些问题
2025-10-15 12:07:47 +08:00
9834a55e5d
feat: 添加自定义 DNS 解析器
2025-09-13 02:05:00 +08:00
Akizon77
423bf31985
feat: 延迟增加高延迟重试机制
2025-08-23 16:54:31 +08:00
xdf
fb9828378b
feat: 添加Cloudflare Access支持,允许通过请求头传递Client ID和Client Secret
2025-08-20 16:32:53 +09:00
Akizon77
655a60ec98
fix: 上报丢包
2025-08-09 04:24:21 +00:00
Akizon
b5aef223e0
Update task.go
2025-08-05 14:51:26 +08:00
Akizon77
75cec587e2
feat: 兼容旧版本面板
2025-08-05 03:27:02 +00:00
Akizon
1583a54ea4
Merge pull request #17 from JohnsonRan/kernel-version
...
feat: add kernel version reporting for all platforms
2025-08-02 23:42:30 +08:00
JohnsonRan
a0437e9b7b
feat: add kernel version reporting for all platforms
2025-08-02 22:20:42 +08:00
imlonghao
881945b4b2
refactor: go-ping is deprecated
2025-08-02 18:00:34 +08:00
Akizon77
2cecb92440
feat: https://github.com/komari-monitor/komari/issues/108 实现应用层的心跳机制
...
git忽略__debug
2025-07-08 15:08:17 +08:00
Akizon77
ba8fc8c6d7
fix: ipv6网络测试不通
2025-07-01 16:18:50 +08:00
Akizon77
a57f288819
feat: ping错误时不再上传数据
2025-06-29 17:05:13 +08:00
Akizon77
9e35c5180e
feat: 可以指定基础信息上报时间
2025-06-27 14:04:23 +08:00
Akizon77
d0052ff27d
feat: 添加ping检测
2025-06-21 16:21:30 +08:00
Akizon77
562c8ffa3c
feat: 添加安全的WebSocket连接管理,支持ping任务功能
2025-06-21 14:43:41 +08:00
Akizon77
b247a6ebee
feat: 添加任务执行功能
...
fix: 版本解析逻辑
2025-06-04 17:20:39 +08:00
Akizon77
2c0bd25d18
feat: 添加虚拟化检测功能
2025-05-26 19:23:24 +08:00
Akizon77
21b1b17e84
feat: 添加 GPU 名称获取功能
2025-05-26 19:12:02 +08:00
Akizon77
e34367de69
Refactor monitoring package: remove platform-specific files and consolidate OS detection and process counting logic
...
- Deleted os_windows.go and process_windows.go, replacing them with platform-agnostic implementations in unit directory.
- Removed Linux-specific process counting logic from process_linux.go and integrated it into unit.
- Consolidated uptime and OS name retrieval into unit files for better organization.
- Updated update mechanism to use global variables for current version and repository.
- Introduced command-line flags for configuration, including disabling auto-update and web SSH.
- Implemented WebSocket connection handling and terminal interaction for both Unix and Windows systems.
- Added basic info upload functionality to server package, enhancing monitoring capabilities.
2025-05-16 19:56:22 +08:00