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

unpack_gre flag in sflow_plugin not working for IPv6 #1010

Open
Nuyek opened this issue Jul 14, 2024 · 4 comments
Open

unpack_gre flag in sflow_plugin not working for IPv6 #1010

Nuyek opened this issue Jul 14, 2024 · 4 comments

Comments

@Nuyek
Copy link

Nuyek commented Jul 14, 2024

IPv6 is not unpacked correctly with the unpack_gre flag with the sflow_plugin.

Fastnetmon Version: 1.2.7
OS: Debian 12

PCAP data:
https://files.nuyek.com/u/8xv86u.pcap

@pavel-odintsov
Copy link
Owner

pavel-odintsov commented Jul 15, 2024

Hello!

Thank you!

I can replicate error:

2024-07-15 18:08:37,684 [DEBUG] sflow: Cannot parse nested packet using ng parser: broken_gre
2024-07-15 18:08:37,684 [DEBUG] sflow: Cannot parse nested packet using ng parser: broken_gre
2024-07-15 18:08:37,684 [DEBUG] sflow: Cannot parse nested packet using ng parser: broken_gre
2024-07-15 18:08:37,684 [DEBUG] sflow: Cannot parse nested packet using ng parser: broken_gre
2024-07-15 18:08:37,684 [DEBUG] sflow: Cannot parse nested packet using ng parser: broken_gre
2024-07-15 18:08:37,684 [DEBUG] sflow: Cannot parse nested packet using ng parser: broken_gre

@pavel-odintsov
Copy link
Owner

It's slightly tricky to investigate this case as it's nested deeply in sFlow packet.

Can you capture pcap of GRE with IPv6 inside? Few packets should be enough.

Thank you!

@Nuyek
Copy link
Author

Nuyek commented Aug 1, 2024

Here's the PCAP data with some GRE IPv6.

https://files.nuyek.com/u/0P6IJ8.pcap

@pavel-odintsov
Copy link
Owner

0P6IJ8(1).zip

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