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

Warning: Unable to process unsupported DLT type: Ethernet (0x1) #835

Closed
KatherineJXY opened this issue Dec 13, 2023 · 3 comments
Closed
Assignees
Labels
Projects

Comments

@KatherineJXY
Copy link

KatherineJXY commented Dec 13, 2023

I was trying to replay the packets using the tcpreplay tool and got an error: "Warning: Unable to process unsupported DLT type: Ethernet (0x1)."
tcpreplay version: 4.4.3
Pcap file: https://pages.cs.wisc.edu/~tbenson/IMC_DATA/univ1_trace.tgz
Any clues?

@fklassen
Copy link
Member

fklassen commented Jun 9, 2024

Your captures are full of malformed packets. Tcpreplay is simply dropping the invalid ones. found some packets in trace that are wrongly flagged as bad packets. I'll fix those, but other packets in this trace are just bad.
image

@fklassen fklassen closed this as completed Jun 9, 2024
@fklassen
Copy link
Member

fklassen commented Jun 9, 2024

After more review, determined that some EtherType I packets are wrongly flagged as as bad. For example, packet #114 in test.pcap.

@fklassen fklassen reopened this Jun 9, 2024
@fklassen fklassen added bug and removed not a bug labels Jun 9, 2024
@fklassen fklassen self-assigned this Jun 9, 2024
@fklassen fklassen added this to To do in 4.5 via automation Jun 9, 2024
fklassen added a commit that referenced this issue Jun 9, 2024
Support packet numbers and warnings for all failing paths
fklassen added a commit that referenced this issue Jun 9, 2024
We can only support IPv4 and IPv6. Suppress warning for other protocols.

Also add extra checks for invalid types and lengths.
fklassen added a commit that referenced this issue Jun 9, 2024
…arnings

Bug #835 false unsupported dlt warnings on 802.3 (Ethernet I) and LLC
@fklassen
Copy link
Member

fklassen commented Jun 9, 2024

Fixed in PR #880

@fklassen fklassen closed this as completed Jun 9, 2024
4.5 automation moved this from To do to Done Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
4.5
Done
Development

No branches or pull requests

2 participants