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

fix: NetFlow v9 bad timestamp calculation #325

Merged
merged 6 commits into from
May 21, 2024
Merged

fix: NetFlow v9 bad timestamp calculation #325

merged 6 commits into from
May 21, 2024

Conversation

lspgn
Copy link
Member

@lspgn lspgn commented May 19, 2024

The uptime is in milliseconds and not seconds.
NetFlow v9 producer had a bug and the timestamps were wrong.

Closes #313 and #305

@lspgn lspgn added bug Something isn't working ipfix Related to IPFIX protocol producer Conversion from flow to protobuf labels May 19, 2024
@lspgn lspgn merged commit 7265159 into main May 21, 2024
1 check passed
@lspgn lspgn deleted the lspgn/fix-nfv9-time branch May 21, 2024 03:39
SquidRo pushed a commit to SquidRo/goflow2 that referenced this pull request Jun 19, 2024
Producer was assuming sysUptime was in seconds instead of milliseconds
SquidRo pushed a commit to SquidRo/goflow2 that referenced this pull request Jun 20, 2024
Producer was assuming sysUptime was in seconds instead of milliseconds
SquidRo pushed a commit to SquidRo/goflow2 that referenced this pull request Jun 20, 2024
Producer was assuming sysUptime was in seconds instead of milliseconds
lspgn added a commit that referenced this pull request Aug 19, 2024
Producer was assuming sysUptime was in seconds instead of milliseconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ipfix Related to IPFIX protocol producer Conversion from flow to protobuf
Projects
None yet
Development

Successfully merging this pull request may close these issues.

time_flow_start_ns and time_flow_end_ns is incorect value
1 participant