Wireshark support for infiniband in Ubuntu
By reviewing the information, I thought that wireshark supports capturing on Infiniband, However When I use wireshark to catch infiniband packets, the following error is displayed.
- Running as user "root" and group "root". This could be dangerous.
- Capturing on 'ib0'
- tshark: Unable to set data link type on interface 'ib0' (INFINIBAND is not one of the DLTs supported by this device).
I don't know why this error is reported, Does wireshark not support for infiniband on Ubantu?
It probably does support it, but there might be a problem with the version of libpcap on Ubuntu. What does the command "tcpdump --version" print on your Ubuntu machine?
Sorry for the late reply, the print of the command "tcpdump --version" is: tcpdump version 4.9.3 libpcap version 1.8.1 OpenSSL 1.1.1 11 Sep 2018.
libpcap 1.8.1, as released by tcpdump.org, doesn't include any Infiniband capture support for anything other than Endace DAG cards, and those won't be named "ib0", so perhaps either Canonical or Deiban added their own Infiniband support, either from newer versions of libpcap or from their own work (in which case, they did something wrong to produce that output). Which version of Ubuntu are you running?
I am running ubuntu 18.04.5 LTS