WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

output/ipfix: flowDirection value placed in wrong field #305

@FestplattenSchnitzel

Description

@FestplattenSchnitzel

dir: 0 # Direction bit field value (0 = incoming, 1 = outgoing)

The configuration option output_plugin.ipfix.exporter.dir matches the semantic of the IPFIX flowDirection (61) field.

#define INPUT_INTERFACE(F) F(0, 10, 4, &this->dir_bit_field)

However, the value is placed in the ingressInterface (10) field.

This leads to problems with flow collectors (e.g. Akvorado) as the value 0 is not allowed in this field, also see RFC 2863.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions