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

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: Thu, 13 Jun 2002 11:05:02 -0400
As I previously mentioned, here's a patch against current CVS for the
802.11 dissector:

http://www.shaftnet.org/~pizza/software/ethereal-wep.diff

1) Add full WEP decoding
   - User can set keys in the 802.11 preference page
   - up to four keys of up to 256 bits.
2) Re-arrange code so we can de-wep reassambled fragments.
3) Properly identify the FCS at the end of a frame
   - Toggleable in the preference page.  Defaults to on. 

The core supports an arbitrary number of keys, but the current prefs UI
limits the maximum number to four.  If you define USE_ENV then it will
pull a list of wep keys from environment variables (arbitrary list
length).  Alternatively, I'm considering allowing the user to specify a
file that contains the keys.  Comments welcome.

Would it be worth my adding another toggle to ignore the WEP bit in the
802.11 header and assume the packet is decrypted?  Personally, I'd rather
just fix the driver.  :)

 - 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: pgpEB0Jg5HAnF.pgp
Description: PGP signature