7 releases (4 breaking)

0.5.0 Sep 13, 2021
0.4.0 Nov 30, 2020
0.3.0 Aug 6, 2019
0.2.0 Apr 2, 2019
0.1.1 May 23, 2017

#1798 in Cryptography

Download history 521/week @ 2024-07-22 460/week @ 2024-07-29 372/week @ 2024-08-05 193/week @ 2024-08-12 317/week @ 2024-08-19 1195/week @ 2024-08-26 662/week @ 2024-09-02 253/week @ 2024-09-09 568/week @ 2024-09-16 489/week @ 2024-09-23 318/week @ 2024-09-30 342/week @ 2024-10-07 411/week @ 2024-10-14 208/week @ 2024-10-21 228/week @ 2024-10-28 343/week @ 2024-11-04

1,214 downloads per month
Used in hassh

LGPL-2.1-or-later

36KB
634 lines

ssh-parser

LICENSE Build Status Crates.io Version

Overview

This crate provides functions to parse the SSH 2.0 protocol packets. It is also able to recognize older versions of SSH in the identification phase. The main purpose of ssh-parser is to implement safe protocol analysis in network monitoring tools such as IDS and thus it is only able to parse unprotected packets (like the SSH handshake).

Standards

The following specification are partially implemented:

  • RFC4253 The Secure Shell (SSH) Transport Layer Protocol
  • RFC4251 The Secure Shell (SSH) Protocol Architecture
  • RFC4250 The Secure Shell (SSH) Protocol Assigned Numbers
  • RFC5656 Elliptic Curve Algorithm Integration in the Secure Shell Transport Layer
  • RFC6239 Suite B Cryptographic Suites for Secure Shell (SSH)
  • IANA SSH Protocol Parameters

License

This library is licensed under the GNU Lesser General Public License version 2.1, or (at your option) any later version.

Dependencies

~0.8–1.2MB
~22K SLoC