Project

General

Profile

Actions

Bug #2207

closed
DK DK

DNS UDP "Response" parsing recording an incorrect value

Bug #2207: DNS UDP "Response" parsing recording an incorrect value

Added by Derek Kingsbury over 8 years ago. Updated over 8 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.

AH Updated by Andreas Herz over 8 years ago Actions #1

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

VJ Updated by Victor Julien over 8 years ago Actions #2

  • Status changed from New to Closed

VJ Updated by Victor Julien over 8 years ago Actions #3

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

Also available in: PDF Atom