tcpdump mailing list archives
Re: capture and inject device capabilities in libpcap
From: Guy Harris <gharris () sonic net>
Date: Mon, 18 Nov 2024 12:44:14 -0800
On Nov 18, 2024, at 12:15 PM, Michael Richardson <mcr () sandelman ca> wrote:
Denis Ovsienko <denis () ovsienko info> wrote:One complication here is that in some cases libpcap may not be aware of a device capability until it gets an error from the OS (as is the case with PCAP_ERROR_CAPTURE_NOTSUP in pcap-linux.c), so pcap_findalldevs() would not be able to set "this device can capture" and "this device canAre there any operating systems can provide this info?
More than just operating systems - the DAG card drivers are from Endace, not the OS supplier.
Maybe this becomes an upstream (Kernel) request.
I think most platforms support capturing and injecting on all network interfaces (as long as you have permission to open them). _______________________________________________ tcpdump-workers mailing list -- tcpdump-workers () lists tcpdump org To unsubscribe send an email to tcpdump-workers-leave () lists tcpdump org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Current thread:
- capture and inject device capabilities in libpcap Denis Ovsienko (Nov 18)
- Re: capture and inject device capabilities in libpcap Michael Richardson (Nov 18)
- Re: capture and inject device capabilities in libpcap Guy Harris (Nov 18)
- Re: capture and inject device capabilities in libpcap Guy Harris (Nov 18)
- Re: capture and inject device capabilities in libpcap Denis Ovsienko (Dec 01)
- Re: capture and inject device capabilities in libpcap Michael Richardson (Nov 18)
