]> git.ipfire.org Git - thirdparty/suricata.git/commit
dcerpc/log: Log fields particular to an RPC version 5570/head
authorShivani Bhardwaj <shivanib134@gmail.com>
Thu, 12 Nov 2020 11:06:39 +0000 (16:36 +0530)
committerVictor Julien <victor@inliniac.net>
Mon, 16 Nov 2020 13:23:59 +0000 (14:23 +0100)
commit269324e84d79c4860533967e7fe226e3a9106613
treefd93350009801b0c851d598067ca85b881902b04
parent2033f386f95c709ae072260346af0258ead55ce2
dcerpc/log: Log fields particular to an RPC version

Log fields that only are meant to be in a PDU for a particular RPC
version. Since DCERPC/UDP works on RPC version 4 and DCERPC/TCP works on
RPC version 5, there are certain fields that are particular to each
version.
Remove call_id from the logger for UDP.
Add activityuuid and seqnum fields to the logger for UDP.
call_id and (activityuuid + seqnum) fields are used to uniquely pair a
request with response for RPC versions 5 and 4 respectively.
rust/src/dcerpc/log.rs