warjiang / dpkt

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

Unsupported Control Packet Subtypes #128

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
In the ieee80211.py file, there is no support for multiple "Control Type" 
subtypes (noted below)

What is the expected output? What do you see instead?
Unable to parse multiple "Control Type" subpackets (or missing important 
information in subtype class header) 

What version of the product are you using? On what operating system?
DPKT v1.8 on Windows 7

Please provide any additional information below.
Please see the attached capture file ("Capture-06302014.pcap") for example 
packets. 

- CONTROL Subtype 14: C_CF_END (Packet Reference #'s: 444, 1300, 1333, 2765, 
3297, 3302, 3493, 4149, 4522, etc.
--> NOTE1: Will receive a "Key Error: 1 14" print statement on the console for 
the packets number references mentioned above.
--> NOTE2: In particular, most interested in the MAC Address for the Source and 
Destination

- CONTROL Subtype 8: C_BLOCK_ACK_REQ(Packet Reference #'s: 3385
--> NOTE: Unable to capture the packet destination or source from the header 
provided by the "BlockAckReq" class

Original issue reported on code.google.com by kokopell...@gmail.com on 7 Jul 2014 at 8:43

GoogleCodeExporter commented 9 years ago
Forgot attachment (pcap file) for original post....see attached here :)

Original comment by kokopell...@gmail.com on 7 Jul 2014 at 11:59

Attachments:

GoogleCodeExporter commented 9 years ago
Fixes for both issues merged. Please try again with the updated trunk.

Original comment by timur.al...@gmail.com on 8 Jul 2014 at 4:26

GoogleCodeExporter commented 9 years ago
I can confirm the code changes work - thank you (again)!

Original comment by kokopell...@gmail.com on 15 Jul 2014 at 12:31