Commit Graph
11 Commits
Author SHA1 Message Date
cmliu 2a685aaba3 feat: 更新 UI 状态管理,移除全局状态显示并优化连接状态指示 2026-07-29 12:21:19 +08:00
cmliu 8cb4d88b39 fix: 修正 SFTP 附加 URL 的正则表达式匹配规则 2026-07-29 11:03:59 +08:00
cmliu 289d662fc2 feat: implement SFTP protocol support with types and client functionality
- Added sftp-types.ts to define SFTP protocol constants, types, and attributes.
- Introduced sftp.ts to implement the SFTP client, handling requests, responses, and error management.
- Implemented methods for file operations including open, read, write, remove, and directory management.
- Added error handling for SFTP protocol errors and timeouts.
- Included utility functions for encoding and decoding SFTP packets.
2026-07-29 10:58:44 +08:00
cmliu c040c1b9fd feat: 增强 SSH 主机密钥验证,支持键盘交互认证并优化 UI 提示 2026-07-28 22:19:52 +08:00
cmliu 7a9094d565 feat: 优化票据验证逻辑,移除 IP 绑定校验以支持反代/CDN 环境 2026-07-28 05:10:01 +08:00
cmliu f9ed3d9a86 feat: 更新 CORS 响应处理,确保 WebSocket 升级响应不被重新包装 2026-07-28 04:55:39 +08:00
cmliu de005b5af8 feat: 添加 CORS 支持,允许跨站访问 API 响应并处理预检请求 2026-07-28 04:35:23 +08:00
cmliu 3a9a21ace7 refactor: 优化 SSH 连接和认证流程,移除不必要的参数和方法 2026-07-28 02:56:34 +08:00
cmliu 855b8e275c feat: 添加 toSocketHostname 函数,支持 IPv6 地址格式化,优化连接处理 2026-07-28 02:23:10 +08:00
cmliu de6940ee89 Refactor SSH session management and history tracking
- Removed ACCESS_TOKEN and ALLOW_ANONYMOUS from environment variables and related logic.
- Updated README and documentation to reflect changes in access control and session management.
- Introduced history tracking for SSH connections, allowing automatic saving of successful connections.
- Modified frontend to display connection history instead of saved targets, with appropriate UI updates.
- Refactored backend security logic to remove access token validation.
- Added new history management functions to handle connection entries.
2026-07-27 21:40:08 +08:00
cmliu 623d270eec feat: implement SSH protocol components including key exchange, packet handling, and transport
- Add KEXInitBuilder and parsing functions for SSH key exchange initialization.
- Implement key derivation for session keys using shared secrets and exchange hashes.
- Create SSHPacketParser and SSHPacketBuilder for handling SSH packets.
- Establish SSHTransport for managing version exchange and connection setup.
- Introduce utility functions for data manipulation and encoding.
- Define types for SSH packets, key exchange messages, and session configurations.
- Set up worker environment with session management and request handling.
- Configure TypeScript and Vite for frontend and worker builds.
- Add tests and coverage configuration for SSH components.
- Initialize Wrangler configuration for deployment.
2026-07-27 19:05:23 +08:00