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

Handle sflow packet with gaps between samples #177

Merged
merged 1 commit into from
Feb 7, 2023

Conversation

dbardbar
Copy link
Contributor

Fixes #173

@akshah
Copy link
Collaborator

akshah commented Dec 29, 2022

Thanks @dbardbar. I am going through the PRs one by one, I will take a look at this next week.

@dbardbar
Copy link
Contributor Author

dbardbar commented Jan 10, 2023

@akshah,

Any news on this? I'll be happy to answer any questions about this PR, or any of the others.

@akshah
Copy link
Collaborator

akshah commented Feb 7, 2023

Looks good to me.

Tested by using TCP replay (tcpreplay -i bond0 /root/sflow_padding_between_samples-fixed.pcap) and using internal replay:

./vflow/replay-traffic/replay --interface bond0 --pcap /root/sflow_padding_between_samples-fixed.pcap

...^CProcessed a total of 1 messages

Noted that this message is not parsed correctly without this fix.

@akshah akshah merged commit ab973ef into Edgio:master Feb 7, 2023
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

Successfully merging this pull request may close these issues.

sflow packets with padding after sample is not parsed correctly
2 participants