Files
markbase/markbase-core/src/ssh_server/mod.rs
Warren a5375075b8 Implement SSH Compression support Phase 1
- compression.rs module with CompressionContext
- Compress/Decompress using flate2 (raw deflate, no zlib header)
- enable/disable/is_enabled methods
- compress/decompress with Sync flush
- Unit tests: disabled/enabled/roundtrip/supported

All tests pass.
2026-06-21 01:40:07 +08:00

31 lines
819 B
Rust
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// SSH服务器模块手动实现SSH协议
// 参考OpenSSH源码实现完整的SSH/SFTP/SCP/rsync协议
pub mod auth;
pub mod channel;
pub mod cipher;
pub mod compression; // SSH Compression support (RFC 4253 §6.2)
pub mod crypto;
pub mod data_forwarder;
pub mod kex;
pub mod kex_complete;
pub mod kex_exchange;
pub mod packet;
pub mod port_forward;
pub mod port_forward_listener;
pub mod rsync_handler;
pub mod scp_handler;
pub mod server;
pub mod sftp_handler;
pub mod ssh_security_config;
pub mod sshbuf;
pub mod upload_hook;
pub mod version;
pub mod window_manager;
pub use packet::{PacketType, SshPacket};
pub use server::SshServer;
pub use ssh_security_config::SshSecurityConfig; // Phase 13.1: 导出安全配置
pub use sshbuf::SshBuf;
pub use version::VersionExchange; // Phase 15: 导出 SSH Buffer