djhenderson / dpkt

Automatically exported from code.google.com/p/dpkt
Other
1 stars 0 forks source link

IEEE Compressed Block ACK decoding fails #105

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

- Try to parse the attached packet (in pcap file) using radiotap and ieee80211 
headers. 

What is the expected output? What do you see instead?

- You'll get a NeedData exception instead of the decoded packet.

What version of the product are you using? On what operating system?

- latest from svn at ubuntu with python 2.7

Please provide any additional information below.

There are two types of block-acks, basic (with 128bytes bitmap) and compressed 
(with 8 bytes bitmap). Currently dpkt only works for the basic and fails when a 
compressed ack is met. I attach a diff that interprets compressed backs instead 
of basic backs, obviously different decoding is needed for each of these 
categories!

Thanks,
Y.

Original issue reported on code.google.com by gyiakou...@gmail.com on 3 Apr 2013 at 12:49

Attachments:

GoogleCodeExporter commented 9 years ago
Have a patch for this -- will merge shortly.

Original comment by timur.al...@gmail.com on 3 Jul 2014 at 10:28

GoogleCodeExporter commented 9 years ago
Fixed in trunk.

Original comment by timur.al...@gmail.com on 3 Jul 2014 at 11:21