Project

General

Profile

Actions

Bug #4306

closed

dns: output flags not set correctly on 32 bit systems

Added by Jeff Lucovsky about 3 years ago. Updated about 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

Also available in: Atom PDF