Ethereal-dev: [Ethereal-dev] [PATCH] updated 802.11 dissector redux

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Solomon Peachy <solomon@xxxxxxxxxxxxxx>
Date: Fri, 14 Jun 2002 13:36:36 -0400
http://www.shaftnet.org/~pizza/software/ethereal-wep.diff

Okay, I've incorporated most of Guy's suggestions.

Changes from the last patch:
1) New functions are static, and out of the .h file.
2) Instead of decrypting in-place, we create a child tvbuff with the
   decrypted data and all that fun stuff.  
3) Now the de-weping of fragments should actually work.  :)

It does not automagically detect whether or not the FCS is present because
there's no way to know based on the 802.11 headers.

One remaining question is what to do with WEP packets that we can't
decode.  Do we treat them as raw data, or pass them down to the llc
dissector?  

(Blame the aironet cards that de-wep stuff but leave the WEP bit+IV+ICV 
 in-place.  :)

 - Pizza
-- 
Solomon Peachy                        solomon@xxxxxxxxxxxxxx
AbsoluteValue Systems                 http://www.linux-wlan.com
715-D North Drive                     +1 (321) 259-0737  (office)
Melbourne, FL 32934                   +1 (321) 259-0286  (fax)

Attachment: pgp7XCgfB8NiK.pgp
Description: PGP signature