]> git.ipfire.org Git - thirdparty/suricata.git/commit
dns: log addresses in order of packet
authorJason Ish <jason.ish@oisf.net>
Thu, 5 Jun 2025 15:20:08 +0000 (09:20 -0600)
committerVictor Julien <victor@inliniac.net>
Tue, 10 Jun 2025 06:36:30 +0000 (08:36 +0200)
commitf7a05f1e8e6d84cf285fd97dcd9c8e168ac5daa8
tree917ef35b294ee40137c279d623e41e3eb1c511b7
parent25e32f4f7a35802e5bab98908ef83869e48f5de6
dns: log addresses in order of packet

DNS logs have always been logged in flow direction, this can be
confusing as DNS responses have a src_ip of the client, but it makes
more sense to have the src_ip for the server, as that is the src_ip of
the response packet.

As this is a breaking change, limit it DNS v3 logging which was
introduced, and is the default for Suricata 8.0.

Ticket: #6400
src/output-json-dns.c