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
Jason Ish 95d4776f33 nfs: track the file handle of an in-progress READ chunk
The continuation of a partially received READ reply looked up its file handle
in the request map by the reply's xid. As the request map is bounded and
evicts the least recently used entries, enough other requests on the flow
could evict the entry while the reply was still in progress. The continuation
then consumed nothing and its file data was parsed as a new RPC record, which
failed and disabled the parser for the flow.

Keep the file handle of the in-progress to-client chunk in the state, like
is done for the to-server WRITE chunk, and clear it along with the rest of
the chunk state.

The file transaction itself can also go away while its chunk is in progress,
for example when the max-tx limit forces it closed, after which a READ request
for the same handle creates a new transaction. A transaction found for the
handle whose file is not open, which is also the case after a complete READ
reply with eof set, cannot take the chunk either. In these cases consume the
chunk up to its known record boundary instead of parsing its data as RPC
records or passing it to that transaction.

Ticket: #9192
2 days ago
..
.cargo rust: rename .cargo/config to .cargo/config.toml 2 years ago
derive rust: inherit common package metadata from workspace 6 days ago
ffi rust: keep the ffi logger out of the test binary 2 days ago
htp rust: hoist nom 8 dependency into workspace 6 days ago
src nfs: track the file handle of an in-progress READ chunk 2 days ago
suricatactl rust: hoist regex dependency into workspace 6 days ago
suricatasc rust: hoist serde_json dependency into workspace 6 days ago
sys rust: inherit common package metadata from workspace 6 days ago
.gitignore rust: rename .cargo/config to .cargo/config.toml 2 years ago
Cargo.lock.in rust: update clipboard-win 5 days ago
Cargo.toml.in rust: hoist nom 8 dependency into workspace 6 days ago
Makefile.am rust/derive: add Makefile for Cargo.toml regeneration 6 days ago
cbindgen.toml http2: split transaction state machines 4 months ago
rustfmt.toml
…