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 69d541593e nfs: parse OPEN4args per the wire and mirror them in the scanner
The claim is read as a word followed by one nfsstring whatever its type,
so only CLAIM_NULL and CLAIM_DELEGATE_PREV land on the next op. CLAIM_FH
and CLAIM_DELEG_PREV_FH carry nothing: their OPEN takes the following
op's tag as a name length. CLAIM_PREVIOUS carries an
open_delegation_type4, CLAIM_DELEG_CUR_FH a stateid and CLAIM_DELEGATE_CUR
a stateid then a name: all of them leave the parse in the middle of the
record, so every later op of the compound misparses and the filename is
whatever the read landed on. The open owner's XDR pad and the fattr4 that
follows an EXCLUSIVE4_1 verifier go missing the same way, and an
EXCLUSIVE4_1 OPEN loses its name to the attributes it never consumed.

Read the union by its type: a name for 0, 2 and 3, a word for 1, a
stateid for 2 and 5, nothing for 4 and 6, and an error for a type no
version defines. The filename stays empty where the claim carries none,
as the file is named by the current filehandle. The compound scanner can
then follow the parser through all seven claims instead of rejecting the
record, so a WRITE behind a filehandle-based OPEN is still reached, and an
unknown claim stays a bounded reject.

Ticket: #9265.
1 day ago
..
.cargo rust: rename .cargo/config to .cargo/config.toml 2 years ago
derive rust: inherit common package metadata from workspace 5 days ago
ffi rust: keep the ffi logger out of the test binary 1 day ago
htp rust: hoist nom 8 dependency into workspace 5 days ago
src nfs: parse OPEN4args per the wire and mirror them in the scanner 1 day ago
suricatactl rust: hoist regex dependency into workspace 5 days ago
suricatasc rust: hoist serde_json dependency into workspace 5 days ago
sys rust: inherit common package metadata from workspace 5 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 5 days ago
Makefile.am rust/derive: add Makefile for Cargo.toml regeneration 5 days 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