Sending packets with raw sockets

Jouni Malinen jkmaline
Sat Apr 12 09:57:29 PDT 2003


On Fri, Apr 11, 2003 at 04:08:46PM -0500, Dave Hinkle wrote:

> I send the packet over the raw socket and all looks well, I get no error
> messages and can even see the packet when in tcpdump packet captures running
> on the transmiting router.  However, no other machines on the network can
> detect the packet.  I can even see the packet when I "dump tx frame headers"
> using iwpriv.

That sounds like the driver is trying to send the packet, but card
firmware drops it. Which operation mode (Managed/Master/Monitor/Adhoc)
are you using? What kind of packet are you trying to send?

> Also something you might want to know, I think the driver drops any packets
> coming from the Ethernet broadcast address.

Do you mean that the source address in Ethernet header is broadcast
address? If you are using Managed mode, please note that you cannot use
anything else but your own hwaddr as the source address. In Master mode,
you should be able to send such frames out.

-- 
Jouni Malinen                                            PGP id EFC895FA




More information about the Hostap mailing list