Crate ssh_packet

source ·
Expand description

§ssh-packet

docs.rs Crates.io

Representations of SSH packets interoperable with their binary wire representation, using binrw.

This includes a partial implementation of:


Note: this is currently a draft and shouldn’t be used, yet.

Re-exports§

Modules§

  • Types defined in the SSH’s architecture (SSH-ARCH) part of the protocol, as defined in the RFC 4251.
  • Messages involved in the SSH’s connect (SSH-CONNECT) part of the protocol, as defined in the RFC 4254.
  • Helpers for SSH’s kex part of the protocol.
  • Messages involved in the SSH’s transport (SSH-TRANS) part of the protocol, as defined in the RFC 4253 and RFC 5656.
  • Messages involved in the SSH’s authentication (SSH-USERAUTH) part of the protocol, as defined in the RFC 4252 and RFC 4256.

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 types that can occur when manipulating this crate.
  • A SSH 2.0 message in it’s decrypted form.

Constants§

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

Traits§