summaryrefslogtreecommitdiff
path: root/regress/sys/netinet
AgeCommit message (Collapse)Author
2023-05-24Default pf rule "block return; pass" interferes with test.Alexander Bluhm
Use "block; pass" instead.
2022-04-10Print the strerror of the expected error. errno is not valid here sinceClaudio Jeker
bind(2) succeeded.
2021-10-31Also remove pcap files during make clean.Alexander Bluhm
2021-10-13Sending live tcpdump output over SSH while running tests may dropAlexander Bluhm
bpf logs in the kernel. Better write pcap files onto remote machine's disk and collect and convert after testing with live packets has finished. Move the TCP path MTU tests to the end. Otherwise TCP packets floating around could affect the packet counters of the subsequent tests.
2021-07-06alarm(3) cannot fail, remove error handling.Alexander Bluhm
suggested by millert@
2021-05-22Test more corner cases of IPv4 fragment reassembly.Alexander Bluhm
2021-02-01ESP path MTU discovery over IPv6 tunnel has been fixed. Add test.Alexander Bluhm
2021-01-20Test path MTU discovery with IPv6 TCP packets tunneled in IPv4 ESP.Alexander Bluhm
2020-12-30py3-scapy is now scapykn
OK bluhm sthen
2020-12-30getifaddrs() can return entries where ifa_addr is NULL. Check for thisSebastian Benoit
before accessing anything in ifa_addr. ok claudio@
2020-12-26Missed a python2.7, scapy 2, copyright bump in previous scapy 3 commits.Alexander Bluhm
2020-12-26Wrap long lines.Alexander Bluhm
2020-12-25Send fragment that reaches beyond max packet length. pf ignoresAlexander Bluhm
it, but stack somehow puts it into the fragment queue.
2020-12-25Switch to scapy with python 3.Alexander Bluhm
2020-12-25Switch to scapy with python 3.Alexander Bluhm
2020-12-25Switch to scapy with python 3.Alexander Bluhm
2020-12-21Test that IPv4 path MTU discovery works over IPsec in tunnel mode.Alexander Bluhm
2020-12-20Use regress framework for setup and shorten target names.Alexander Bluhm
2020-12-17Link broadcast_bind, carp, in_pcbbind, sendsrcaddr regress to build.Alexander Bluhm
2020-12-17Use ${SUDO} or skip test if not root.Alexander Bluhm
2020-12-17Remove echo headlines.Alexander Bluhm
2020-01-15Do not create files as dependency of .BEGIN rule. Noticed byAlexander Bluhm
deraadt@ with make obj in regress.
2020-01-08Rework when tests have to be skipped due to insufficient configurationAlexander Bluhm
of the regress machine.
2019-12-20The IPsec policy check for IPComp bundles has been fixed in theAlexander Bluhm
kernel. So we can make the test config stricter. Change the type of ipcomp bundle flows from use to dontacq.
2019-09-19Make checksum comparison more robust. 0xffff is the same as 0.Alexander Bluhm
2019-09-05Ignore missing pseudo terminal for ssh when called from cron job.Alexander Bluhm
2019-09-05Name environment variables consistently.Alexander Bluhm
2019-09-05Minimize differences between IPv4 and IPv6 multicast tests.Alexander Bluhm
2019-09-02Test multicast sender, receiver, router. Minimal mcroute implmentationAlexander Bluhm
does not care about IGMP, it simply adds static multicast routes. Mutlicast routing needs at least two test machines. Otherwise only send and receive on localhost is tested.
2019-09-03Create remote log files in obj directory.Alexander Bluhm
2019-09-02Test multicast sender, receiver, router. Minimal mcroute implmentationAlexander Bluhm
does not care about IGMP, it simply adds static multicast routes. Mutlicast routing needs at least two test machines. Otherwise only send and receive on localhost is tested.
2019-09-02Link multicast tests to regress build.Alexander Bluhm
2019-09-02Test multicast sender, receiver, router. Minimal mcroute implmentationAlexander Bluhm
does not care about IGMP, it simply adds static multicast routes. Mutlicast routing needs at least two test machines. Otherwise only send and receive on localhost is tested.
2019-05-10Simplify the detection for installed python and scapy. RefactorAlexander Bluhm
these tests to make them similar. Use the setup and cleanup variables.
2018-09-28Always try to build packet reflector on remote machine. It may beAlexander Bluhm
missing after reinstall.
2018-09-10Send many small fragments that exceed the pf reassembly queue limit.Alexander Bluhm
2018-09-07Fragment one large 64k IP ping packet into 155 fragments, each withAlexander Bluhm
424 bytes payload. Send them in random order. Expect a fragment with matching echo reply header.
2018-08-30Use correct environment variable to access remote machine.Alexander Bluhm
2018-07-30Replace fork with sniffer thread in Python. Clear the BPF listAlexander Bluhm
before sniffing, Scapy 2.4.0 remembers old packets that confuse the test.
2018-07-08zap empty lineanton
2018-07-04hook up recvmsganton
2018-07-04Add regress covering the recently fixed mbuf double free in rip_usrreq().anton
2018-05-28Make sure that the inetd echo and nonxt protocol reflectors areAlexander Bluhm
running on the remote machines.
2018-05-21Activate IPv6 no next header protocol over IPsec test. Run theAlexander Bluhm
protocol 59 reflector as daemon on the remote machine like an echo service. It is configured during setup creation and started by an rc.d script.
2018-05-19Install inetd.conf files and start the daemon on remote machinesAlexander Bluhm
during make create-setup. This makes it easier to configure all machines correctly for the test run. suggested by mpi@
2018-05-19Additionally send no next header protocol 59 packets through theAlexander Bluhm
IPsec test. They consist solely of an IPv6 header chain and trigger edge cases. Deactivate for now until the raw IP reflector can be build and started reliably on remote machine.
2018-05-15Typo fix, ok bluhm@Martin Pieuchot
2018-04-12Disable counting TCP packets in the test as it does not work reliably.Alexander Bluhm
The sequence of packets and combination of flags depends on timing.
2017-09-15Clean up pf rules and states on remote machine so that they do notAlexander Bluhm
interfere with later tests.
2017-09-07Copy IPv6 fragment test cases to IPv4 and adapt to the different Alexander Bluhm
behavior. All tests are run once with pf fragment reassembly and once with pf disabled and IP input reassembly. Three sub tests are currently disabled as the IP stack behaves differently than pf.