summaryrefslogtreecommitdiffstats
path: root/regress/sys/netinet6/frag6 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* py3-scapy is now scapykn2020-12-301-3/+3
| | | | OK bluhm sthen
* Wrap long lines.bluhm2020-12-262-9/+10
|
* Wrap long lines.bluhm2020-12-257-26/+52
|
* Switch to scapy with python 3.bluhm2020-12-2534-377/+376
|
* Remove echo headlines.bluhm2020-12-171-7/+1
|
* Make checksum comparison more robust. 0xffff is the same as 0.bluhm2019-09-191-1/+1
|
* Send ping6 fragment that ends behind ipv6 max packet size.bluhm2019-09-173-1/+105
|
* Simplify the detection for installed python and scapy. Refactorbluhm2019-05-101-27/+18
| | | | | these tests to make them similar. Use the setup and cleanup variables.
* Check that pf and IPv6 stack handle two ping6 fragments with differentbluhm2019-04-081-0/+51
| | | | extension headers correctly and produce a echo reply.
* Send many small fragments that exceed the pf reassembly queue limit.bluhm2018-09-102-1/+77
|
* Fragment one large 64k IP ping packet into 155 fragments, each withbluhm2018-09-071-0/+64
| | | | | 424 bytes payload. Send them in random order. Expect a fragment with matching echo reply header.
* Add more checks helping to set up the test environment.bluhm2017-11-141-3/+6
|
* Clean up pf rules and states on remote machine so that they do notbluhm2017-09-152-4/+10
| | | | interfere with later tests.
* Get IPv4 and IPv6 fragment tests into common shape. Some chunksbluhm2017-09-073-5/+5
| | | | were forgotten in previous commit.
* Link regress/sys/netinet/frag to build. Get IPv4 and IPv6 fragmentbluhm2017-09-0710-37/+183
| | | | tests into common shape. Add some missing test cases.
* Remove useless make depend targets.bluhm2017-07-071-3/+1
|
* As pf blocks packets with IPv6 options header, the tests needs anbluhm2017-05-312-5/+11
| | | | allow-opts rule.
* Avoid warnings from ssh -t, check remote SUDO at beginning.bluhm2017-03-011-5/+6
|
* Use consistent address schema with local and remote machine. Fillbluhm2017-03-0125-171/+218
| | | | variables with example IPs from my daily test run.
* Fragment reassembly code exists in pf and network stack. To testbluhm2017-02-282-16/+52
| | | | | both, run the tests in a loop. Disable and enable pf on the remote machine automatically.
* Fix typo in variable name.bluhm2017-01-243-3/+3
|
* Do not use privileged or NFS source ports for UDP packets as inetdbluhm2017-01-1824-140/+197
| | | | | ignores such packets. This should avoid some sporadic failures. While there, use variable names consistently in all tests.
* Test that IPv6 framents with invalid length or more-fragment bitbluhm2016-11-215-0/+246
| | | | drop the whole fragment cache.
* Put all make targets in a loop and print a little more what eachbluhm2016-11-1721-160/+68
| | | | IPv6 fragment header test is doing.
* Send fragment with Hop-by-Hop extension header after the fragmentbluhm2016-11-172-1/+55
| | | | header. I must not be processed.
* The clean:, cleandir:, and obj: targets of src/Makefile descend intotb2016-10-191-1/+3
| | | | | | | | regress/ and run python to set the IMPORT_PYTHON variable in several test Makefiles. This results in W^X violations during 'make build'. Avoid doing that. ok bluhm
* Print SKIPPED if a regress test cannot be executed for some reason.bluhm2016-09-021-1/+3
| | | | This allows to identify such tests by looking at their output.
* Fix tests: Restrict getpid() to lower 16 bit so that it can stillbluhm2016-05-2218-18/+18
| | | | | be used as packet id. Now scapy calls nexthopmtu with this name explicitly in icmp structure.
* Test that ping6 fragments with ethernet padding get reassembledbluhm2015-04-152-1/+54
| | | | correctly.
* Use a simpler expression to check the ether type in scapy. Thisbluhm2014-12-1917-17/+17
| | | | makes the fragment tests work on FreeBSD. From Ilya Bakulin.
* Verify the checksum of the echo reply fragment based on the echobluhm2014-07-111-0/+9
| | | | request.
* Add a test that sends a large ICMP6 packet in many small fragments.bluhm2014-07-114-3/+62
| | | | The echo reply has to be fragmented.
* Do not fail the regression tests if python or the scapy package isbluhm2013-10-311-23/+47
| | | | | | | | not installed. Print a warning, explain the problem and skip the test in this case. Also skip the test if the environment has not been configured for the remote test target machine. Fix the Makefile to run the tests with or without an obj directory. Finally link the netinet6 regression tests into the build.
* I need one more fragment to make the timeout test reliable.bluhm2013-07-232-7/+8
|
* fix typo in fragment payloadbluhm2013-07-2315-15/+15
|
* IPv6 fragments, that cannot be reassembled within 60 seconds afterbluhm2013-07-232-1/+63
| | | | | | the frist fragment has arrived, must be dropped. Add a regression test that sends 5 echo request fragments within 75 seconds and check that there is no echo reply.
* Add IPv6 tests for fragmented destination options, fragments withoutbluhm2012-02-088-3/+318
| | | | payload, fragmented UDP packets.
* Test sending a short atomic IPv6 fragment.bluhm2012-01-272-1/+57
|
* Add a test for atomic IPv6 fragment reassembly.bluhm2012-01-242-1/+55
|
* After overlapping IPv6 fragments have been dropped, new fragmentsbluhm2012-01-231-5/+4
| | | | with the same id get reassembled into a valid packet. Adapt test.
* Do not read dstaddr from command line, get it from addr.py.bluhm2012-01-118-37/+29
|
* According to RFC 5722 we drop all IPv6 fragments that belong to abluhm2012-01-105-13/+78
| | | | packet with overlaps. Adapt existing tests and add one more.
* Add tests for IPv6 fragment reassembly. Hand-crafted ping6bluhm2012-01-067-0/+411
echo-request fragments are sent by scapy to the target machine. There they get reassembled and a echo-reply comes back. The ping6 payload is checked.