dotpcap / sharppcap

Official repository - Fully managed, cross platform (Windows, Mac, Linux) .NET library for capturing packets
1.33k stars 268 forks source link

Timeval unchanged between captured packets in Example03 #470

Closed FlightlessKiwi closed 1 year ago

FlightlessKiwi commented 1 year ago

Running the sample always returns the same time stamp 19:36:25,868, even between invocations. Is it a bug?

kayoub5 commented 1 year ago

Timestamp comes from PCAP library What Libpcap / Npcap version do you have installed?

kayoub5 commented 1 year ago

Possibly caused by https://github.com/nmap/npcap/issues/668, upgrade to latest Npcap if that's the case

FlightlessKiwi commented 1 year ago

The Npcap that was installed on my windows 11 is 1.74. I notice that there is now a 1.76. I'll try to upgrade it and report back if that solves the problem.

On Tue, Aug 8, 2023 at 3:45 AM Ayoub Kaanich @.***> wrote:

Possibly caused by nmap/npcap#668 https://github.com/nmap/npcap/issues/668, upgrade to latest Npcap if that's the case

— Reply to this email directly, view it on GitHub https://github.com/dotpcap/sharppcap/issues/470#issuecomment-1669377574, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBZJNEYAOEANDIZIDH3IBILXUIKFHANCNFSM6AAAAAA3IHG22A . You are receiving this because you authored the thread.Message ID: @.***>

FlightlessKiwi commented 1 year ago

Npcap 1.76 fixes the issue. Thanks.

On Tue, Aug 8, 2023 at 3:44 AM Ayoub Kaanich @.***> wrote:

Timestamp comes from PCAP library What Libpcap / Npcap version do you have installed?

— Reply to this email directly, view it on GitHub https://github.com/dotpcap/sharppcap/issues/470#issuecomment-1669376188, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBZJNE5YJF7TACOMN3JZXJDXUIKBVANCNFSM6AAAAAA3IHG22A . You are receiving this because you authored the thread.Message ID: @.***>