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/src
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
..
applayertemplate rust: format applayertemplate files 5 months ago
asn1 rust: format asn1 files 5 months ago
bittorrent_dht rust: format bittorrent_dht files 5 months ago
dcerpc dcerpc/log: map uuid, opnum to service and procedure 3 months ago
detect datasets: accept standard IPv4 notation for ip type 4 weeks ago
dhcp dhcp: distinguish malformed and truncated options 2 months ago
dnp3
…
dns lua/dns: handle OPT answers like TXT records 2 months ago
enip enip: make sure to have enough data for parser 2 months ago
ffi rust: format ffi files 5 months ago
ftp ftp: log completion code when the response message is empty 4 weeks ago
http2 rust: drop block-wrapped scrutinees rejected by clippy 1.99 4 weeks ago
ike ike: remove recursivity in functions 2 months ago
krb detect/krb5: msg_type is not a multi integer 4 months ago
ldap detect/ldap: add BindRequest detection keywords 4 weeks ago
llmnr llmnr: implement logger 5 months ago
mdns
…
mime rust: clippy fixups for 1.97 4 months ago
modbus detect/modbus: move modbus keyword to rust 3 months ago
mqtt mqtt: change the logging type of user properties 2 months ago
nfs rust: drop block-wrapped scrutinees rejected by clippy 1.99 4 weeks ago
ntp rust: format ntp files 5 months ago
pgsql pgsql: truly disable by default 1 month ago
pop3
…
quic rust: format quic files 5 months ago
rdp rdp: treat tpkt payload as complete input 2 months ago
rfb rfb: keep failure_reason as Vec<u8> 2 months ago
sctp detect/sctp: add sctp.chunk_type keyword 5 months ago
sdp rust: clippy fixups for 1.97 4 months ago
sip sip: store frame lens as u32 to avoid body truncation 4 months ago
smb rust: drop block-wrapped scrutinees rejected by clippy 1.99 4 weeks ago
snmp snmp/detect: add snmp.trap_address keyword 4 months ago
ssh ssh: remove the banner_wait_eol state 3 weeks ago
telnet rust: format telnet files 5 months ago
tftp rust: format tftp files 5 months ago
utils rust: format utils files 5 months ago
websocket websocket: accepts config value with units 5 months ago
x509 x509: saturate SAN count returned by parser 2 months ago
applayer.rs rust: format all files 4 months ago
common.rs rust: format all files 4 months ago
conf.rs rust: format all files 4 months ago
core.rs rust: format all files 4 months ago
debug.rs rust: format all files 4 months ago
encryption.rs rust: format all files 4 months ago
feature.rs rust: format all files 4 months ago
filecontainer.rs
…
filetracker.rs nfs: enforce the OOO queue limits on the chunk path 2 months ago
flow.rs
…
frames.rs rust: format all files 4 months ago
handshake.rs rust: format all files 4 months ago
ja4.rs
…
jsonbuilder.rs jsonbuilder: encode key strings when needed 2 months ago
kerberos.rs rust: format all files 4 months ago
lib.rs rust: disable clippy warning for manual c str literals 2 months ago
lua.rs rust: format all files 4 months ago
lzma.rs swf: grow lzma output in one decoder pass 2 months ago
tls_version.rs
…
util.rs rust: format all files 4 months ago