]> git.ipfire.org Git - thirdparty/suricata.git/commit
dnp3: fixups to work with unified json tx logger 8101/head
authorJason Ish <jason.ish@oisf.net>
Thu, 13 Oct 2022 21:51:10 +0000 (15:51 -0600)
committerJason Ish <jason.ish@oisf.net>
Thu, 27 Oct 2022 15:54:30 +0000 (09:54 -0600)
commit27672c950c3721527b4a48a1bf5eb116ea85df60
tree41f005e706f8d43ba0fa9512f2575327e1321c2a
parent2f9ca8bb34b2d15949bfc117e07ecbf7ab19d542
dnp3: fixups to work with unified json tx logger

Update DNP3 to work with a single TX logger, and just register one
logger instead of 2.

This primarily creates a TX per message instead of correlating replies
to requests, which fits the DNP3 model better, but we didn't really have
this concept nailed down when DNP3 was written.
src/app-layer-dnp3.c
src/app-layer-dnp3.h
src/detect-dnp3.c
src/output-json-alert.c
src/output-json-dnp3.c
src/suricata-common.h
src/util-lua-dnp3.c
src/util-profiling.c