google / gvisor

Application Kernel for Containers

Home Page:https://gvisor.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for PACKET_RX_RING w/ TPACKET_V2

hbhasker opened this issue · comments

Description

In issue #6664 (comment) it was discovered that the latest versions of libpcap have removed all non-mmapped packet capture support as of this commit the-tcpdump-group/libpcap@457027a.

Which means latest versions of tcpdump do not work in gVisor. We will need to add support for PACKET_RX_RING w/ TPACKET_v2 at least to be able to support tcpdump. We can punt on PACKET_TX_RING for now as its not required for tcpdump. TPACKET_v3 is more complicated and probably not required at the moment.

Is this feature related to a specific bug?

#6664

Do you have a specific solution in mind?

No response

A friendly reminder that this issue had no activity for 120 days.