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

How does the sflow tool parse the sflow message? #42

Open
tongchenqiang opened this issue Jul 13, 2023 · 2 comments
Open

How does the sflow tool parse the sflow message? #42

tongchenqiang opened this issue Jul 13, 2023 · 2 comments

Comments

@tongchenqiang
Copy link

I want to modify the sflowtool to parse a specific form of sflow message.Do you know where the code for parsing sflow messages is in sflowtool?Thank you!

@tongchenqiang
Copy link
Author

I can collect sflow packets on port 6343 of the collector, but the packet content is different from common ones. There are 44 bytes of other content between the Ethernet and IP headers, so I cannot see the source and destination IPs when using sflowtoll to parse this packet. Do you know how to solve this problem? Or can I modify which part of the source code? Thank you!

@sflow
Copy link
Owner

sflow commented Aug 8, 2023

If you would like help with this, please share a pcap file and/or the output from tshark showing the packet header and how it can be decoded.

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