summaryrefslogtreecommitdiffstats
path: root/regress/sys
AgeCommit message (Collapse)AuthorFilesLines
2021-02-09These regress tests expect coredumps to be written so run them withclaudio2-2/+2
ulimit -c unlimited. Also simplify the logic a bit as requested by bluhm@. OK bluhm@ deraadt@
2021-02-09These regress test expect coredumps as an effect of the test so runclaudio2-4/+4
the tests with ulimit -c unlimited to make sure coredumps are written. OK bluhm@ deraadt@
2021-02-05Setup two pair(4) and one lo(4) interface in different routingbluhm2-0/+181
domains and with different interface MTU. Test that packet flow and TCP path MTU discovery works.
2021-02-01ESP path MTU discovery over IPv6 tunnel has been fixed. Add test.bluhm1-6/+76
2021-02-01Syntax of pf(4) route-to has changed. Adapt tests.bluhm4-24/+24
2021-01-21Pledge violation for SO_RTABLE prints "wroute" now. Adapt test.bluhm1-5/+4
2021-01-20Test path MTU discovery with IPv6 TCP packets tunneled in IPv4 ESP.bluhm3-17/+75
2021-01-20Check the rewritten address output from tcpdump -e on pflog.bluhm1-15/+37
2021-01-16If ip or ip6 forwarding is not set, expect af-to failure.bluhm1-1/+8
2021-01-14IPv4 loopback addresses do not work with af-to as in_canforward()bluhm2-55/+92
prevents forwarding such packets. Switch regress to IPv4 link-local addresses. Add tests for pflog(4) on af-to rules.
2021-01-14IPv6 link-local addresses are broken in pf(4) as scope ID is usedbluhm2-28/+73
inconsistently. Switch regress to unique-local addresses. Add tests for pflog(4) on rdr-to and nat-to rules.
2021-01-13Add pflog(4) tests for IPv6.bluhm2-8/+74
2021-01-12Check that rule without logopt user has no uid in log entry.bluhm1-4/+3
2021-01-11Add some basic tests for pflog(4) interface. Create special routingbluhm3-2/+225
doamin, load rules into pf(4) regress anchor, tcpdump on pflog, send packets over lo(4), grep for expected result in tcpdump output.
2021-01-09Test that local UDP broadcast packets to 255.255.255.255 are handledbluhm2-4/+110
correctly by socket splicing. They generate an ELOOP error.
2021-01-03Increase file descriptor limit to allow long chains of splicedbluhm1-1/+2
sockets in one test process.
2021-01-02Create chains and loops of spliced tcp and udp sockets. Send databluhm5-2/+259
through them and check that MAXLOOP is triggered in kernel.
2020-12-30py3-scapy is now scapykn11-32/+32
OK bluhm sthen
2020-12-30getifaddrs() can return entries where ifa_addr is NULL. Check for thisbenno1-2/+3
before accessing anything in ifa_addr. ok claudio@
2020-12-27Ensure that a sufficient part of the remote log file has beenbluhm1-1/+3
transferred before the local side greps for the spliced keyword. Fixes a race seen on the arm64 regress machine.
2020-12-26Missed a python2.7, scapy 2, copyright bump in previous scapy 3 commits.bluhm3-17/+17
2020-12-26Wrap long lines.bluhm3-11/+12
2020-12-25Send fragment that reaches beyond max packet length. pf ignoresbluhm2-1/+60
it, but stack somehow puts it into the fragment queue.
2020-12-25Wrap long lines.bluhm7-26/+52
2020-12-25Switch to scapy with python 3.bluhm10-86/+85
2020-12-25Link pktinfo_addr and srcaddr regress to build.bluhm1-2/+8
2020-12-25Switch to scapy with python 3.bluhm34-377/+376
2020-12-25Switch to scapy with python 3.bluhm6-38/+37
2020-12-25Switch to scapy with python 3.bluhm6-73/+72
2020-12-25Switch to scapy with python 3.bluhm24-263/+263
2020-12-25Switch to scapy with python 3.bluhm10-174/+176
2020-12-25Switch to scapy with python 3.bluhm14-101/+100
2020-12-25Switch to scapy with python 3.bluhm3-45/+42
2020-12-25Switch to scapy with python 3.bluhm18-177/+177
2020-12-24Switch to scapy with python 3.bluhm3-26/+26
2020-12-24Switch to scapy with python 3.bluhm3-28/+28
2020-12-21Test that IPv4 path MTU discovery works over IPsec in tunnel mode.bluhm2-3/+53
2020-12-20Use regress framework for setup and shorten target names.bluhm1-41/+47
2020-12-17Fix regress target name, they must be unique.bluhm1-2/+2
2020-12-17Link broadcast_bind, carp, in_pcbbind, sendsrcaddr regress to build.bluhm1-2/+10
2020-12-17Use ${SUDO} or skip test if not root.bluhm1-3/+3
2020-12-17Fix a race where the ${SUDO} process was killed instead of tcpdump.bluhm1-2/+2
2020-12-17Link pflow and wg regress to build.bluhm1-2/+2
2020-12-17Remove echo headlines.bluhm26-295/+26
2020-12-17Use setup and cleanup feature from regress framework.bluhm3-209/+161
Remove echo headlines. Use consistent target names. Makefile cleanup.
2020-12-16Remove echo headlines. Makefile cleanup.bluhm1-11/+2
2020-12-16Remove echo headlines. Use consistent target names.bluhm6-48/+33
2020-12-16Use setup and cleanup feature from regress framework.bluhm4-90/+67
Remove echo headlines. Use consistent target names.
2020-12-16Make test actually fail if something is broken.bluhm1-29/+22
Remove echo headlines. Use consistent target names.
2020-12-03restructure, making room for several testsanton4-116/+254