summaryrefslogtreecommitdiff
path: root/regress/sbin
AgeCommit message (Collapse)Author
2016-09-01no route-to/reply-to/dup-to on block rules, aka make this pass againHenning Brauer
triggered by bluhm's *meep, secret*
2016-09-01Now the cached route flag appears in "route show". Adapt test.Alexander Bluhm
OK mpi@
2016-09-01Test that RTF_LOCAL routes cannot be deleted from userland.Martin Pieuchot
2016-09-01Use counter should stay at '0' if the lookup hasn't been done forMartin Pieuchot
tansmitting packets.
2016-08-31Add a bunch of regress test to verify the RTM_CHANGE behaviour of mpathClaudio Jeker
and non-mpath routes. Some of the tests currently fail.
2016-08-31Document what the various test here do. With mpi@Claudio Jeker
2016-08-26Make regress Makefile consistent with other tests, use bsd.regress.mk.Alexander Bluhm
OK otto@
2016-08-22Use a reachable next hop for test 13, which make it fail as it should.Martin Pieuchot
2016-08-22Sync counters now that ifa_ifwithroute() no longer uses ifa_ifwithnet().Martin Pieuchot
2016-08-22Sync counters now that ifa_ifwithroute() no longer uses ifa_ifwithnet().Martin Pieuchot
2016-08-22Sync refcount with recent change.Martin Pieuchot
2016-07-19Update counters & unbreak now that rtrequest(RTM_ADD, ...) caches theMartin Pieuchot
gateway.
2016-03-24Update regress test outputs to match the order of routes exported by anMartin Pieuchot
ART-enabled kernel. The difference is that routes with the same destination are now displayed in natural prefix-length order. This can even be seen as an improvement: -10.0/16 192.0.2.4 -10.0/10 192.0.2.4 10/8 192.0.2.1 +10.0/10 192.0.2.4 +10.0/16 192.0.2.4 The previous order is due to how dup key chains are ordered. Discussed with claudio@
2015-12-02Check that routes to the same destination but with a different priorityMartin Pieuchot
are inserted in the right order. Currently failing with ART.
2015-11-30Rewrite the "netmask" rule testing the "-dst" and "-net" optionsMartin Pieuchot
of route(8) to populate the test routing table (number 5) and use different subnets since we're not passing the "-mpath" flags. Breakage reported by daniel@
2015-11-09Match recent rtalloc(9) rewrite.Martin Pieuchot
Gateway routes are now cached the first time they are used and no longer when they are added. This allows to track down which multipath route is being selected as next-hop.
2015-10-27Check that RTM_GET works without RTAX_GATEWAY argument for multipathMartin Pieuchot
route entries.
2015-10-25Sync after recent rtable_insert() change.Martin Pieuchot
2015-10-14unbreak regress/sbin/newfsSebastien Marie
/dev/prandom is no more since Nov 30, 2008 OK otto@
2015-10-08Local route entries are always UP now, missed in previous.Martin Pieuchot
2015-09-28Sync with recent changes, local routes are now always UP.Martin Pieuchot
2015-09-23Sync with recent rt_use change.Martin Pieuchot
2015-09-07Sync output with recent IPv6 loopback changes to ensure ::1 is theMartin Pieuchot
first configured address. Yes, IPv6 address configuration code is fragile and selecting the first address of an interface to use it in a route entry might not be the best choice. Breakage reported by daniel@
2015-09-03revert previous since the v6 address order has been restoredMike Belopuhov
2015-09-03route-to, reply-to and dup-to are no longer supported on block rulesMike Belopuhov
2015-09-03order of assigned v6 addresses has slightly changedMike Belopuhov
2015-09-03sync to reflect changes in pfctl_parser.c -r1.305Mike Belopuhov
2015-08-31No more connected routes on loopback interfaces.Martin Pieuchot
Those tests now pass even if you have an AUTOCONF'd address on your machine. Note that the global list of prefixes is *still* not rtable ID aware.
2015-05-19Test divert-to rules' address handling (pfctl/parse.y -r1.648)Mike Belopuhov
2015-04-17Remove superflous "::1" route, test currently failing but a fix isMartin Pieuchot
in its way.
2015-04-17Local routes should be present in the routing table output.Martin Pieuchot
2015-04-17Match -current output. Every configured address should have a local routeMartin Pieuchot
and remove redundant loopback cloning route. Note that tests using IPv6 still contain two routes to "::1" this should cause no harm but is being investigated.
2015-03-02Add three extra checks that test proper removal of the P flag. Currently 2 failClaudio Jeker
2015-01-27Specify the default MTU size for routes to loopback.Martin Pieuchot
Tests are currently failing, to be fixed soon.
2014-11-26Add 3 regression tests for "route change" dealing with -ifp, -ifa andMartin Pieuchot
-mtu. Triggered by a report from Florian Riehm on tech@. Note that two of these tests are using IPv6 addresses and expose another bug with ::1. I'll deal with this afterward unless someone else(tm) fixes it.
2014-11-18Nuke some obvious #include duplications.Kenneth R Westerback
ok espie@ deraadt@ millert@ tedu@
2014-11-13keep queues around when anchors are being loadedMartin Pelikan
ok mikeb
2014-10-29Update test outputs to reflect the fact that routes to loopback addressesMartin Pieuchot
are plain local routes.
2014-10-28add a regression test for the pfctl parser bug recently fixed bySebastian Benoit
mikeb@ in pfctl/parse.y rev 1.641. with feedback from mikeb sthen and henning
2014-08-27Add support for Curve25519 using the public domain code that is foundReyk Floeter
in OpenSSH. The "private use" DH group 1034 is based on the value that was picked by strongswan recently. OK mikeb@ markus@
2014-08-25Inspired by the previous brainpool addition, copy isakmpd's dh test toReyk Floeter
iked. Both daemons share the same dh implementation, but this makes it easier to test iked directly.
2014-08-23when you specify queues in a rule, make sure they have been defined.Martin Pelikan
DIOCADDRULE EBUSY turns into an error message that pfctl -n catches. DIOCXCOMMIT EINVAL after the kernel rejected the rules was reported to occur, possibly from hfsc.c: this should be fixed as well. ok henning mikeb sthen
2014-07-03Enter the REGRESS_FULL target subdirs for clean, cleandir and obj targets.Miod Vallat
2014-06-25Explicitely specify address family when translation pool may containMike Belopuhov
addresses of different address families.
2014-06-24Fixup the test after new queue code has been added.Mike Belopuhov
You can't load a ruleset with undefined queues into the anchor. Change the test to use "set prio" since the whole purpose of it is to test the flexibility of the pf.conf language, not a particular queue feature.
2014-05-31Add a basic test for RTM_CHANGEClaudio Jeker
2014-05-14Adjust route outputs to the new lo(4) MTU which is now the same on all archs.Claudio Jeker
Makes this regress work again.
2014-04-18Introduce some regress tests against our routing table. At least that wayClaudio Jeker
there is a chance that we do not break the network stack even more. These regress tests already found a few issues. The framework is ugly and does not properly recover from failures. Somebody more skilled can come up with a better solution. mpi@, blambert@ and sthen@ support this
2014-04-18missed theseHenning Brauer
2014-04-18stop testing altq stuffzHenning Brauer
how many tests I wrote back then... (of which the majority is pointless)