Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | py3-scapy is now scapy | 2020-12-30 | 1 | -3/+3 | |
| | | | | OK bluhm sthen | ||||
* | Wrap long lines. | 2020-12-26 | 2 | -9/+10 | |
| | |||||
* | Wrap long lines. | 2020-12-25 | 7 | -26/+52 | |
| | |||||
* | Switch to scapy with python 3. | 2020-12-25 | 34 | -377/+376 | |
| | |||||
* | Remove echo headlines. | 2020-12-17 | 1 | -7/+1 | |
| | |||||
* | Make checksum comparison more robust. 0xffff is the same as 0. | 2019-09-19 | 1 | -1/+1 | |
| | |||||
* | Send ping6 fragment that ends behind ipv6 max packet size. | 2019-09-17 | 3 | -1/+105 | |
| | |||||
* | Simplify the detection for installed python and scapy. Refactor | 2019-05-10 | 1 | -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 different | 2019-04-08 | 1 | -0/+51 | |
| | | | | extension headers correctly and produce a echo reply. | ||||
* | Send many small fragments that exceed the pf reassembly queue limit. | 2018-09-10 | 2 | -1/+77 | |
| | |||||
* | Fragment one large 64k IP ping packet into 155 fragments, each with | 2018-09-07 | 1 | -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. | 2017-11-14 | 1 | -3/+6 | |
| | |||||
* | Clean up pf rules and states on remote machine so that they do not | 2017-09-15 | 2 | -4/+10 | |
| | | | | interfere with later tests. | ||||
* | Get IPv4 and IPv6 fragment tests into common shape. Some chunks | 2017-09-07 | 3 | -5/+5 | |
| | | | | were forgotten in previous commit. | ||||
* | Link regress/sys/netinet/frag to build. Get IPv4 and IPv6 fragment | 2017-09-07 | 10 | -37/+183 | |
| | | | | tests into common shape. Add some missing test cases. | ||||
* | Remove useless make depend targets. | 2017-07-07 | 1 | -3/+1 | |
| | |||||
* | As pf blocks packets with IPv6 options header, the tests needs an | 2017-05-31 | 2 | -5/+11 | |
| | | | | allow-opts rule. | ||||
* | Avoid warnings from ssh -t, check remote SUDO at beginning. | 2017-03-01 | 1 | -5/+6 | |
| | |||||
* | Use consistent address schema with local and remote machine. Fill | 2017-03-01 | 25 | -171/+218 | |
| | | | | variables with example IPs from my daily test run. | ||||
* | Fragment reassembly code exists in pf and network stack. To test | 2017-02-28 | 2 | -16/+52 | |
| | | | | | both, run the tests in a loop. Disable and enable pf on the remote machine automatically. | ||||
* | Fix typo in variable name. | 2017-01-24 | 3 | -3/+3 | |
| | |||||
* | Do not use privileged or NFS source ports for UDP packets as inetd | 2017-01-18 | 24 | -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 bit | 2016-11-21 | 5 | -0/+246 | |
| | | | | drop the whole fragment cache. | ||||
* | Put all make targets in a loop and print a little more what each | 2016-11-17 | 21 | -160/+68 | |
| | | | | IPv6 fragment header test is doing. | ||||
* | Send fragment with Hop-by-Hop extension header after the fragment | 2016-11-17 | 2 | -1/+55 | |
| | | | | header. I must not be processed. | ||||
* | The clean:, cleandir:, and obj: targets of src/Makefile descend into | 2016-10-19 | 1 | -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. | 2016-09-02 | 1 | -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 still | 2016-05-22 | 18 | -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 reassembled | 2015-04-15 | 2 | -1/+54 | |
| | | | | correctly. | ||||
* | Use a simpler expression to check the ether type in scapy. This | 2014-12-19 | 17 | -17/+17 | |
| | | | | makes the fragment tests work on FreeBSD. From Ilya Bakulin. | ||||
* | Verify the checksum of the echo reply fragment based on the echo | 2014-07-11 | 1 | -0/+9 | |
| | | | | request. | ||||
* | Add a test that sends a large ICMP6 packet in many small fragments. | 2014-07-11 | 4 | -3/+62 | |
| | | | | The echo reply has to be fragmented. | ||||
* | Do not fail the regression tests if python or the scapy package is | 2013-10-31 | 1 | -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. | 2013-07-23 | 2 | -7/+8 | |
| | |||||
* | fix typo in fragment payload | 2013-07-23 | 15 | -15/+15 | |
| | |||||
* | IPv6 fragments, that cannot be reassembled within 60 seconds after | 2013-07-23 | 2 | -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 without | 2012-02-08 | 8 | -3/+318 | |
| | | | | payload, fragmented UDP packets. | ||||
* | Test sending a short atomic IPv6 fragment. | 2012-01-27 | 2 | -1/+57 | |
| | |||||
* | Add a test for atomic IPv6 fragment reassembly. | 2012-01-24 | 2 | -1/+55 | |
| | |||||
* | After overlapping IPv6 fragments have been dropped, new fragments | 2012-01-23 | 1 | -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. | 2012-01-11 | 8 | -37/+29 | |
| | |||||
* | According to RFC 5722 we drop all IPv6 fragments that belong to a | 2012-01-10 | 5 | -13/+78 | |
| | | | | packet with overlaps. Adapt existing tests and add one more. | ||||
* | Add tests for IPv6 fragment reassembly. Hand-crafted ping6 | 2012-01-06 | 7 | -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. |