summaryrefslogtreecommitdiffstats
path: root/regress/sbin/pfctl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* More route-to fallout in pfctl regress.bluhm2021-02-111-5/+5
|
* route-to rules take ips, not interfaces with optional ips.dlg2021-02-071-13/+13
| | | | another gentle reminder by bluhm@ who pointed out i missed some
* i missed a dup-to when tweaking route-to things to takes ips, not ifaces.dlg2021-02-071-1/+1
| | | | gentle reminded by bluhm@
* it's fine to route-to to a table.dlg2021-02-041-3/+0
| | | | i think this should have been tweaked a while back.
* route-to rules take ips now, not interfaces with optional ips.dlg2021-02-043-19/+19
| | | | reminded by bluhm@
* route-to rules take ips, not interfaces with optional ips.dlg2021-02-043-38/+38
| | | | reminded by bluhm@
* route-to rules take an ip now, not an interface with optional ip.dlg2021-02-042-2/+4
| | | | | | | they now also only work on keep state rules, so there's even more errors from the parser to expect. reminded by bluhm@
* Fix "rtable N" checkkn2020-10-062-2/+2
| | | | | | | pfctl parse.y r.1702 enforced rtables to exist at ruleset creation time but rtable 7 does not exist (this regress only tests the parser), so use 0. Spotted by tb.
* Use strtonum in host()kn2018-07-281-2/+2
| | | | | | | | This is simpler than checking three cases for `q' and gives nicer error messages. While here, use `v6mask' as maximum netmask instead of hardcoding it. OK sashan
* Some spaces have been removed from pfctl print. Adapt expectedbluhm2018-07-1110-43/+43
| | | | output in regress.
* Fix pfloadanchors tests when running with obj directory.bluhm2017-12-122-21/+22
| | | | Remove unused file.
* Test invalid divert combinations and adapt error messages.bluhm2017-11-2913-3/+14
|
* - regression tests for 'load anchor ... from ...'sashan2017-11-299-1/+59
| | | | the test case itself comes from Leonardo Guardati
* Use the environment variable PFCTL to specify a different executablebluhm2017-11-243-66/+73
| | | | | for testing. Default is /sbin/pfctl. This makes test driven development easier.
* actually add the files needed by my test. noted by bluhm@, thxbenno2017-08-133-0/+4
|
* add option -N (no domain resolution)benno2017-08-111-1/+28
| | | | | manpage wording and reminder about usage() jmc@ ok florian@ henning@
* In pf.conf the icmp6-type notnbr-unr has been renamed to beyond-unr.bluhm2017-08-074-6/+6
| | | | Adapt regress test.
* Fixup pf109.ok and rewrite pf110mikeb2017-07-203-3/+3
|
* Regression tests asserting various HFSC and FQ-CoDel functionalitymikeb2017-07-1925-3/+40
|
* regress/sbin/pfctl - use -n for pfcmd groupawolk2017-07-151-1/+1
| | | | | | | | | | | | | | | Passing in the -n which just results in the rules being parsed. The definition for the pfctlcmd testing group in the Makefile is: # pfcmd: test pfctl command line parsing This test passeed only because pfctl didn't exit with an error when it was asked to clear tables from a non existing anchor. with the -n flag we still test if the anchor command can be combined with -Fa but don't actually attempt to run the clearing code. OK mikeb@, sashan@
* Remove all references to "make depend" from regress.bluhm2017-07-071-2/+2
|
* Test that af-to cannot be used together with route-to, reply-to, dup-to.bluhm2016-11-232-0/+14
|
* also copy pf103.include to obj dirotto2016-09-301-1/+3
|
* no route-to/reply-to/dup-to on block rules, aka make this pass againhenning2016-09-014-16/+16
| | | | triggered by bluhm's *meep, secret*
* revert previous since the v6 address order has been restoredmikeb2015-09-032-9/+9
|
* route-to, reply-to and dup-to are no longer supported on block rulesmikeb2015-09-031-0/+2
|
* order of assigned v6 addresses has slightly changedmikeb2015-09-032-9/+9
|
* sync to reflect changes in pfctl_parser.c -r1.305mikeb2015-09-031-1/+1
|
* Test divert-to rules' address handling (pfctl/parse.y -r1.648)mikeb2015-05-197-3/+24
|
* keep queues around when anchors are being loadedpelikan2014-11-134-2/+9
| | | | ok mikeb
* add a regression test for the pfctl parser bug recently fixed bybenno2014-10-283-2/+19
| | | | | mikeb@ in pfctl/parse.y rev 1.641. with feedback from mikeb sthen and henning
* when you specify queues in a rule, make sure they have been defined.pelikan2014-08-233-2/+6
| | | | | | | | 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
* Explicitely specify address family when translation pool may containmikeb2014-06-255-8/+8
| | | | addresses of different address families.
* Fixup the test after new queue code has been added.mikeb2014-06-244-35/+35
| | | | | | | 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.
* missed thesehenning2014-04-183-39/+0
|
* stop testing altq stuffzhenning2014-04-1881-708/+15
| | | | how many tests I wrote back then... (of which the majority is pointless)
* adopt existing altq regress to queueing changes; queuespecs for altq usehenning2013-10-1265-236/+236
| | | | "oldqueue" as keyword for the transition phase
* extra skip step and counters printout fixed by the recent pfctl changemikeb2013-08-021-6/+0
|
* fixup set prio falloutmikeb2013-08-022-8/+8
|
* update pfail32.ok: it's failiing in a much better way now; ok henningmikeb2013-08-021-1/+6
|
* more set queue fallout fixupsmikeb2013-08-012-11/+11
|
* fixup pfctl regress fallout from the "set tos" and "set queue" changesmikeb2013-07-316-33/+33
|
* pf.conf "prio" syntax was changed (2012/07/09); adapt pfctl regress tests.sthen2012-10-203-11/+11
| | | | | | | ok henning@ prio X -> set prio X prio (X Y) -> set prio (X Y)
* scrub(set-tos XX) is deprecated, the preferred form (and thus displaysthen2012-10-192-7/+7
| | | | output) is set(tos XX). sync regression tests accordingly. henning@ ok.
* update regression tests wrt skip steps (fixed in pfctl.c rev1.305);mikeb2011-12-1271-642/+658
| | | | ok henning mcbride (a while back)
* fixup regression tests wrt skip steps (fixed in pfctl.c rev1.305);mikeb2011-12-1271-830/+830
| | | | ok henning mcbride (a while back)
* adjust for port numbers instead of names by defaulthenning2011-11-2766-413/+413
| | | | From: Lawrence Teo <lteo at devio at us>
* oops, missing file for weighted round-robin test.mcbride2011-07-271-0/+17
|
* Update regress tests for weighted round-robin (and recent pool bugfix)mcbride2011-07-2710-13/+188
|
* Handle 'show' specially to prepare for regress tests on pfrke_routemcbride2011-07-245-161/+165
| | | | and pfrke_cost entries. Output becomes sorted in table order.