-
Notifications
You must be signed in to change notification settings - Fork 7
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
Figure out & fix the LinkLayer issue with Raw #37
Labels
enhancement
New feature or request
Comments
synfinatic
added a commit
that referenced
this issue
Oct 17, 2020
Finally understood what was going on... TL;DR: gopacket/layers.LinkType is kinda fubar because DLT != Linktype. For more context: https://www.tcpdump.org/linktypes.html Fixes #37
synfinatic
added a commit
that referenced
this issue
Oct 19, 2020
Finally understood what was going on... TL;DR: gopacket/layers.LinkType is kinda fubar because DLT != Linktype. For more context: https://www.tcpdump.org/linktypes.html Fixes #37
synfinatic
added a commit
that referenced
this issue
Oct 19, 2020
Finally understood what was going on... TL;DR: gopacket/layers.LinkType is kinda fubar because DLT != Linktype. For more context: https://www.tcpdump.org/linktypes.html Fixes #37
synfinatic
added a commit
that referenced
this issue
Oct 21, 2020
Finally understood what was going on... TL;DR: gopacket/layers.LinkType is kinda fubar because DLT != Linktype. For more context: https://www.tcpdump.org/linktypes.html Fixes #37
synfinatic
added a commit
that referenced
this issue
Dec 13, 2020
Finally understood what was going on... TL;DR: gopacket/layers.LinkType is kinda fubar because DLT != Linktype. For more context: https://www.tcpdump.org/linktypes.html Fixes #37
synfinatic
added a commit
that referenced
this issue
Oct 12, 2021
Finally understood what was going on... TL;DR: gopacket/layers.LinkType is kinda fubar because DLT != Linktype. For more context: https://www.tcpdump.org/linktypes.html Fixes #37
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The whole thing about Raw interfaces is because LinkLayer for RAW is 101, but calling pcap.Handle.LinkType() returns the DLT not the LinkType! The result is for Raw interfaces you get either 12 or 14 (depending on OS) instead of 101 which causes nothing but pain. :-/
The text was updated successfully, but these errors were encountered: