Home | History | Annotate | Download | only in arp
History log of /src/tests/net/arp/t_dad.sh
RevisionDateAuthorComments
 1.16  20-Aug-2024  ozaki-r tests, arp: add tests of address duplications without DAD
 1.15  11-Mar-2017  ozaki-r branches: 1.15.14; 1.15.22;
Improve test stability and output messages on failure
 1.14  08-Mar-2017  ozaki-r Improve test stability and output messages on failure
 1.13  25-Nov-2016  ozaki-r branches: 1.13.2;
Share rump_server start/stop and interface creation/destruction functions

The common functions store socks of rump_servers, interfaces of rump_servers
and buses that intefaces connect and allow to destroy them with common
functions without specifying which socks, interfaces and buses we should
destroy.

This change reduces lots of similar setup/cleanup codes.
 1.12  24-Nov-2016  ozaki-r Add missing bus argument for extract_new_packets
 1.11  24-Nov-2016  ozaki-r Move HIJACKING definition to net_common.sh
 1.10  24-Nov-2016  ozaki-r Reduce duplicate codes

Introduce net_common.sh that is to share common functions used in tests
for networking. This commit commonizes extract_new_packets. Other duplicate
codes will be moved to the file in further commits.
 1.9  07-Nov-2016  ozaki-r Accept DEBUG environment variable

By doing so, we can easily turn DEBUG on/off without modifying
the ATF scripts.
 1.8  14-Sep-2016  christos adjust for new ifconfig output.
 1.7  10-Aug-2016  kre + -lrumpdev
 1.6  25-Aug-2015  ozaki-r branches: 1.6.2;
Give a chance to send a DAD announce packet

ifconfig -w ensures IP addresses have left tentative state, however,
it doesn't guarantee that a DAD announce packet is sent. The kernel
clears tentative flag and then sends the packet so that ifconfig -w
can return before the kernel sends the packet.
 1.5  24-Aug-2015  ozaki-r Disable another tentative state check

It's too ephemeral to check robustly.
 1.4  17-Aug-2015  ozaki-r Improve test stability

- Take a diff between packet dumps and use it for packet checking
- it's resistant against packet reorder
- Seep 2 sec to make sure a NS message is sent
- Disable tentative state check for now
- it's too ephemeral to check robustly
 1.3  31-Jul-2015  ozaki-r Remove remaining debug code
 1.2  31-Jul-2015  ozaki-r Fix cleanup; halt all running rump_servers
 1.1  30-Jul-2015  ozaki-r Add tests for IPv4 DAD
 1.6.2.3  20-Mar-2017  pgoyette Sync with HEAD
 1.6.2.2  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.6.2.1  04-Nov-2016  pgoyette Sync with HEAD
 1.13.2.1  21-Apr-2017  bouyer Sync with HEAD
 1.15.22.1  24-Aug-2024  martin Pull up following revision(s) (requested by ozaki-r in ticket #812):

tests/net/arp/t_dad.sh: revision 1.16
sys/netinet/in.c: revision 1.248
tests/net/arp/t_arp.sh: revision 1.46
sys/netinet/if_arp.c: revision 1.314

arp: fix the behavior on detecting an address duplication without IPv4 DAD

On receiving an ARP request that has the same source protocol address as
the own address, i.e., address duplication, the original behavior of
a kernel prior to supporing IPv4 DAD is to send an ARP reply. It is
the same with a latest kernel with DAD enabled. However, a latest
kernel without DAD sends back an GARP packet. Restore the original
behavior.

inet: send GARP on link up if DAD is disabled

This behavior was accidentally removed at rev 1.233.

tests, arp: add tests of address duplications without DAD

tests, arp: add tests for GARP on link up
 1.15.14.1  24-Aug-2024  martin Pull up following revision(s) (requested by ozaki-r in ticket #1883):

tests/net/arp/t_dad.sh: revision 1.16
sys/netinet/in.c: revision 1.248
tests/net/arp/t_arp.sh: revision 1.46
sys/netinet/if_arp.c: revision 1.314

arp: fix the behavior on detecting an address duplication without IPv4 DAD

On receiving an ARP request that has the same source protocol address as
the own address, i.e., address duplication, the original behavior of
a kernel prior to supporing IPv4 DAD is to send an ARP reply. It is
the same with a latest kernel with DAD enabled. However, a latest
kernel without DAD sends back an GARP packet. Restore the original
behavior.

inet: send GARP on link up if DAD is disabled

This behavior was accidentally removed at rev 1.233.

tests, arp: add tests of address duplications without DAD

tests, arp: add tests for GARP on link up

RSS XML Feed