I captured a 70MB tcpdump of a linux client that downloads many big files with curl. At some point curl aborts the download with the errror

transfer closed with 3304876121 bytes remaining to read

(the bytes differ every time)

I now want to gather more details about the cause of that so I decided to create and analyze a tcpdump. The Problem now is, that I don't have much experience with tcpdump analyzing except basic filtering and following streams.

Could you please advice me on how I can find the right stream and gather some info's regarding the cause of the abortion?

I'm using wireshark 2.2.3 on Win10 to analyze the traffic.

1 Answer 1


You can use source and destination filter in wireshark: ip.src== and ip.dst== if it's http you can add filter: tcp.port == 80 or tcp.port == 443 for ssl. When you find your stream you can click "Follow TCP Stream". You can compare time of failed download and apply time filter to narrow yours search.

Unfortunately there is no way to filter failed download unless you know reason for fail or some additional information.

  • 1
    Thx. That helped me finding the problem :)
    – hypnomaki
    Feb 6, 2017 at 12:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.