mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
![]() This change revamps SSH banner parsing. The previous behavior was both a bit too strict in some regards, and too permissive in other. Specifically, clients are now required to send a line starting with "SSH-" as the first line. This is in line with the RFC, as well with observed behavior. This also prevents the creation of `ssh.log` for non-SSH traffic on port 22. For the server side, we now accept text before the SSH banner. This previously led to a protocol violation but is allowed by the spec. New tests are added to cover these cases. |
||
---|---|---|
.. | ||
basic.test | ||
curve25519_kex.test | ||
fingerprints.zeek | ||
half-duplex-client.zeek | ||
half-duplex-server.zeek | ||
http-port-22.test | ||
one-auth-fail-only.test | ||
pre-banner.test | ||
set_version.zeek | ||
ssh-reverse-connection.zeek | ||
ssh_dh_gex_direction.zeek | ||
ssh_segmented_encryption_transition.zeek | ||
ssh_version_199.zeek |