summaryrefslogtreecommitdiff
path: root/regress/sbin
AgeCommit message (Collapse)Author
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)
2013-10-12adopt existing altq regress to queueing changes; queuespecs for altq useHenning Brauer
"oldqueue" as keyword for the transition phase
2013-08-25transform names cannot have commasMike Belopuhov
2013-08-25transform names cannot have commasMike Belopuhov
2013-08-02fixup set prio falloutMike Belopuhov
2013-08-02extra skip step and counters printout fixed by the recent pfctl changeMike Belopuhov
2013-08-02fixup set prio falloutMike Belopuhov
2013-08-02update pfail32.ok: it's failiing in a much better way now; ok henningMike Belopuhov
2013-08-01Some tests are currently failing. Only run those if the REGRESS_FULLMark Kettenis
variable is set.
2013-08-01more set queue fallout fixupsMike Belopuhov
2013-07-31fixup pfctl regress fallout from the "set tos" and "set queue" changesMike Belopuhov
2012-10-20pf.conf "prio" syntax was changed (2012/07/09); adapt pfctl regress tests.Stuart Henderson
ok henning@ prio X -> set prio X prio (X Y) -> set prio (X Y)
2012-10-19scrub(set-tos XX) is deprecated, the preferred form (and thus displayStuart Henderson
output) is set(tos XX). sync regression tests accordingly. henning@ ok.
2012-09-17sync with transform-name-fixMarkus Friedl