-
Notifications
You must be signed in to change notification settings - Fork 192
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
Wireshark/Tshark isn't reading output correctly #100
Comments
I have the same problem. tshark -v kubectl version
|
hey @voyger8472 and @Xartos, I'll be taking a look at this issue this week to see if I can repro and fix. |
I get the same behavior on a Google Kubernetes Engine Pod. |
Errors like For those of you with the option to upgrade tshark/wireshark, that's what I advise for now. I wish I could tell you a specific version but I'm having difficultly finding an audit trail for the header type 276 support was added to tshark/wireshark. I'm running Wireshark 3.4.z on Fedora 33 for what its worth. I'll keep checking to see if there's any options for those stuck on Ubuntu LTS with no more upgrades for Wireshark. |
The container image and binary ksniff uses to generate the packet capture is relatively new hence the mismatch here. |
@Xartos would you mind checking if you have the Ethernet proto enable or disabled? In Wireshark |
@bostrt Yes, the Ethernet proto is enabled. EDIT:
|
I confirm upgrading using this repository fixed my issue, thanks! |
Great! Thanks for the updates. As much as I'd like to support stock Ubuntu LTS I'm not sure this is feasible to resolve from ksniff side. I'll go ahead and close this with a mention in the README about your fix @Xartos. https://github.com/eldadru/ksniff#wireshark-and-tshark-cannot-read-pcap |
The environment in which the error occurred was the following. In this environment, I had only tshark installed.
When I tried a new installation of Wireshark, the error did not occur anymore.
|
What's the issue
When I try to sniff traffic with wireshark or tshark I get an error
pcap: network type 276 unknown or unsupported
or I just getHow to reproduce
I get the same error if I save the output to a file and then try to open it with wireshark.
However if I try to run ksniff directly to wireshark I get the traffic, but it's not able to decode it correctly
(Although if you look closely you see that in the raw data there's some HTTP traffic)
Version
ksniff is built from current master (f253ce9)
The text was updated successfully, but these errors were encountered: