<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/tests/sys/netinet6, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>tests/ndp: fix ndp_routeinfo_option testcase flakiness</title>
<updated>2026-05-21T14:22:22+00:00</updated>
<author>
<name>Siva Mahadevan</name>
<email>siva@FreeBSD.org</email>
</author>
<published>2026-05-21T14:22:22+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a8c74d6c64dfddae95b9c6d48a8ea82b7c4d7b25'/>
<id>a8c74d6c64dfddae95b9c6d48a8ea82b7c4d7b25</id>
<content type='text'>
Since we are sleeping for an indefinite period of time waiting
for the default route to appear, the expire times may be gone
past 1+ seconds, causing the Expire column to show &lt;1800 or &lt;600.

Fixes:	f6bcc0925f0ea838da5183dc503f847e56d15cc8

Reviewed by:	pouria
Approved by:	lwhsu (mentor)
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D56712
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since we are sleeping for an indefinite period of time waiting
for the default route to appear, the expire times may be gone
past 1+ seconds, causing the Expire column to show &lt;1800 or &lt;600.

Fixes:	f6bcc0925f0ea838da5183dc503f847e56d15cc8

Reviewed by:	pouria
Approved by:	lwhsu (mentor)
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D56712
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Skip sys.netinet6.frag6.frag6_19.frag6_19 in CI"</title>
<updated>2026-05-06T23:08:26+00:00</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2026-05-06T23:08:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3348fa7a45fdf14a7af509e306229bd211444f1e'/>
<id>3348fa7a45fdf14a7af509e306229bd211444f1e</id>
<content type='text'>
Per [siva@'s comment on the PR][1], this testcase now passes cleanly in CI.

PR:	274941
MFC after:	1 week

[1]: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274941#c6

This reverts commit 86e87c3bd1b377242aafe7e2222ae17ca0be96d9.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Per [siva@'s comment on the PR][1], this testcase now passes cleanly in CI.

PR:	274941
MFC after:	1 week

[1]: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274941#c6

This reverts commit 86e87c3bd1b377242aafe7e2222ae17ca0be96d9.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/netinet6: fix missing require.progs</title>
<updated>2026-04-22T08:46:26+00:00</updated>
<author>
<name>Olivier Cochard</name>
<email>olivier@FreeBSD.org</email>
</author>
<published>2026-04-22T07:35:56+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d8651498746e2b9f69abf664f540cbc9daa0aec1'/>
<id>d8651498746e2b9f69abf664f540cbc9daa0aec1</id>
<content type='text'>
Approved by:	pouria
Sponsored by:	Netflix
Differential Revision:	https://reviews.freebsd.org/D56569
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Approved by:	pouria
Sponsored by:	Netflix
Differential Revision:	https://reviews.freebsd.org/D56569
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/netinet6: Add test for route information option</title>
<updated>2026-04-17T22:52:26+00:00</updated>
<author>
<name>Pouria Mousavizadeh Tehrani</name>
<email>pouria@FreeBSD.org</email>
</author>
<published>2026-04-17T20:27:50+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f6bcc0925f0ea838da5183dc503f847e56d15cc8'/>
<id>f6bcc0925f0ea838da5183dc503f847e56d15cc8</id>
<content type='text'>
Test handling of receiving multiple route information options in RA.

Reviewed by: glebius
Differential Revision: https://reviews.freebsd.org/D56216
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test handling of receiving multiple route information options in RA.

Reviewed by: glebius
Differential Revision: https://reviews.freebsd.org/D56216
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/netinet6: Add SLAAC and RA validation tests to ndp</title>
<updated>2026-04-17T22:52:24+00:00</updated>
<author>
<name>Pouria Mousavizadeh Tehrani</name>
<email>pouria@FreeBSD.org</email>
</author>
<published>2026-04-17T20:25:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c173f02045c8cfae219b26be99f9e02f291965fa'/>
<id>c173f02045c8cfae219b26be99f9e02f291965fa</id>
<content type='text'>
* RA hop limit validation
* RA source address validation
* Multi router RA validation
* Two hour rule RA validation
* SLAAC onlink prefix switching test

Reviewed by: glebius
Differential Revision: https://reviews.freebsd.org/D56128
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* RA hop limit validation
* RA source address validation
* Multi router RA validation
* Two hour rule RA validation
* SLAAC onlink prefix switching test

Reviewed by: glebius
Differential Revision: https://reviews.freebsd.org/D56128
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Add some simple regression tests for ip_mroute</title>
<updated>2026-03-30T16:08:21+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2026-03-30T13:32:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=09e702ad40af0067017613070b42d72cbc2bec3a'/>
<id>09e702ad40af0067017613070b42d72cbc2bec3a</id>
<content type='text'>
These use atf_python to create a number of hosts linked to a router.
The router runs pimd (for IPv4) or ip6_mrouter (simplistic IPv6
multicast router that I wrote since I couldn't find one in the ports
tree).  The vnet_host*_handler() methods are invoked in different VNET
jails connected to the router; they register the connected epair with a
multicast group and verify that they can send messages to each other.

The tests are synchronized by sending messages over a unix domain
socket.  The flow is something like:
1) test startup_method() is called, the unix socket is created,
2) the superclass creates jails and links them together using the
   declared topology,
3) we wait for all child jails to start up and send a message on the
   unix socket indicating that they are ready
4) we start the routing daemon in the main jail,
5) the test actually starts; starttest() kicks off the
   vnet_host*_handlers(), which mostly just verify that they can send
   messages to each other using multicast packets
6) once they finish running, they signal their completion, and
   waittest() returns once they're all done

There are two tests, repeated for v4 and v6.  One just exchanges packets
between two hosts, and the other has four hosts divided across two FIBs.

