summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl
AgeCommit message (Collapse)Author
2014-11-13keep queues around when anchors are being loadedMartin Pelikan
ok mikeb
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-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-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-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-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-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.
2011-12-12update regression tests wrt skip steps (fixed in pfctl.c rev1.305);Mike Belopuhov
ok henning mcbride (a while back)
2011-12-12fixup regression tests wrt skip steps (fixed in pfctl.c rev1.305);Mike Belopuhov
ok henning mcbride (a while back)
2011-11-27adjust for port numbers instead of names by defaultHenning Brauer
From: Lawrence Teo <lteo at devio at us>
2011-07-27oops, missing file for weighted round-robin test.Ryan Thomas McBride
2011-07-27Update regress tests for weighted round-robin (and recent pool bugfix)Ryan Thomas McBride
2011-07-24Handle 'show' specially to prepare for regress tests on pfrke_routeRyan Thomas McBride
and pfrke_cost entries. Output becomes sorted in table order.
2011-07-24Update PF table regress tests to work with -current.Ryan Thomas McBride
2011-07-13Must now specify correct protocol (tcp, udp) for user and group attributes.Ryan Thomas McBride
2011-07-08Add regress tests for 'prio' keyword.Ryan Thomas McBride
2011-07-08'prio' will be a reserved keyword soon.Ryan Thomas McBride
2011-07-08Update regress tests for the following changes:Ryan Thomas McBride
- if_addr RB_TREE (Address sort differently on an interface) - skip steps changes - RDOMAIN - reordering of address/port tests - fastroute is gone - keep state is no longer printed by default - lo0 now has link-local scope address in addition to ::1
2011-07-07Regress test cleanup step 1 of n: require-order no longer exists.Ryan Thomas McBride
2010-07-03add several new tests for pfctl, and fix the output of some existingPeter Hessler
tests for the updated pfctl. OK henning@, mcbride@
2010-07-01if we cannot copy the setup file (because objdir doesn't exist), thenPeter Hessler
continue anyways.
2010-06-30Add a test for route labels, re PR6416. ok phessler@Stuart Henderson
2010-06-20The -R option was removed from pfctl in March, so we no longer need thisPeter Hessler
test. The remaining pieces are all tested in other regress tests. OK sthen@
2010-05-10Various comment typos. 'wether' -> 'whether' (most popular), 'possiblity' ->Kenneth R Westerback
'possibility', 'optins' -> 'options', 'resposne' -> 'response', 'unecessary' -> 'unnecessary', 'desination' -> 'destination'. Collected from various misc@ and tech@ postings, many by Brad Tilley.
2010-03-23adjust after -A / -O / -R / -T load removalHenning Brauer
2010-01-13Update regress output files to -current behaviourRyan Thomas McBride
- non-pool translation/routing specification - leftover bits from nat-to/rdr-to/binat-to
2010-01-13Remove random component of auto-generated table names in loaded rules.Ryan Thomas McBride
2010-01-12no nat is no longer legalRyan Thomas McBride
convert nat/rdr/binat rules to nat-to/rdr-to/binat-to
2010-01-12{ if0, if1 } is ambiguous in a route spec, and this should have beenRyan Thomas McBride
rejected before (I'm surprised this worked)
2010-01-12nat-anchor, rdr-anchor, binat-anchor are no longer legal in the grammar.Ryan Thomas McBride
2009-10-06more updates for new pf with source-hash manually added toJonathan Gray
loaded output as it doesn't currently appear as it should. ok henning@
2009-09-24Update some more tests for new pf.Jonathan Gray
ok henning@
2009-09-24Remove some tests that are no longer relevant with the new pf.Jonathan Gray
ok henning@
2009-09-23sync with pfopt5.in correct comments regarding -N/-RJonathan Gray
2009-09-23More tweaks to try to catchup to recent pf changes.Jonathan Gray
pfopt5 part from sthen@ ok henning@ sthen@
2009-09-07implement binat-to as a macro-like rule: a rule using the new binat-toReyk Floeter
syntax will be expanded by the parser to a nat-to+rdr-to combination to be loaded into the kernel. this simplifies the migration from old binat rules and is less error-prone. feedback from many, manpage bits from jmc@ ok henning@
2009-09-03Adapt to new pfctl, remove use of -Fn and -snJonathan Gray
Thanks to phessler for pointing out that the show command was buried in '-gvvsn' ok henning
2009-09-03adapt to new pfJonathan Gray
ok henning
2009-09-03adapt to nat changesJonathan Gray
ok henning
2009-09-02convert a bunch of rdr/nat rules to the new syntaxJonathan Gray
Things still need to be changed for route-to/binat/command line options among other things. ok henning
2009-06-30add "-o none" to pfctl call to prevent automatic table creation ofDavid Krause
multiple addresses which causes the test to fail; ok sthen@