Wireshark support for infiniband in Ubuntu

asked 2021-05-08 02:04:40 +0000

Javan gravatar image

updated 2021-05-10 11:55:42 +0000

grahamb gravatar image

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?

edit retag flag offensive close merge delete

Comments

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?

Guy Harris gravatar imageGuy Harris ( 2021-05-08 09:52:08 +0000 )edit

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.

Javan gravatar imageJavan ( 2021-05-11 08:27:48 +0000 )edit

libpcap version 1.8.1

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?

Guy Harris gravatar imageGuy Harris ( 2021-05-11 18:41:04 +0000 )edit

I am running ubuntu 18.04.5 LTS

Javan gravatar imageJavan ( 2021-05-12 01:52:43 +0000 )edit