Giter Club home page Giter Club logo

Comments (6)

davidbolvansky avatar davidbolvansky commented on June 2, 2024 1

Thanks for hints.

I observed when I changed snapshotLength to 65536, this problem was also fixed.

from pcapplusplus.

tigercosmos avatar tigercosmos commented on June 2, 2024

can you provide pcap files?

from pcapplusplus.

davidbolvansky avatar davidbolvansky commented on June 2, 2024

chunked traffic.zip

from pcapplusplus.

davidbolvansky avatar davidbolvansky commented on June 2, 2024

I have this POC code to read from pcap: https://pastebin.com/31LxGqJU

But in this case, I cannot observe this bug.. 🤔 https://justpaste.it/a5knx

from pcapplusplus.

davidbolvansky avatar davidbolvansky commented on June 2, 2024

After some retries I can also observe "6272 bytes missing" (nondetermistically printed):

"amount":22990,"photoUrl":"https://rukminim1.flixcart.com/image/832/832/k7nnrm80/refrigerator-new/6/z/f/gl-s292rdsy-2-lg-original-imafpujn
TCP data from port 49912 to port 5000 | Data length: 25 bytes
Data: [6272 bytes missing]0


TCP connection ended between 127.0.0.1:49912 and 127.0.0.1:5000 | Reason: 0

from pcapplusplus.

seladb avatar seladb commented on June 2, 2024

@davidbolvansky it's hard to say why this is happening on live traffic but not from a pcap file. It probably shows that the issue is not with the TCP reassembly logic, but something with how packets are captured. Maybe there is a packet loss (packets that libpcap drops due to too much traffic or some other reason?). The fact that you see missing bytes can indicate that not all packets are being captured and/or sent to TCP reassembly

from pcapplusplus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.