Search Linux Wireless

Re: Packetspammer and iwlwifi fragility

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michael Wu wrote:

On Wednesday 07 March 2007 08:05, Andy Green wrote:
Also notice that packets cannot be sent by packetspammer until the
interface is brought up, which I guess is reasonable enough, but also I
found not until the interface was associated with a WPA network, which
is a problem if the plan is to use the injection action to do the work
of association in userspace.

There is a hostap/prism2 sub-ioctl to enable userspace mlme mode, which should fix that issue. Look around in ieee80211_ioctl.c for PRISM2_IOCTL_PRISM2_PARAM, ieee80211_ioctl_prism2_param, and PRISM2_PARAM_USER_SPACE_MLME for hints. These sub-ioctls are, of course, quite evil and need to be replaced, but it's a little better than hacking mac80211 to start with user_space_mlme enabled by default.

Thanks for that tip Michael, I found it needed only PRISM2_PARAM_ALLOW_BROADCAST_ALWAYS to work without association. So you only need to

 - bring the interface up, and

 - set the channel

before running it now.  The updated version can be had here:

http://warmcat.com/packetspammer-0.2.tar.gz

-Andy
-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux