Ticket #644 (new defect)

Opened 5 months ago

Last modified 3 months ago

excessive CPU usage during fake auth. and injection

Reported by: zack Owned by:
Priority: major Milestone: 1.1
Component: aireplay-ng Version: trunk
Keywords: Cc:

Description (last modified by misterx) (diff)

Fake auth. and injection in conjunction with airodump-ng results in excessive CPU utilization.

Here are 2 screenshots:

1. This one shows draining the cpu during fake auth. with normal parameters: -1 0 -a xxx mon0 (hihgcpu.png)
2. That one shows aireplay-ng injecting and airodump-ng collecting (cpufake.png)

Facts:

  • P4 mobile cpu
  • kernel 2.6.28-13 /ubuntu 9/
  • fedora 11 kernel .29
  • on both gnome and kde
  • lastest svn of aircrack-ng
  • issue with b43, zd1211rw and rtl8187

Attachments

hihgcpu.png Download (121.3 KB) - added by misterx 5 months ago.
cpufake.png Download (119.6 KB) - added by misterx 5 months ago.
test_auth1.png Download (204.5 KB) - added by Jano 5 months ago.
test_auth
test_inject1.png Download (212.8 KB) - added by Jano 5 months ago.
test_injec

Change History

Changed 5 months ago by misterx

Changed 5 months ago by misterx

  Changed 5 months ago by misterx

  • priority changed from critical to major
  • description modified (diff)

  Changed 5 months ago by Jano

For me work without problems.
Tested with:
Ubuntu 8.04 32 bit (Kernel 2.24.24)
Ubuntu 9.04 32 bit (Kernel 2.6.28)
Alfa + r8187

Bye Jano

Changed 5 months ago by Jano

test_auth

Changed 5 months ago by Jano

test_injec

in reply to: ↑ description   Changed 5 months ago by Zack

RC1 could not compile on Ubuntu 9.04 so I compiled RC2 of aircrack-ng -- the results are the same. Excessive CPU drainage. If there's a bug in the code, it surely dates from much older versions.

Let me know if I can be of some further assistance.

follow-up: ↓ 5   Changed 5 months ago by misterx

What are the compilation errors of rc1 on ubuntu 9.04? I'm nearly sure they are easy to fix.

in reply to: ↑ 4   Changed 5 months ago by anonymous

Replying to misterx:

What are the compilation errors of rc1 on ubuntu 9.04? I'm nearly sure they are easy to fix.

Here it is:

cc1: warnings being treated as errors
linux.c: In function ‘is_ndiswrapper’:
linux.c:164: error: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
linux.c: In function ‘linux_set_rate’:
linux.c:355: error: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
linux.c: In function ‘linux_set_channel’:
linux.c:729: error: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
linux.c:751: error: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
linux.c:767: error: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
linux.c: In function ‘linux_set_freq’:
linux.c:820: error: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
linux.c: In function ‘set_monitor’:
linux.c:941: error: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
linux.c:961: error: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
linux.c:980: error: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
linux.c:997: error: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
linux.c:1035: error: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
linux.c:1043: error: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
linux.c:1051: error: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
linux.c: In function ‘do_linux_open’:
linux.c:1425: error: ignoring return value of ‘system’, declared with attribute warn_unused_result
linux.c:1474: error: ignoring return value of ‘system’, declared with attribute warn_unused_result
linux.c:1495: error: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
linux.c:1521: error: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
linux.c:1539: error: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
linux.c:1553: error: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
linux.c:1598: error: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
linux.c:1627: error: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
make[3]: *** [linux.o] Error 1
make[3]: Leaving directory `/home/zack/aircrack-ng-1.0-rc1/src/osdep'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/zack/aircrack-ng-1.0-rc1/src/osdep'
make[1]: *** [osd] Error 2
make[1]: Leaving directory `/home/Music/aircrack-ng-1.0-rc1/src'
make: *** [all] Error 2

  Changed 3 months ago by misterx

  • version changed from 1.0-rc3 to trunk
  • milestone changed from 1.0 to 1.1

Add/Change #644 (excessive CPU usage during fake auth. and injection)

Author


E-mail address and user name can be saved in the Preferences.


Action
as new
 
Note: See TracTickets for help on using tickets.