mirror of https://github.com/OISF/suricata
eve: stamp the NFS records in the flow direction
Txs flushed by the synthetic flow-timeout pseudo packets at flow end carry no wire direction, and the NFS eve log normalized them - and only them - to the flow direction, while a record completed on a real packet kept the packet direction. One flow then logged the same transaction under two directions, which no other app-layer does: SMB, HTTP and DNS all normalize every record. A gapped v3 READ file tx whose last reply never arrives shows it: logged on the response side, unreachable by request-side (dest port 2049) filters. Normalize on the flow direction for every NFS record and drop the FFR conditional. The v3 pins move with it, since the request and its reply now agree on the record. Ticket: #9265.pull/16514/head
parent
69d541593e
commit
bf738f0ddf
Loading…
Reference in New Issue