Enable rdma-sniffer for libpcap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libpcap (Debian) |
Won't Fix
|
Unknown
|
|||
libpcap (Ubuntu) |
Fix Released
|
Wishlist
|
dann frazier | ||
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Lunar |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi,
The request is to build and configure stock package libpcap with rdma-sniffer enabled.
We'd like users of rdma devices to be able to sniff on them using stock tcpdump.
Currently when using default tcpdump It does not list rdma devices.
$ tcpdump -D |grep -i rdma
$
when using locally build tcpdump (with rdma enabled)
$ cd <tcpdump source folder>
$ ./tcpdump -D |grep -i rdma
24.rocep4s0 (RDMA sniffer)
25.rocep7s0f0 (RDMA sniffer)
26.rocep7s0f1 (RDMA sniffer)
27.rocep10s0f0 (RDMA sniffer)
28.rocep10s0f1 (RDMA sniffer)
29.rocep33s0f0 (RDMA sniffer)
30.rocep33s0f1 (RDMA sniffer)
31.rocep36s0f0 (RDMA sniffer)
32.ibp36s0f1 (RDMA sniffer)
Locally build steps:
clone sources:
$ mkdir tcpdumpbuild
$ cd tcpdumpbuild/
$ git clone https:/
$ git clone https:/
install required packages (including rdma packages so libpcap is built with rdma enabled):
$ apt install flex bison librdmacm-dev librdmacm1 rdma-core rdmacm-utils
configure and build
$ cd libpcap
$ ./autogen.sh
$ ./configure --enable-rdma=yes
$ make
cd ../tcpdump/
./autogen.sh
./configure
$ make
now ./tcpdump -D can show rdma devices.
Thanks !
Changed in linux (Ubuntu): | |
status: | Incomplete → Invalid |
summary: |
- [focal, jammy]Enable rdma-sniffer for libpcap + Enable rdma-sniffer for libpcap |
no longer affects: | libpcap (Ubuntu Bionic) |
no longer affects: | linux (Ubuntu Bionic) |
no longer affects: | linux (Ubuntu Focal) |
no longer affects: | linux (Ubuntu Jammy) |
no longer affects: | linux (Ubuntu Kinetic) |
Changed in libpcap (Debian): | |
status: | Unknown → Won't Fix |
no longer affects: | libpcap (Ubuntu Focal) |
no longer affects: | libpcap (Ubuntu Jammy) |
no longer affects: | libpcap (Ubuntu Kinetic) |
no longer affects: | libpcap (Ubuntu Lunar) |
Changed in libpcap (Ubuntu): | |
importance: | Low → Wishlist |
tags: | added: server-triage-discuss |
tags: | removed: server-triage-discuss |
Changed in libpcap (Ubuntu): | |
status: | Incomplete → Triaged |
Changed in libpcap (Ubuntu): | |
assignee: | nobody → dann frazier (dannf) |
status: | Triaged → In Progress |
Changed in libpcap (Ubuntu): | |
status: | In Progress → Fix Committed |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 2006557
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.