MFC after:	2 weeks
Sponsored by:	Stormshield
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D55244
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These use atf_python to create a number of hosts linked to a router.
The router runs pimd (for IPv4) or ip6_mrouter (simplistic IPv6
multicast router that I wrote since I couldn't find one in the ports
tree).  The vnet_host*_handler() methods are invoked in different VNET
jails connected to the router; they register the connected epair with a
multicast group and verify that they can send messages to each other.

The tests are synchronized by sending messages over a unix domain
socket.  The flow is something like:
1) test startup_method() is called, the unix socket is created,
2) the superclass creates jails and links them together using the
   declared topology,
3) we wait for all child jails to start up and send a message on the
   unix socket indicating that they are ready
4) we start the routing daemon in the main jail,
5) the test actually starts; starttest() kicks off the
   vnet_host*_handlers(), which mostly just verify that they can send
   messages to each other using multicast packets
6) once they finish running, they signal their completion, and
   waittest() returns once they're all done

There are two tests, repeated for v4 and v6.  One just exchanges packets
between two hosts, and the other has four hosts divided across two FIBs.

MFC after:	2 weeks
Sponsored by:	Stormshield
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D55244
</pre>
</div>
</content>
</entry>
<entry>
<title>routing: Retire ROUTE_MPATH compile option</title>
<updated>2026-03-27T20:25:33+00:00</updated>
<author>
<name>Pouria Mousavizadeh Tehrani</name>
<email>pouria@FreeBSD.org</email>
</author>
<published>2026-03-27T11:20:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=254b23eb1f540844cf2a90f2781ae4231c5701ce'/>
<id>254b23eb1f540844cf2a90f2781ae4231c5701ce</id>
<content type='text'>
The ROUTE_MPATH compile option was introduced to
test the new multipath implementation.
Since compiling it has no overhead and it's enabled
by default, remove it.

Reviewed by:	melifaro, markj
Relnotes:	yes
Differential Revision: https://reviews.freebsd.org/D55884
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The ROUTE_MPATH compile option was introduced to
test the new multipath implementation.
Since compiling it has no overhead and it's enabled
by default, remove it.

Reviewed by:	melifaro, markj
Relnotes:	yes
Differential Revision: https://reviews.freebsd.org/D55884
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Add grand link-layer event in netinet6/ndp</title>
<updated>2026-03-27T20:25:30+00:00</updated>
<author>
<name>Pouria Mousavizadeh Tehrani</name>
<email>pouria@FreeBSD.org</email>
</author>
<published>2026-03-18T22:48:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2371b24c22f063ef79dc1935419c9854656e265e'/>
<id>2371b24c22f063ef79dc1935419c9854656e265e</id>
<content type='text'>
Add test for ndp to verity link-layer address change event
actually triggers the grand.

Differential Revision: https://reviews.freebsd.org/D55927
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add test for ndp to verity link-layer address change event
actually triggers the grand.

Differential Revision: https://reviews.freebsd.org/D55927
</pre>
</div>
</content>
</entry>
<entry>
<title>ndp tests: Fix flakiness in ndp_slaac_default_route</title>
<updated>2026-02-17T20:22:05+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2026-02-17T19:03:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1eb727727a9acb5f1e66e3f70b0146e7c9c5f710'/>
<id>1eb727727a9acb5f1e66e3f70b0146e7c9c5f710</id>
<content type='text'>
The test sends RAs in order to test SLAAC handling in another host.
The router needs to also set net.inet6.ip6.forwarding=1, otherwise NAs
sent from it have the ROUTER flag clear, and upon receiving such an NA
the host will automatically delete routes learned from the router.

Fixes:		feda329622bc ("netinet6 tests: Add a regression test for default router handling")
MFC after:	1 week
Sponsored by:	Klara, Inc.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The test sends RAs in order to test SLAAC handling in another host.
The router needs to also set net.inet6.ip6.forwarding=1, otherwise NAs
sent from it have the ROUTER flag clear, and upon receiving such an NA
the host will automatically delete routes learned from the router.

Fixes:		feda329622bc ("netinet6 tests: Add a regression test for default router handling")
MFC after:	1 week
Sponsored by:	Klara, Inc.
</pre>
</div>
</content>
</entry>
<entry>
<title>ndp tests: Fix an assertion in ndp_prefix_lifetime_extend</title>
<updated>2026-02-17T20:22:05+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2026-02-17T17:08:34+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=eb425dfab19be8720cf29d560b4e778fc3531106'/>
<id>eb425dfab19be8720cf29d560b4e778fc3531106</id>
<content type='text'>
Here we have two interface addresses sharing a v6 prefix with finite
lifetime.  The intent was to make sure that adding the second address
didn't cause the prefix's valid lifetime to drop from 20s to 10s, but of
course, while the test is running it may drop from 20s to 19s, causing
the test to fail spuriously.  Relax the check a bit to avoid this.

PR:		293152
Fixes:		74999aac5eff ("in6: Modify address prefix lifetimes when updating address lifetimes")
MFC after:	1 week
Sponsored by:	Klara, Inc.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Here we have two interface addresses sharing a v6 prefix with finite
lifetime.  The intent was to make sure that adding the second address
didn't cause the prefix's valid lifetime to drop from 20s to 10s, but of
course, while the test is running it may drop from 20s to 19s, causing
the test to fail spuriously.  Relax the check a bit to avoid this.

PR:		293152
Fixes:		74999aac5eff ("in6: Modify address prefix lifetimes when updating address lifetimes")
MFC after:	1 week
Sponsored by:	Klara, Inc.
</pre>
</div>
</content>
</entry>
</feed>
