Project

General

Profile

Actions

Bug #4306

closed

dns: output flags not set correctly on 32 bit systems

Added by Jeff Lucovsky over 3 years ago. Updated over 3 years ago.

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

Description

The flags variable is a uint64_t and was being set to all bits on with:

    dnslog_ctx->flags = ~0UL;

while this sets all 64 bits on a 64 bit system, it only sets 32 on a 32 bit system.

A work-around is to make sure the "dns" in the eve config has a trailing ":". For example:

types:
  - dns:

This turns the value into an object which causes for initialization to be done result in correct initialization.


Related issues 1 (0 open1 closed)

Copied from Suricata - Bug #4206: dns: output flags not set correctly on 32 bit systemsClosedJason IshActions
Actions #1

Updated by Jeff Lucovsky over 3 years ago

  • Copied from Bug #4206: dns: output flags not set correctly on 32 bit systems added
Actions #2

Updated by Shivani Bhardwaj over 3 years ago

  • Status changed from Assigned to In Review
Actions #3

Updated by Victor Julien over 3 years ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF