[Click] Broadcast frame injection with ath5k

Roberto Riggio roberto.riggio at create-net.org
Tue Nov 3 13:54:50 EST 2009


Hi,

I'm trying to inject broadcast frames with click using the ath5k driver.

The script that I'm using is the following:

InfiniteSource(DATASIZE 1000)
-> UDPIPEncap(1.0.0.2, 1234, 2.0.0.2, 1234)
-> EtherEncap(0x0800, 1:1:1:1:1:1, ff:ff:ff:ff:ff:ff)
-> WifiEncap(0x0, 00:00:00:00:00:00)
-> SetTXRate(RATE 2)
-> RadiotapEncap()
-> Print()
-> ToDevice(moni);

The problem is that this configuration does not actually sends
any traffic. In fact another laptop running wireshark and sniffing
on another monitor interface does not receive anything.

The following script instead produces some traffic at the receiver:

InfiniteSource(DATASIZE 1000)
-> UDPIPEncap(1.0.0.2, 1234, 2.0.0.2, 1234)
-> EtherEncap(0x0800, 1:1:1:1:1:1, 2:2:2:2:2:2)
-> WifiEncap(0x0, 00:00:00:00:00:00)
-> SetTXRate(RATE 2)
-> RadiotapEncap()
-> Print()
-> ToDevice(moni);

Am I missing something? Is there anybody that can successfully
inject broadcast frames with ath5k or ath9k?

thanks
R.


More information about the click mailing list