Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#167 closed defect (fixed)

tcpreplay causes OS X WiFi to disassociate from AP

Reported by: aturner Owned by: aturner
Priority: high Milestone: 3.1
Component: tcpreplay Version: 3.0.0
Keywords: Cc:
Operating System: OS X Add to FAQ?: yes
Hardware: All
Output of tcpreplay -V:

Description

There's a bug in the OS X kernel or driver which causes the interface to disassociate from the AP when pcap_findalldevs() is called. I've opened Apple Bug ID# 5152213. Hopefully this will get fixed in 10.4.10 or so. Until then, I'll see about trying to not call this function.

Change History (8)

comment:1 Changed 10 years ago by aturner

  • Status changed from new to assigned

Guy Harris has informed me that libpcap 0.9.6 should have a fix for this. Hence, I should be able to do a libpcap version detection to optionally enable this code rather then just turning it off for all OS X.

comment:2 Changed 10 years ago by aturner

(In [1839]) don't use pcap_findalldevs() on OS X. refs #167

comment:3 Changed 10 years ago by aturner

Update from apple:
Hello Aaron,

This is a follow up to Bug ID# 5152213. After further investigation it has been determined that this is a known issue, which is currently being investigated by engineering. This issue has been filed in our bug database under the original Bug ID# 4903191. The original bug number being used to track this duplicate issue can be found in the State column, in this format: Duplicate/OrigBug?#.

If you have any additional questions related to this bug or wish to check on status of the original issue, please send an email to <devbugs@…>, referencing your Bug ID# 5152213.

Thank you for submitting this bug report. We truly appreciate your assistance in helping us discover and isolate bugs.

Best Regards,

The Bug Reporting Team
Apple Developer Connection
Worldwide Developer Relations

comment:4 Changed 10 years ago by aturner

I should backout this patch after libpcap 0.9.6 is released.

comment:5 Changed 10 years ago by aturner

  • Milestone changed from 3.1 to 3.0.1

comment:6 Changed 10 years ago by aturner

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [1845]) svn merge -r 1838:1839 ../../trunk .
merges r1839 to 3.0. fixes #167

comment:7 Changed 10 years ago by aturner

  • Milestone changed from 3.0.1 to 3.1
  • Resolution fixed deleted
  • Status changed from closed to reopened

Crap. 0.9.6 thinks it's 0.9.5, so there's no way to detect if the fix is installed. Hence, we'll have to wait until 0.9.7 and hope they fix the VERSION string then.

comment:8 Changed 10 years ago by aturner

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [1871]) detect libpcap >= 0.9.6 which fixes wlan disassociation issue under OS X.
fixes #167

Note: See TracTickets for help on using tickets.