tcpdump mailing list archives

About libpcap version display on Windows


From: Yang Luo <hsluoyb () gmail com>
Date: Fri, 1 Jul 2016 15:00:22 -0700

Hi list,

The current libpcap on Windows shows the version string in the "About
Wireshark" window as (
https://github.com/the-tcpdump-group/libpcap/blob/master/pcap.c#L2118-L2123
):
with WinPcap version 4.0 (packet.dll version 0.07), based on libpcap
version 1.x.y

For latest Npcap 0.07 r17, it shows:
with Npcap version 0.07, based on WinPcap version 4.1.3 (packet.dll version
4.1.0.2980), based on libpcap version 1.0 branch 1_0_rel0b (20091008)

I think the expected result can be:
with Npcap version 0.07, based on libpcap version 1.x.y

1) "WinPcap" string is hard-coded in pcap.c. So I think we can add the
"Npcap" version into the libpcap repo? I'm also OK if you want to add
“based on WinPcap version 4.1.3” behind the Npcap version.
2) It shows "libpcap version 1.x.y" instead of "1.7.4". Is this a bug? I
think it's better to show "1.7.4"?


Cheers,
Yang
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

Current thread: