mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
tests: Add traffic test to proxyarp_open
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
5a3ce80265
commit
40e4c9c8b0
@ -16,6 +16,7 @@ import socket
|
||||
import subprocess
|
||||
|
||||
import hostapd
|
||||
import hwsim_utils
|
||||
from wlantest import Wlantest
|
||||
from wpasupplicant import WpaSupplicant
|
||||
|
||||
@ -3077,6 +3078,10 @@ def _test_proxyarp_open(dev, apdev, params):
|
||||
send_na(hapd, hapd_bssid=bssid, target="aaaa:bbbb:cccc:aeae::4",
|
||||
ip_src="aaaa:bbbb:cccc:aeae::4", ip_dst="ff02::1")
|
||||
|
||||
hwsim_utils.test_connectivity_iface(dev[0], hapd, "ap-br0")
|
||||
hwsim_utils.test_connectivity_iface(dev[1], hapd, "ap-br0")
|
||||
hwsim_utils.test_connectivity(dev[0], dev[1])
|
||||
|
||||
dev[0].request("DISCONNECT")
|
||||
dev[1].request("DISCONNECT")
|
||||
time.sleep(0.5)
|
||||
|
Loading…
Reference in New Issue
Block a user