tcpdump mailing list archives

Re: Compile libpcap with DLT_LINUX_SLL2


From: Francois-Xavier Le Bail via tcpdump-workers <tcpdump-workers () lists tcpdump org>
Date: Tue, 31 Mar 2020 05:09:03 -0400 (EDT)

--- Begin Message --- From: Francois-Xavier Le Bail <devel.fx.lebail () orange fr>
Date: Tue, 31 Mar 2020 11:10:15 +0200
On 31/03/2020 00:04, Petr Vorel wrote:
Hi Guy,

BTW man pages (pcap.3pcap.in, pcap_datalink.3pcap.in, pcap_loop.3pcap and
pcap_next_ex.3pcap) mention only DLT_LINUX_SLL.

Fixed in commit ffb99eceefd31771a4aa89f0da5d02a3c53cfd03.
Thanks a lot!

BTW how about DLT_LINUX_SLL2 as the default? What does it block?

To avoid breaking program that cannot use SLL2, could we have an API like
pcap_set_cooked_default_ssl2() or pcap_set_default_ssl2_on_any() and use it in tcpdump?

-- 
Francois-Xavier

--- End Message ---
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

Current thread: