Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Ticket #1427 (new defect)

Opened 15 years ago

Last modified 14 years ago

Raw socket broadcast packets cloned

Reported by: Assigned to:
Priority: major Milestone:
Component: madwifi: driver Version: v0.9.2.1
Patch is attached: 0 Pending:

Description (Last modified by mrenzmann)

Hi all,

I'm having troubles with sending raw ethernet packets through raw sockets: precisely, these problems appear when I send packets with a broacast destination address (FF:FF:FF:FF:FF:FF) from a Mobile Node to a wireless interface that works as an AP (Master mode). the wireless device chipset is Atheros; both my process log and ethereal (on a 3rd machine) tell me that I'm sending ONE packet from the MN but the select() in the AP process triggers the read from the socket 3 times. I changed machine (with the same type of chipset) and it's still reacting the same way: I get 3 clones of the sent packet.

Also I see that if I track the packets (with Ethereal) reading from the device wifi0 I get just one incoming packet while if I read them from the ath0 interface I find 2 of them... so somewhere from wifi0 to ath0 the packet is cloned.. and the select makes me read the same packet 3 times...

If I send the packets in unicast or if I setup an Ad-Hoc network between 2 MN and use broadcast, there aren't any problems and everything works fine.

I also did tests using a 3rd machine as a sniffer to be sure I was not in promiscuus mode.. always the same results. Let me know if you have any clue about this, and thank you in advance.

RM I don't know if it's

Change History

07/03/07 07:00:35 changed by mrenzmann

  • description changed.

04/09/08 00:09:27 changed by

Sounds like you are in bridge mode. Try

iwpriv ath0 ap_bridge 0