Project

General

Profile

Actions

Bug #4305

closed

dns: output flags not set correctly on 32 bit systems

Added by Jeff Lucovsky 9 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Assignee:
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

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

Updated by Jeff Lucovsky 9 months ago

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

Updated by Jeff Lucovsky 9 months ago

  • Status changed from Assigned to In Progress
Actions #3

Updated by Jeff Lucovsky 8 months ago

  • Status changed from In Progress to In Review
Actions #5

Updated by Jeff Lucovsky 8 months ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF