Ticket #82 (new new layer)

Opened 9 months ago

Last modified 2 months ago

AVS WLAN Monitor Header Support

Reported by: adeymo Assigned to: pbi
Priority: major Milestone: mainstream
Component: Scapy Version: 1.1.1
Keywords: Cc:

Description

I've a Netgear WG511 PCMCIA card with the prism54 module under linux 2.6.24-rc3. This card in monitor mode adds a header at begin of each packet (enabling the header with a 1 in set_prismhdr private ioctl (the default for me)). This header is recognized by wireshark as "AVS WLAN Monitor Header" (for now, with a length of 64 bytes), but scapy thinks that it is a PrismHeader? with a length of 144 bytes (the default). This breaks the real Dot11 packet over the Header.

Well, I've wrote my own class to handle this header (attached) based on the information found in packect-wlan.c from the wireshark source. I'm not sure on how to handle the size of the header (which is a field of the header), so someone must take a look at my code an probably fix it. Nevertheless, I think that that code is a good start.

On the other hand, I don't know to distinguish between the real PrismHeader? and this one. Using scapy 1.1.1-3 (from ubuntu hardy)

Attachments

avs.py (1.9 kB) - added by adeymo on 01/23/08 13:27:00.
AVSWALNHeader class for the layer definition
avswlan.cap (4.8 kB) - added by adeymo on 01/23/08 13:33:12.
Some Beacon packets with this header

Change History

01/23/08 13:27:00 changed by adeymo

  • attachment avs.py added.

AVSWALNHeader class for the layer definition

01/23/08 13:33:12 changed by adeymo

  • attachment avswlan.cap added.

Some Beacon packets with this header

08/15/08 15:46:52 changed by pbi

  • component changed from core to network layer.

Add/Change #82 (AVS WLAN Monitor Header Support)




Change Properties
Action