summaryrefslogtreecommitdiff
path: root/regress/sbin
AgeCommit message (Collapse)Author
2002-09-02Rename a bunch of the old bsd.regress.mk variables into the new ones.Anil Madhavapeddy
ok art@
2002-07-30negative regression test for flags handlingHenning Brauer
2002-07-30positive regression test for flag handlingHenning Brauer
2002-07-26swap log and quick a few timesHenning Brauer
2002-07-21test missing commaTheo de Raadt
2002-07-20two more from henningTheo de Raadt
2002-07-20adapt to new dup-to syntaxTheo de Raadt
2002-07-20use diff nicerTheo de Raadt
2002-07-16Add nat_consistent() and rdr_consistent() for checks that should occurDaniel Hartmeier
after rule expansion, similar to rule_consistent(). Fixes the non-effective test for rdr rules for non-TCP/UDP protocols with ports, found by mpech@, ok frantzen@
2002-07-15test "on ! interface"Henning Brauer
2002-07-15o don't use keep state on block rulesHenning Brauer
o don't use return-rst on not-tcp rules
2002-07-13regression test for interface and proto list expansion in nat rulesHenning Brauer
2002-07-09the new interface-to-ip lookup fuctions requires the address family to beHenning Brauer
specified in this cases. ok pb@, dhartmei@, kjell@
2002-07-08Don't allow 'flags' option in non-TCP rules, found by mpech@Daniel Hartmeier
2002-07-06theo doesn't like it.Henning Brauer
always use the pfctl in path.
2002-07-06use sbin/pfctl/${__objdir}/pfctl for regression tests if existant, fallHenning Brauer
back to pfctl in path otherwise. will save my ass sooner or later. ok millert@, pb@
2002-06-25regression tests for options in pf.confHenning Brauer
ok dhartmei@, kjell@
2002-06-24scrub on <if> works now, update regress tests.Daniel Hartmeier
2002-06-13Scrub rules are now numbered properly. my bad. ok frantzen@Kjell Wooding
2002-06-11turn on pf21Mike Frantzen
2002-06-11test scrub fragment {reassemble|crop|drop-ovl} modifiersMike Frantzen
2002-06-11sync w/ default implicit "fragment reassemble" scrub modifierMike Frantzen
2002-06-11regression test for NATing to dynamic addresses ( nat ... -> (if) )Henning Brauer
ok dhartmei@
2002-06-11Use merged config file format. The separate NAT loop can go away,Kjell Wooding
since all files are now loaded the same way. Add regress tests for invalid ordering of scrub, nat, filter rules
2002-06-10Add regression tests for scrubKjell Wooding
2002-06-09Add regression tests for rdr list processingKjell Wooding
2002-06-08Add regression tests for NAT list expansionKjell Wooding
2002-06-08no macro concatenation via +=Henning Brauer
2002-06-08regression test for macro concatenationHenning Brauer
ok dhartmei@
2002-06-08explicitely set inet for localhost and lo0 tests, test would fail ifHenning Brauer
localhost resolves to ::1 ok dhartmei@
2002-06-08regression test from $srcaddr & friends in rule labelsHenning Brauer
ok dhartmei@
2002-06-07whoops. turn on the IPv6 scope testMike Frantzen
2002-06-07regress test IPv6 scopesMike Frantzen
2002-06-01Update tests to reflect ECN support.Hugh Graham
2002-04-24Add dynamic (in-kernel) interface name -> address translation. Instead ofDaniel Hartmeier
using just the interface name instead of an address and reloading the rule set whenever the interface changes its address, the interface name can be put in parentheses, and the kernel will keep track of changes and update rules. There is no additional cost for evaluating rules (per packet), the cost occurs when an interface changes address (and the rules are traversed and updated where necessary).
2002-03-27implement a "no-route" keyword.Michael Shalayeff
usage semantics are analogous w/ "any", meaning is "any ip address for which there is no route in the current routing table", could be used in both from and to. typical usage would be (assuming symmetrical routing): block in from no-route to any also doc "any" in the pf.conf.5, include in regress, etc. tested by me on i386 and sparc. dhartmei@ and frantzen@ ok
2002-02-27And adjust regress tests to match the rule number output.Daniel Hartmeier
2002-02-23no more need to explicitly specify regress: _SUBDIRUSE targets anymore.Artur Grabowski
XXX - what about the install targets?
2002-02-18Clean up.Artur Grabowski
- Don't print failure and return succes, shut up and fail properly. - Don't generate reults once and rerun compares later. Rerun every time. - Don't generate any files, pipes are there to be used.
2002-01-09Add tests for 'no' translation rules and 'label' in filter rules.Daniel Hartmeier
2002-01-01trivial conversions to bsd.regress.mkArtur Grabowski
2001-11-26add tests for fastroute optionsjasoni
2001-11-13Use more common interface names like lo0, tun0, enc0 for regress tests,Daniel Hartmeier
so they run anywhere. From jason@.
2001-10-15Add 'allow-opts' to rules. Packets with IP options will be blocked byDaniel Hartmeier
default now, and can be allowed per rule. ok deraadt@
2001-10-07Add interface name to address translation to pfctl, document it and addDaniel Hartmeier
a regress test. Translation is done on rule set load-time only, so the rule sets must be reloaded when an interface address changes. parse.y patch from Cedric Berger. Similar patch from Jonathon Fletcher. Thanks to both.
2001-10-01sync with support for underscores in macro namesMarkus Friedl
2001-09-15sync ICMP6_DST_UNREACH_NOROUTE <-> _ADMINPeter Stromberg
2001-09-15return-icmp / icmp-type tests, ok dhartmei@Peter Stromberg
2001-09-15Update regress tests. Some input syntax has changed (inet/inet6) as wellDaniel Hartmeier
as some output format (netmasks, inet/inet6, return-icmp).
2001-09-06add test for binatjasoni