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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions