Giter VIP home page Giter VIP logo

Comments (4)

PhyxionNL avatar PhyxionNL commented on May 26, 2024

There's very little documentation regarding DRDA packets, but I think the current DRDA implementation (which was added in 0.17) is a very limited way of checking if it's actually a DRDA packet (it's not hard to imagine that another packet arrives with 0xD0 on that position). That said, the data shouldn't get corrupted and you can still access the bytes directly of course.

from packetnet.

PhyxionNL avatar PhyxionNL commented on May 26, 2024

I think I've managed to find a fix for this, based on the Wireshark code, I'll submit a PR.

from packetnet.

Gl0 avatar Gl0 commented on May 26, 2024

I've found it when start missing packets after updating dependencies.
May be I'm using Packet.Net in the wrong way?
payload = tcpPacket.PayloadData;

from packetnet.

PhyxionNL avatar PhyxionNL commented on May 26, 2024

That's OK, but for performance you might want to use BytesHighPerformance instead. However, there shouldn't be missing packets or data, you can always access the original data. The 'sub' packets are just for parsing only.

I think the PR I've just submitted should fix it though, I don't have any DRDA hits anymore (I used to have them sometimes).

from packetnet.

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.