Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display Output has <unkown>:<unknown> in it #82

Open
vs0t opened this issue Aug 11, 2023 · 1 comment
Open

Display Output has <unkown>:<unknown> in it #82

vs0t opened this issue Aug 11, 2023 · 1 comment

Comments

@vs0t
Copy link

vs0t commented Aug 11, 2023

I am new to ipfixcol2 and the genre as a whole, I am an intern and trying to complete a project where I utilize my ubuntu cli server to collect IPFIX TCP data, running the collector returns the values with ...

IPFIX Message header:
Version: 10
Length: 88
Export time: 1691092694
Sequence no.: 0
ODID: 0

Set Header:
Set ID: 2 (Template Set)
Length: 72

  • Template Record (Kafka output plugin and distributed architecture #1)
    Template ID: x
    Field Count: 8
    EN: x ID: x Size: 8 | ":"
    EN: x ID: x Size: 1 | ":"
    EN: x ID: x Size: var. | ":"
    EN: x ID: x Size: var. | ":"
    EN: x ID: x Size: var. | ":"
    EN: x ID: x Size: var. | ":"
    EN: x ID: x Size: 8 | ":"
    EN: x ID: x Size: 1 | ":"

I've replaced the numbers with X's for privacy although I don't know if this would matter lol. Is this an issue in how I have it set up or is this due to the IPFIX packets being encrypted before being sent?

@sedmicha
Copy link
Collaborator

sedmicha commented Aug 11, 2023

This means that the collector doesn't have the definitions for those fields.

The EN and ID numbers of a field point to a table of "information element" definitions, which is how the collector figures out what the name, data type, semantic meaning etc. of that particular field is. <unknown>:<unknown> means that no definition was found for that particular EN:ID combination.

These definitions are stored locally in a .XML file (see https://github.com/CESNET/libfds/tree/master/config/system/elements). Definitions of all the standard IANA elements (signified by EN=0) are supplied, but if your IPFIX records contain any custom ones, you have to supply definitions for those yourself.

Regarding encryption, I'm not exactly sure what you mean. The iPFIX protocol doesn't directly support encryption as far as I know, and neither does our collector as of now. If you're somehow encrypting the data, then yes, that could be the cause of the issue as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants