frameassembly 1.0.0

A Domain-Specific Language (DSL) for writing deterministic network traffic to .pcap files.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! SSH protocol AST definitions.

/// RFC 4253 Secure Shell Protocol specification.
#[derive(Debug, Clone, PartialEq, Eq, Default)]
pub struct SshSpec<'a> {
    /// Version exchange banner.
    pub banner: Option<&'a str>,
    /// Key exchange init flag.
    pub is_kexinit: bool,
    /// New keys flag.
    pub is_newkeys: bool,
    /// Message code number.
    pub msg_code: Option<u8>,
    /// 16-byte cookie hex string.
    pub cookie: Option<&'a str>,
}