Warren
70353d2a55
Phase 4: Critical issue analysis - SSH packet size exceeds maxpack
- Issue: SSH_FXP_DATA packet size 32786 bytes exceeds client maxpack 32768
- Root cause: handle_read() returns full requested data without maxpack limit
- Severity: ⭐⭐⭐⭐⭐ Critical (blocks all large file transfers)
OpenSSH reference:
- sftp-server.c: process_read() limits data to maxpacket - 1024
- MarkBaseSSH: No maxpack limit currently
Solution (Recommended):
- Add maxpack field to SftpHandler structure
- Limit handle_read() data size to maxpack - 1024 bytes
- Get maxpack from Channel.remote_maxpacket
Estimated work: ~50 lines, ~30 minutes testing
2026-06-17 20:10:53 +08:00
..
2026-06-16 13:14:27 +08:00
2026-05-17 05:44:32 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-13 14:39:18 +08:00
2026-06-16 09:49:12 +08:00
2026-06-15 13:54:57 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-17 13:59:28 +08:00
2026-06-17 20:05:18 +08:00
2026-06-17 20:10:53 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 12:55:45 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-17 14:07:26 +08:00
2026-06-16 12:55:45 +08:00
2026-06-16 12:49:40 +08:00
2026-06-16 14:26:29 +08:00
2026-06-16 13:14:27 +08:00
2026-06-16 13:14:27 +08:00
2026-06-17 14:07:26 +08:00
2026-06-17 18:18:19 +08:00
2026-06-17 18:18:19 +08:00
2026-06-16 09:49:12 +08:00
2026-06-15 16:56:38 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00