<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/tests/atf_python, branch releng/13.5</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F13.5</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F13.5'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-08-04T14:08:05Z</updated>
<entry>
<title>pf: test rules evaluation in the face of multiple IPv6 fragment headers</title>
<updated>2023-08-04T14:08:05Z</updated>
<author>
<name>Kristof Provost</name>
<email>kp@FreeBSD.org</email>
</author>
<published>2023-07-13T06:34:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0607df059582abc970b21cc3ce6e297dec1d5eeb'/>
<id>urn:sha1:0607df059582abc970b21cc3ce6e297dec1d5eeb</id>
<content type='text'>
Send an ICMPv6 echo request packet with multiple IPv6 fragment headers.
Set rules to pass all packets, except for ICMPv6 echo requests.

pf ought to drop the echo request, but doesn't because it reassembles
the packet, and then doesn't handle the second fragment header. In other
words: it fails to detect the ICMPv6 echo header.

Reported by:	Enrico Bassetti bassetti@di.uniroma1.it (NetSecurityLab @ Sapienza University of Rome)
MFC after:	instant
Sponsored by:	Rubicon Communications, LLC ("Netgate")

(cherry picked from commit b23dbabb7f3edb3f323a64f03e37be2c9a8b2a45)
</content>
</entry>
<entry>
<title>tests: fix python parsing of netlink nested attributes</title>
<updated>2023-04-08T19:18:47Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2023-03-13T10:17:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9a8ea61a14fc698092370eff87f9723abc7dfc84'/>
<id>urn:sha1:9a8ea61a14fc698092370eff87f9723abc7dfc84</id>
<content type='text'>
MFC after:	2 weeks

(cherry picked from commit 90bc2120b51bc5ac9fbcb29763cc47562ee49977)
</content>
</entry>
<entry>
<title>tests: add more netlink tests for neighbors/routes</title>
<updated>2023-04-08T19:15:16Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2023-03-07T17:30:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b18abe2e1f22394717d4847f2c7b491929cee92b'/>
<id>urn:sha1:b18abe2e1f22394717d4847f2c7b491929cee92b</id>
<content type='text'>
Differential Revision: https://reviews.freebsd.org/D38912
MFC after:	2 weeks

(cherry picked from commit c57dfd92c876fabc04e94945dd9534468520bbbf)
</content>
</entry>
<entry>
<title>tests: add netlink large dump buffer check</title>
<updated>2023-04-08T19:14:49Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2023-02-20T10:20:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0276eb66472412d6fe93614a3e9d1a2a5e1f20c0'/>
<id>urn:sha1:0276eb66472412d6fe93614a3e9d1a2a5e1f20c0</id>
<content type='text'>
Differential Revision: https://reviews.freebsd.org/D38665
MFC after:	2 weeks

(cherry picked from commit 828d3c6c4cc0b782e16abb1ae18023734a0b710f)
</content>
</entry>
<entry>
<title>netlink: improve attribute decoding in python tests</title>
<updated>2023-04-08T19:13:50Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2023-02-17T18:04:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b68dcb393a476c3c4b0583c7ab99a7ba280ed836'/>
<id>urn:sha1:b68dcb393a476c3c4b0583c7ab99a7ba280ed836</id>
<content type='text'>
MFC after:	2 weeks

(cherry picked from commit ff8da9b2bab43920a19c16855ac3d30b5ccb1df2)
</content>
</entry>
<entry>
<title>testing: handling non-root users with VNETs in pytest-based tests.</title>
<updated>2023-02-24T10:43:30Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2023-02-09T14:31:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=07595bd3c55a1c63ca49d7e250346a90910c206d'/>
<id>urn:sha1:07595bd3c55a1c63ca49d7e250346a90910c206d</id>
<content type='text'>
Currently isolation and resource requirements are handled directly
 by the kyua runner, based on the requirements specified by the test.
It works well for simple tests, but may cause discrepancy with tests
 doing complex pre-setups. For example, all tests that perform
 VNET setups require root access to properly function.

This change adds additional handling of the "require_user" property
 within the python testing framework. Specifically, it requests
 root access if the test class signals its root requirements and
 drops privileges to the desired user after performing the pre-setup.

Differential Revision: https://reviews.freebsd.org/D37923
MFC after:	2 weeks

(cherry picked from commit 6332ef8941999b0c074d1ece0e1e108447c70b98)
</content>
</entry>
<entry>
<title>netlink: return optional metadata with the operation result.</title>
<updated>2023-02-20T14:33:28Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2023-02-09T14:53:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=72467b39f1db794f2ac54ac9baa1de3166507c6b'/>
<id>urn:sha1:72467b39f1db794f2ac54ac9baa1de3166507c6b</id>
<content type='text'>
Some operations like interface creation may need to return metadata
 - in this case, interface name - back to the caller if the operation
 is successful.
This change implements attaching an `NLMSGERR_ATTR_COOKIE` nla to the
operation reply message via `nlmsg_report_cookie()`.
Additionally, on successful interface creation, interface index and
 interface name are returned in the `IFLA_NEW_IFINDEX` and `IFLA_IFNAME
 TLVs, encapsulated in the `NLMSGERR_ATTR_COOKIE`.

Reviewed By: pauamma
Differential Revision: https://reviews.freebsd.org/D38283
MFC after:	1 week

(cherry picked from commit 25c2dd2f2c6c6144d59d463c95f0471301d6efaa)
</content>
</entry>
<entry>
<title>pytest: delete interfaces from inside the jail.</title>
<updated>2023-02-09T15:46:25Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2023-01-25T16:32:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5e598a761c37dbd491579a0805968ae50ac72465'/>
<id>urn:sha1:5e598a761c37dbd491579a0805968ae50ac72465</id>
<content type='text'>
This change follows the approach used in 80fc25025ffc, to
 minimise the impact of the delayed interface migration.

MFC after:	2 weeks

(cherry picked from commit 20ea7f26e41375828a390fba613b86acfe366add)
</content>
</entry>
<entry>
<title>tests: Add an IPv4 loopback address of 127.0.0.1/8 to the lo0</title>
<updated>2023-02-09T15:44:42Z</updated>
<author>
<name>Jose Luis Duran</name>
<email>jlduran@gmail.com</email>
</author>
<published>2023-01-11T14:33:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7c8355d205e7490c61af1b0d9e20addea10cb513'/>
<id>urn:sha1:7c8355d205e7490c61af1b0d9e20addea10cb513</id>
<content type='text'>
 interface by default when creating VNETSs using pytest.

Reviewed By: asomers
Differential Revision: https://reviews.freebsd.org/D38021

(cherry picked from commit 4856aeaaed17726a1dfa5dd6c736e5b0851255b6)
</content>
</entry>
<entry>
<title>netlink: improve RTM_GETADDR handling.</title>
<updated>2023-01-23T22:09:04Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2023-01-07T16:18:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=74115922268c7386ee18a90d08a25c7ccc94c06b'/>
<id>urn:sha1:74115922268c7386ee18a90d08a25c7ccc94c06b</id>
<content type='text'>
* Allow filtering by ifa_family &amp; ifa_index.
* Add common RTM_&lt;NEW|DEL|GET&gt;ADDR parser
* Add tests verifying RTM_GETADDR filtering behaviour &amp; output
* Factor out common netlink socket test methods into NetlinkTestTemplate
* Add NLMSG_DONE message handler

Reviewed By: pauamma
Differential Revision: https://reviews.freebsd.org/D37970

(cherry picked from commit c1871a3372e382bfcd46452d1d8d4f06561508cc)
</content>
</entry>
</feed>
