Crate ssh_packet
source ·Expand description
ssh-packet
Representations of SSH packets interoperable with their binary wire representation, using binrw.
This includes a partial implementation of:
- RFC4250: SSH Protocol Assigned Numbers.
- RFC4251: SSH Protocol Architecture.
- RFC4252: SSH Authentication Protocol.
- RFC4253: SSH Transport Layer Protocol.
- RFC4254: SSH Connection Protocol.
Note: this is currently a draft and shouldn’t be used, yet.
Modules
- Types defined in the SSH’s architecture part of the protocol, as defined in the RFC 4251.
- Messages involved in the SSH’s connect part of the protocol, as defined in the RFC 4254.
- Messages involved in the SSH’s transport part of the protocol, as defined in the RFC 4253.
Structs
- The SSH identification string as defined in the SSH protocol.
- A SSH 2.0 binary packet representation, including it’s encrypted payload.
Enums
- The error type used by
BinRead.
Traits
- The
BinReadtrait reads data from streams and converts it into objects. - The
BinWritetrait serialises objects and writes them to streams.