You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
suricata/rust
Victor Julien 166841e93f ssh: remove the banner_wait_eol state
banner_wait_eol only recorded that a banner line of 256 bytes or
more had arrived without EOL; it was not an active phase. The
direction kept reparsing the open line in place, so a rule or
firewall policy pointing at the state acted on a parked, not an
active, direction.

Move the condition to the event channel it already had (the
one-shot ssh.long_banner event) and key the continuation off an
explicit banner_published latch (set at the banner publish
sites): a direction with an open line stays in the banner state,
the line is consumed greedily until the EOL arrives, and the line
completion takes the normal banner-to-kex transition.

The state scale becomes dense: banner(0) kex(1) session(2),
completion done(3). request_banner_wait_eol /
response_banner_wait_eol no longer load: aliasing them to banner
would silently turn a long-banner rule into an any-banner rule.
Firewall rules that acted at the removed state must move to the
ssh.long_banner event or the banner state; and since the progress
gap between banner and kex is gone, the default-policy sweep no
longer drops a clean flow at the server banner.

Ticket: #9046.
3 weeks ago
..
.cargo rust: rename .cargo/config to .cargo/config.toml 2 years ago
derive rust/ffi: move AppLayerEvent to ffi 6 months ago
ffi rust/ffi: add flow accessors to flow wrapper 2 months ago
htp http1: keep monotonic progress for 100-continue 4 weeks ago
src ssh: remove the banner_wait_eol state 3 weeks ago
suricatactl rust: limit clap verson to 4.5.57 7 months ago
suricatasc rust: clippy fixups for 1.97 4 months ago
sys rust/ffi: bindgen flow storage 2 months ago
.gitignore rust: rename .cargo/config to .cargo/config.toml 2 years ago
Cargo.lock.in rust: add zstd dependency 1 month ago
Cargo.toml.in rust: add zstd dependency 1 month ago
Makefile.am rust: use cargo test --workspace 1 month ago
cbindgen.toml http2: split transaction state machines 4 months ago
rustfmt.toml rustfmt: replace deprecated fn_args_layout with fn_params_layout 3 years ago