Project

General

Profile

Actions

Bug #2207

closed

DNS UDP "Response" parsing recording an incorrect value

Added by Derek Kingsbury over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

Must change
if (f != NULL) {
dns_state->last_req = f->lastts;
}

to:

if (f != NULL) {
dns_state->last_resp = f->lastts;
}

The procedure is currently recording the last request (last_req), rather than the last response (last_resp) as it should to be consistent with the Response parsing.

Actions #1

Updated by Andreas Herz over 6 years ago

Since you found it, would you mind sending a PR for that? See more details at https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Contributing

Actions #2

Updated by Victor Julien over 6 years ago

  • Status changed from New to Closed
Actions #3

Updated by Victor Julien over 6 years ago

  • Subject changed from DNS UDP "Respone" parsing recording an incorrect value to DNS UDP "Response" parsing recording an incorrect value
Actions

Also available in: Atom PDF