Ethereal-dev: Re: [Ethereal-dev] 802.11 dissector enhancements

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Wed, 12 Jun 2002 00:28:30 -0700
On Mon, Jun 10, 2002 at 05:39:06PM -0400, Solomon Peachy wrote:
> I've been working on the 802.11 dissector:
> 
> 1) Add full WEP decoding, if you have correct key, of course.
>    - user-specified list of keys (arbitrary key size and list size)
> 2) Rearrange code so that we can de-wep fragmented packets
>    - and other cleanups in the dissector
> 3) Properly identify the FCS at the end of an 802.11 frame. 
>    - actually, this will require it to be present -- according to the
>      802.11 spec, it should be there.  Some wireless cards pass it down,
>      and if they don't, the driver is broken.  *grin*
> 
> Aside from a couple of elusive bugs, the main thing left is UI work -- how
> should one specify the list of WEP keys?  Right now, I have that working
> through environment variables, but ideally I'd add a menu item
> (Tools->IEEE802.11) that would let you set the keys in a reasonably
> user-friendly (and cross-platform!) manner.

I haven't looked at 802.11 section 8 in great detail; it refers to a
"shared secret key" - would all stations whose packets appear in a
capture use the same key for all frames?  (I infer, perhaps incorrectly,
from "shared secret key" that all stations in the same IBSS share a
single key; I don't know how that'd apply to an ESS.)

If so, then one way to implement the list of keys would be as a
preference item; however, that would mean that the keys would be stored
in your preference file, which might not be considered a Good Idea.

Given that, perhaps we should add an additional mechanism for supplying
volatile parameters (i.e., settings that would *not* be stored in the
preference file) to dissectors.  One way to do that would be to support
both non-volatile and volatile preferences, with both of them showing up
in the "Edit->Preferences" pane for a protocol, although that might be
confusing as it wouldn't make it clear which preferences would be saved
if you click "Save" and which wouldn't be saved.

> I'll post the current patch as soon as I fix the remaining known bugs.
> 
> Meanwhile, suggestions on how best to proceed with the UI work?
> 
>  - 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)