![]() |
|
|||||||
| Register | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#46 (permalink) | |
|
Emergence
Join Date: Jul 2004
Location: Paris
Posts: 389
|
Quote:
|
|
|
|
|
|
|
#48 (permalink) | |
|
Emergence
Join Date: Jul 2004
Location: Paris
Posts: 389
|
Quote:
Code:
< ap_cur->nb_pkt++; --- > if( h80211[0] != 0x80 ) > ap_cur->nb_pkt++; This will be fixed in beta8, along with a new algorithm which should make WEP cracking more reliable when you got more than 1M IVs. The basic idea is that, sometimes the key isn't found even with lots and lots of IVs, because all keybytes but one have been found. So this algorithm assumes all votes are correct except for one keybyte, and then tries the 256 possibilities for each keybyte, starting from KB 12 to KB 0. Last edited by Dutch : 07-17-2005 at 04:51 AM. Reason: Inserted code tags around patch snippet for clarity |
|
|
|
|
|
|
#49 (permalink) |
|
Member at large
Join Date: Aug 2004
Posts: 121
|
Not a bug per-se, but for the life of me I cannot get the hostap drivers to work with the 1.7.4 firmware. I am using 1.5.6, and it seems to work fine.
I had some problems getting hostap to work at all after reloading linux on my laptop, and for some reason now I have to issue 'iwpriv wlan0 reset 1' prior to running airodump, or i get no networks, patckets, zero, nada, nil. I don't know if anyone else had this problem with hostap, but i thought I would mention it.... thanks cd g |
|
|
|
|
|
#50 (permalink) | |
|
Emergence
Join Date: Jul 2004
Location: Paris
Posts: 389
|
Quote:
|
|
|
|
|
|
|
#51 (permalink) |
|
Member at large
Join Date: Aug 2004
Posts: 121
|
I noticed beta9 is out....
Using the HostAP drivers, the power level listed in airodump as -1 for all APs. If I run an earlier version (ie beta7) first, then the power level is reported fine in with beta9. Other than that, no problems....(so far) g |
|
|
|
|
|
#52 (permalink) |
|
Humourless EuroMod.
Join Date: Mar 2004
Location: City of Mermaids, Denmark
Posts: 6,813
|
Madwifi patch for reinjection can't be applied to the current cvs revision of the Madwifi driver, most probably due to the latter's changes to accomodate radiotap headers at a future date.
Hunks 1, 2, 6, 7, 9 & 10 fails. Reject file follows : Code:
***************
*** 1113,1119 ****
/*
* Encapsulate the packet for transmission.
*/
- skb = ieee80211_encap(ic, skb, &ni);
if (skb == NULL) {
DPRINTF(sc, ATH_DEBUG_XMIT,
"%s: discard, encapsulation failure\n", __func__);
--- 1113,1120 ----
/*
* Encapsulate the packet for transmission.
*/
+ if (ic->ic_opmode != IEEE80211_M_MONITOR)
+ skb = ieee80211_encap(ic, skb, &ni);
if (skb == NULL) {
DPRINTF(sc, ATH_DEBUG_XMIT,
"%s: discard, encapsulation failure\n", __func__);
***************
*** 2843,2849 ****
hdrlen = ieee80211_anyhdrsize(wh);
pktlen = skb->len;
- if (iswep) {
const struct ieee80211_cipher *cip;
struct ieee80211_key *k;
--- 2844,2850 ----
hdrlen = ieee80211_anyhdrsize(wh);
pktlen = skb->len;
+ if (iswep && ic->ic_opmode != IEEE80211_M_MONITOR) {
const struct ieee80211_cipher *cip;
struct ieee80211_key *k;
***************
*** 4309,4319 ****
break;
case IEEE80211_FC0_TYPE_DATA:
atype = HAL_PKT_TYPE_NORMAL; /* default */
/*
* Data frames; consult the rate control module.
*/
- ath_rate_findrate(sc, an, shortPreamble, skb->len,
- &rix, &try0, &txrate);
/*
* Default all non-QoS traffic to the background queue.
*/
--- 4320,4333 ----
break;
case IEEE80211_FC0_TYPE_DATA:
atype = HAL_PKT_TYPE_NORMAL; /* default */
+ rix = 0; /* XXX lowest rate */
+ try0 = ATH_TXMAXTRY;
/*
* Data frames; consult the rate control module.
*/
+ if (ic->ic_opmode != IEEE80211_M_MONITOR)
+ ath_rate_findrate(sc, an, shortPreamble, skb->len,
+ &rix, &try0, &txrate);
/*
* Default all non-QoS traffic to the background queue.
*/
***************
*** 4324,4329 ****
txq = sc->sc_ac2q[WME_AC_BK];
break;
default:
printk("%s: bogus frame type 0x%x (%s)\n", dev->name,
wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK, __func__);
/* XXX statistic */
--- 4338,4348 ----
txq = sc->sc_ac2q[WME_AC_BK];
break;
default:
+ if (ic->ic_opmode == IEEE80211_M_MONITOR) {
+ atype = HAL_PKT_TYPE_NORMAL; /* default */
+ txq = sc->sc_ac2q[skb->priority];
+ break;
+ }
printk("%s: bogus frame type 0x%x (%s)\n", dev->name,
wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK, __func__);
/* XXX statistic */
***************
*** 4508,4514 ****
, pktlen /* packet length */
, hdrlen /* header length */
, atype /* Atheros packet type */
- , MIN(ni->ni_txpower,60)/* txpower */
, txrate, try0 /* series 0 rate/tries */
, keyix /* key cache index */
, sc->sc_txantenna /* antenna mode */
--- 4533,4539 ----
, pktlen /* packet length */
, hdrlen /* header length */
, atype /* Atheros packet type */
+ , 60 /* txpower */
, txrate, try0 /* series 0 rate/tries */
, keyix /* key cache index */
, sc->sc_txantenna /* antenna mode */
***************
*** 4516,4521 ****
, ctsrate /* rts/cts rate */
, ctsduration /* rts/cts duration */
);
/*
* Setup the multi-rate retry state only when we're
* going to use it. This assumes ath_hal_setuptxdesc
--- 4541,4547 ----
, ctsrate /* rts/cts rate */
, ctsduration /* rts/cts duration */
);
+
/*
* Setup the multi-rate retry state only when we're
* going to use it. This assumes ath_hal_setuptxdesc
__________________
All your answers are belong to Google. SEARCH DAMMIT! Warning. Warning. Low C8H10N4O2 level detected. Operator halted.... |
|
|
|
|
|
#53 (permalink) | |
|
Emergence
Join Date: Jul 2004
Location: Paris
Posts: 389
|
Quote:
|
|
|
|
|
|
|
#54 (permalink) |
|
Member at large
Join Date: Aug 2004
Posts: 121
|
using beta10, hostap 0.3.9, smc2532w-b card
I tried the -3 and -4 attacks on a belkin ap, and found that the -3 attack never see's any ARPs, and the -4 attack does not generate any IVs (after forging). Strangely enough the -2 attack works fine when you select a size 68 arp packet and replay it to death... maybe I am doing something wrong, but even with the -2 attack running and collecting ivs, the -3 attack never see's any arps.... most of my tests previously just used the -1 alongside the -3 attack, and that seems to work fine on my linksys, but not my belkin.... I noticed also that when saving dumps with the .ivs (1) format, specifying the essid in arircrack does not work, only the bssid g Last edited by grcore : 07-25-2005 at 11:26 AM. |
|
|
|
|
|
#55 (permalink) | ||
|
Emergence
Join Date: Jul 2004
Location: Paris
Posts: 389
|
Quote:
Thanks. Quote:
|
||
|
|
|
|
|
#56 (permalink) |
|
Member at large
Join Date: Aug 2004
Posts: 121
|
I went to do it all over again and it works fine. I took a look back at the command history, and found out why one pc was not picking it up. Wrong channel...now I have egg on my face...haha (thats what I get for using numbers as filenames).
Anyway, just a note on the documentation. For the Prism54 drivers you need to add "depmod -a" at the end of the instructions. And in the instructions for the HostAP driver patching, -beta10/ is missing (but I suppose that will sort itself out when the final2.2 is released) G BTW: For those of you looking for compatible cards, justdeals.com has 2 of them on the cheap. An a/b/g Atheros card (NEC WarpStar) and a Prism54 (Netgear WG511) card, both for 19.95 ea shipped price (not sure about international shipping). The NEC card has an external antenna connector, but its a real oddball and I doubt you would find a plug anywhere. Last edited by grcore : 07-25-2005 at 05:51 PM. |
|
|
|
|
|
#57 (permalink) |
|
Member at large
Join Date: Aug 2004
Posts: 121
|
this one is sortofa bug:
when using aireplay with the -2 option and specifying -f 1, it will wait until a ToDS=1 packet arrives, then if you choose to replay this packet and then stop the replay via ctrl-c, it will then continue snifffing but it looses the -f 1 option and will respond to any packet... I know the -2 option is considered useless for capture/replay, but I have found instances where it is usefull. g |
|
|
|
|
|
#58 (permalink) | |
|
Emergence
Join Date: Jul 2004
Location: Paris
Posts: 389
|
Quote:
|
|
|
|
|