-
Notifications
You must be signed in to change notification settings - Fork 154
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
GetPacketPayload error:slice bounds out of range [90:60] #705
Comments
According to source code,use -> as "point to",then
p.tcp->34,header length is 20 here according to the screenshot,and code excatly compute correctly.
But the tcp head length flag in the packet is 28,nff-go is also not wrong. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
code:
I read the source code and find that GetRawPacketBytes() only get mbuf length in one CMbuf struct,but ParseData parse all packets' payload if scattered?
Now update the pkt I capture,covert function is used to print the raw bytes as below.
and I save the packet .pcap as follows:
The text was updated successfully, but these errors were encountered: