iwd/autotests/testNetconfig
Andrew Zaborowski f6a890f5cb autotests: Fix testNetconfig ACD test
Part of static_test.py starts a second IWD instance and tries to make
it connect to the AP with the same IP address as the first IWD instance
which is already connected, to produce an IP conflict.  For this, the
second instance uses DHCP and the test expects the DHCP server to offer
the address 192.168.1.10 to it.  However in the current setup the DHCP
server manages to detect that 192.168.1.10 is in use and offers .11
instead.  Break the DHCP server's conflict detection by disabling ICMP
ping replies in order to fix the test.

Previously this has worked because the AP's and the DHCP server's
network interface is in the same network namespace as the first IWD
instance's network interface meaning that pings between the two
interfaces shouldn't work (a known Linux kernel routing quirk...).
I am not sure why those pings currently do work but take no chances and
disable ICMP pings.
2022-08-23 15:47:06 -05:00
..
ap-main.conf autotests: DHCPv4 renewal/resend test in testNetconfig 2022-07-12 12:47:09 -05:00
ap-ns1.conf autotests: DHCPv4 renewal/resend test in testNetconfig 2022-07-12 12:47:09 -05:00
auto.psk autotests: Also validate correct hostname sent over DHCPv4 2022-07-12 12:47:09 -05:00
connection_test.py autotests: Also validate correct hostname sent over DHCPv4 2022-07-12 12:47:09 -05:00
dhcpd-v6.conf auto-t: Verify DNS entries added from DHCP/static 2022-06-22 15:57:36 -05:00
dhcpd.conf autotests: DHCPv4 renewal/resend test in testNetconfig 2022-07-12 12:47:09 -05:00
hw.conf autotests: DHCPv4 renewal/resend test in testNetconfig 2022-07-12 12:47:09 -05:00
main.conf auto-t: Verify DNS entries added from DHCP/static 2022-06-22 15:57:36 -05:00
resolvconf auto-t: Verify DNS entries added from DHCP/static 2022-06-22 15:57:36 -05:00
static.psk autotests: DHCPv4 renewal/resend test in testNetconfig 2022-07-12 12:47:09 -05:00
static_test.py autotests: Fix testNetconfig ACD test 2022-08-23 15:47:06 -05:00