Crate ssh_packet

Source
Expand description

Re-exports§

pub use ::binrw;

Modules§

arch
Types defined in the SSH’s architecture (SSH-ARCH) part of the protocol, as defined in the RFC 4251.
connect
Messages involved in the SSH’s connect (SSH-CONNECT) part of the protocol, as defined in the RFC 4254.
crypto
Collection of exchange hashes and signatures present in the protocol.
trans
Messages involved in the SSH’s transport (SSH-TRANS) part of the protocol, as defined in the RFC 4253 and RFC 5656.
userauth
Messages involved in the SSH’s authentication (SSH-USERAUTH) part of the protocol, as defined in the RFC 4252 and RFC 4256.

Structs§

Id
The SSH identification string as defined in the SSH protocol.
Packet
A SSH 2.0 binary packet representation.

Enums§

Error
The error types that can occur when manipulating this crate.

Constants§

PACKET_MAX_SIZE
Maximum size for a SSH packet, coincidentally this is the maximum size for a TCP packet.
PACKET_MIN_SIZE
Minimum size for a SSH packet, coincidentally this is the largest block cipher’s block-size.

Traits§

CipherCore
A trait with common methods and associated types involved in the manipulation of OpeningCipher and SealingCipher.
IntoPacket
Allow types implementing BinWrite to be easily converted to a Packet.
Mac
The algorithm parameters for the Message Authentication Code.
OpeningCipher
A cipher able to open a Packet and retrieve it’s payload.
SealingCipher
A cipher able to seal a payload to create a Packet.