** Also affects: libpcap (Ubuntu)
Importance: Undecided
Status: New
** Changed in: linux (Ubuntu)
Status: Incomplete => Invalid
** Summary changed:
- [focal, jammy]Enable rdma-sniffer for libpcap
+ Enable rdma-sniffer for libpcap
** Also affects: libpcap (Ubuntu Focal)
Importance: Undecided
Status: New
** Also affects: linux (Ubuntu Focal)
Importance: Undecided
Status: New
** Also affects: libpcap (Ubuntu Jammy)
Importance: Undecided
Status: New
** Also affects: linux (Ubuntu Jammy)
Importance: Undecided
Status: New
** Also affects: libpcap (Ubuntu Kinetic)
Importance: Undecided
Status: New
** Also affects: linux (Ubuntu Kinetic)
Importance: Undecided
Status: New
** Also affects: libpcap (Ubuntu Bionic)
Importance: Undecided
Status: New
** Also affects: linux (Ubuntu Bionic)
Importance: Undecided
Status: New
** Also affects: libpcap (Ubuntu Lunar)
Importance: Undecided
Status: New
** Also affects: linux (Ubuntu Lunar)
Importance: Undecided
Status: Invalid
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2006557
Title:
Enable rdma-sniffer for libpcap
Status in libpcap package in Ubuntu:
New
Status in linux package in Ubuntu:
Invalid
Status in libpcap source package in Bionic:
New
Status in linux source package in Bionic:
New
Status in libpcap source package in Focal:
New
Status in linux source package in Focal:
New
Status in libpcap source package in Jammy:
New
Status in linux source package in Jammy:
New
Status in libpcap source package in Kinetic:
New
Status in linux source package in Kinetic:
New
Status in libpcap source package in Lunar:
New
Status in linux source package in Lunar:
Invalid
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://github.com/the-tcpdump-group/tcpdump.git
$ git clone https://github.com/the-tcpdump-group/libpcap.git
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 !
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpcap/+bug/2006557/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp