aboutsummaryrefslogtreecommitdiff
path: root/tests/sys/netipsec
Commit message (Collapse)AuthorAgeFilesLines
* tests: fix test for NULL encriptionAndrey V. Elsukov2025-03-251-2/+2
| | | | | | | | After 04207850a9b9 it is required that key length is not zero. Add some key to avoid error. Reported by: markj MFC after: 1 week
* Remove residual blank line at start of MakefileWarner Losh2024-07-152-2/+0
| | | | | | | This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-1613-13/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* netipsec tests: SerializeMark Johnston2023-03-201-0/+3
| | | | | | | The tunnel mode tests use VNET jails and reuse jail names. Until this is addressed, serialize them. MFC after: 1 week
* ipsec tests: add test case for chacha20_poly1305Kristof Provost2022-11-022-1/+45
| | | | | Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D37181
* ping: fix some man pages and tests after r368045Alan Somers2020-11-261-1/+1
| | | | | | | MFC-with: r368045 Notes: svn path=/head/; revision=368046
* Revert r361497, these cases are fixed by r361617.Li-Wen Hsu2020-05-294-16/+0
| | | | | | | | PR: 246737 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=361623
* Disable failing test cases in CI:Li-Wen Hsu2020-05-264-0/+16
| | | | | | | | | | | | | sys.netipsec.tunnel.aes_cbc_128_hmac_sha1.v4 sys.netipsec.tunnel.aes_cbc_256_hmac_sha2_256.v4 sys.netipsec.tunnel.aesni_aes_cbc_128_hmac_sha1.v4 sys.netipsec.tunnel.aesni_aes_cbc_256_hmac_sha2_256.v4 PR: 246737 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=361497
* Revert r360204, sys.netipsec.tunnel.empty.v{4,6} are fixed by r360560Li-Wen Hsu2020-05-041-8/+0
| | | | | | | | PR: 245832 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=360626
* Temporarily skip sys.netipsec.tunnel.empty.v{4,6} in CILi-Wen Hsu2020-04-221-0/+8
| | | | | | | | PR: 245832 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=360204
* ipsec tests: Skip if ipsec.ko is not loadedKristof Provost2019-05-161-0/+4
| | | | | | | | | | As of r347410 IPSec is no longer built into GENERIC. The ipsec.ko module must be loaded before we can execute the IPSec tests. Check this, and skip the tests if IPSec is not available. Notes: svn path=/head/; revision=347641
* tests: Move common (vnet) test functions into a common fileKristof Provost2019-03-041-50/+13
| | | | | | | | | | | The netipsec and pf tests have a number of common test functions. These used to be duplicated, but it makes more sense for them to re-use the common functions. PR: 236223 Notes: svn path=/head/; revision=344764
* Fix sys/netipsec/tunnel tests after r337736Alan Somers2018-08-171-4/+4
| | | | | | | | | | | | | Originally, these tests accidentally used broadcast addresses when they should've used unicast addresses. That the tests passed prior to r337736 was accidental. Submitted by: ae Reviewed by: olivier MFC after: 2 weeks Notes: svn path=/head/; revision=337984
* Clear expected failures for aesni_aes_gcm testsAlan Somers2018-07-212-2/+0
| | | | | | | | | | | | These tests were fixed by r335584 PR: 228094 PR: 201447 MFC after: 2 weeks X-MFC-With: 335584 Notes: svn path=/head/; revision=336586
* tests: ipsec: Don't load/unload aesni.ko in the test headerKristof Provost2017-12-038-32/+48
| | | | | | | | | | | | We can't kldunload in the test head as Kyua interprets any output from them. This would lead to syntax errors and skipping the entire file. Move the kld commands into the test case bodies. Pointed out by: asomers@ Notes: svn path=/head/; revision=326500
* Add IPSec tests in tunnel modeKristof Provost2017-12-0312-0/+614
Some IPSec in tunnel mode allowing to test multiple IPSec configurations. These tests are reusing the jail/vnet scripts from pf tests for generating complex network. Submitted by: olivier@ Differential Revision: https://reviews.freebsd.org/D13017 Notes: svn path=/head/; revision=326497