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/nfs
Shivani Bhardwaj f2de3e01cb src: remove truncate fn and glue code
truncate fn is only active and used by dcerpc and smb parsers. In case
stream depth is reached for any side, truncate fn is supposed to set the
tx entity (request/response) in the same direction as complete so the
other side is not forever waiting for data.

However, whether the stream depth is reached is already checked by
AppLayerParserGetStateProgress fn which is called by:
- DetectTx
- DetectEngineInspectBufferGeneric
- AppLayerParserSetTransactionInspectId
- OutputTxLog
- AppLayerParserTransactionsCleanup

and, in such a case, StateGetProgressCompletionStatus is returned for
the respective direction. This fn following efc9a7a, always returns 1
as long as the direction is valid meaning that the progress for the
current direction is marked complete. So, there is no need for the additional
callback to mark the entities as done in case of depth or a gap.
Remove all such glue code and callbacks for truncate fns.

Bug 7044
8 months ago
..
log.rs rust: cargo clippy --all-features --fix --allow-no-vcs 2 years ago
mod.rs lua: remove lua as a compile time feature 9 months ago
nfs.rs src: remove truncate fn and glue code 8 months ago
nfs2.rs rust: remove explicit lifetimes where not needed 2 years ago
nfs2_records.rs rust: fix single_binding 1 year ago
nfs3.rs rust: remove explicit lifetimes where not needed 2 years ago
nfs3_records.rs rust: fix single_binding 1 year ago
nfs4.rs rust: spelling 2 years ago
nfs4_records.rs rust: spelling 2 years ago
nfs_records.rs
rpc_records.rs rust: cargo clippy --all-features --fix --allow-no-vcs 2 years ago
types.rs rust: remove unused 2 years ago