-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Incorrectly parses FormErr packet #61
Comments
Thanks for such a detailed report and a PCAP to test against, can you verify the fix from my branch:
|
Hi Jerry, I went through a couple of days of data and all of the changes in the results are positive and have fixed the errors. Keep up the good work! Daniel. |
Although it does appear to be quite a bit slower :(
|
That would be the price, yeah. Let me tinker with this in a few weeks too
see if I can solve it in another way.
|
@danielgriggs Please rerun your processing tests :) |
Hi @jelu Thats looking great, Before patching; Just with the behaviour correction; Latest revision of that branch; With both of the patched versions having the correct behaviour. |
Yep, looks all good. |
@danielgriggs Great, thanks! I'll get a release out with this fix today then. |
Fix #61: Make sure variables are initialized
Hi,
Every few billion packets I find one that is incorrectly parsed. I would have thought by the next packet it would reset the state (or something) and correctly parse the next packet. But I have an example packet capture where this happens. Decoding the the packets with packetq shows,
1,1507765391,270720,2048,4175,53,"46.101.12.191","185.159.197.130",17,61,4,0,"pintael.nz.","",60087,39,0,0,0,0,0,4096,1,0,0,1,2,1,0,0,0,0,0,0,1,0,0,1,1,0,0,0,0,0,""
2,1507765391,271020,2048,20712,53,"91.209.84.9","185.159.197.130",17,118,4,0,"integro.co.nz.","",435,42,0,2,0,0,0,4000,1,0,0,1,15,1,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,""
3,1507765391,271070,2048,53,4175,"185.159.197.130","46.101.12.191",17,64,4,0,"pintael.nz.","",60087,1011,0,3,0,0,0,4096,1,0,8,1,2,1,0,0,0,1,0,0,1,0,0,1,1,1,0,0,0,0,""
4,1507765391,271103,2048,53,20712,"185.159.197.130","91.209.84.9",17,64,4,0,"pintael.nz.","",435,18,0,1,0,0,0,0,0,0,0,0,2,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,""
As you can see the forth packet as the incorrect domain in it, wireshark decodes the packet correctly.
PCAP sample attached.
incorrectly_parse_2.pcap.zip
The text was updated successfully, but these errors were encountered: