Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packet drops with USB (Gigabit) Ethernet adapter with ASIX chipset #172

Open
JasMan78 opened this issue May 22, 2020 · 3 comments
Open

Packet drops with USB (Gigabit) Ethernet adapter with ASIX chipset #172

JasMan78 opened this issue May 22, 2020 · 3 comments

Comments

@JasMan78
Copy link

Hi,

I've bought a USB 3.0 10/100/1000 Ethernet adapter with AX88179 chipset from UGREEN to capture packets with Wireshark 3.2.3/3.2.4 on my Win10 client.

When I did the first capture I realized that there are a lot of "Previous segment not captured" messages in different TCP streams. So I started a second capture on the client side interface to compare them both. The capture of the client sides interface had no lost packets, but the capture of the USB adapter showed about 200 "Previous segment not captured" messages in one minute of 200 kbit/s traffic.

To verify that the adapter has no hardware defect, I tried some other adapters:

  • UGREEN USB 3.0 Gigabit 10/100/1000Mbps Ethernet Adapter (ASIX AX88179)

  • Plugable USB 3.0 Gigabit Ethernet Adapter USB3-E1000 (ASIX AX88179)

  • Plugable USB 2.0 Ethernet Adapter USB2-E100 (ASIX AX88772)

All of them are having the same issue.
I've already did the following troubleshootings without success:

  • Changed original drivers of USB adapters to the one from ASIX

  • Tested adapters with another Win10 client

  • Capture with an internal on-board-LAN port from Realtek with the same span port -> no "Previous segment not captured" messages. Conclusion: Switch/span port is fine.

  • Gigabit USB adapters has no packet drops as LAN interface. 952 Mbit/s throughput (iPerf3) without unusual error frames.

  • Disabled all energy-saving and offloading options of the USB adapters

  • Raised capture buffer to 500MB

  • Captured with dumpcap.exe (the summary at the end says "No lost packets")

  • Downgrade npcap from 0.9991 to 0.9987

Now I'm not sure if this is an issue with ASIX chipset in general, or something with npcap. I'm also wondering why I haven't found any other reports related to this behaviour. Is it me only?

DiagReport-20200522-161455.txt

@Gl0
Copy link

Gl0 commented Jun 5, 2020

Not sure if it is the same issue or not, but a lot of our users are suffering from missing packets in captured stream. One of them provided a wireshark dump, it is full of "Previous segment not captured", "TCP ACKed unseen segment" and TCP retransmissions. Dump summary also states that there is 0 lost packets.
dump
He is using Realtek RTL8111G on windows 10 2004. May be related to recent windows update.

Looking at our logs, it usually miss the same packets on each new session, and often the same packets for different users.

After switching from npcap to win10pcap issue is gone and dump is clear, so there is definitely something wrong with npcap.

@dmiller-nmap
Copy link
Contributor

We have made a lot of changes related to statistics (dropped/received counters) and performance in Npcap 0.9997. Please test with that version and let us know if this issue persists. Thanks!

@JasMan78
Copy link
Author

JasMan78 commented Sep 4, 2020

After a first short test I can confirm that's better now, but not completly solved. I still see single lost frames, but not hundreds as before.
In the meantime I bought an TP-Link UE300 adapter with RTL8153 chipset and that one works fine. Until now I havn't seen any lost frame with this adapter. This issue has been solved for me by buying an new adapter, but I can support you with further tests of course.
Anyway, I appreciate your efforts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants