From fd65dce822c9526f698c5f08ae844eaa21ec03a1 Mon Sep 17 00:00:00 2001 From: Daniel Hartmeier Date: Wed, 27 Feb 2002 18:23:40 +0000 Subject: And adjust regress tests to match the rule number output. --- regress/sbin/pfctl/pf2.ok | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'regress/sbin/pfctl/pf2.ok') diff --git a/regress/sbin/pfctl/pf2.ok b/regress/sbin/pfctl/pf2.ok index 88b99c002da..55f37414c8f 100644 --- a/regress/sbin/pfctl/pf2.ok +++ b/regress/sbin/pfctl/pf2.ok @@ -1,21 +1,21 @@ @0 block out log on tun0 all -@0 block in log on tun0 all -@0 block return-rst out log on tun0 proto tcp all -@0 block return-rst in log on tun0 proto tcp all -@0 block return-icmp out log on tun0 proto udp all -@0 block return-icmp in log on tun0 proto udp all -@0 block out log quick on tun0 inet from ! 157.161.48.183/32 to any -@0 block in quick on tun0 inet from any to 255.255.255.255/32 -@0 block in log quick on tun0 inet from 10.0.0.0/8 to any -@0 block in log quick on tun0 inet from 172.16.0.0/12 to any -@0 block in log quick on tun0 inet from 192.168.0.0/16 to any -@0 block in log quick on tun0 inet from 255.255.255.255/32 to any -@0 pass out on tun0 inet proto icmp all icmp-type echoreq code 0 keep state -@0 pass in on tun0 inet proto icmp all icmp-type echoreq code 0 keep state -@0 pass out on tun0 proto udp all keep state -@0 pass in on tun0 proto udp from any to any port = domain keep state -@0 pass out on tun0 proto tcp all keep state -@0 pass in on tun0 proto tcp from any to any port = ssh keep state -@0 pass in on tun0 proto tcp from any to any port = smtp keep state -@0 pass in on tun0 proto tcp from any to any port = domain keep state -@0 pass in on tun0 proto tcp from any to any port = auth keep state +@1 block in log on tun0 all +@2 block return-rst out log on tun0 proto tcp all +@3 block return-rst in log on tun0 proto tcp all +@4 block return-icmp out log on tun0 proto udp all +@5 block return-icmp in log on tun0 proto udp all +@6 block out log quick on tun0 inet from ! 157.161.48.183/32 to any +@7 block in quick on tun0 inet from any to 255.255.255.255/32 +@8 block in log quick on tun0 inet from 10.0.0.0/8 to any +@9 block in log quick on tun0 inet from 172.16.0.0/12 to any +@10 block in log quick on tun0 inet from 192.168.0.0/16 to any +@11 block in log quick on tun0 inet from 255.255.255.255/32 to any +@12 pass out on tun0 inet proto icmp all icmp-type echoreq code 0 keep state +@13 pass in on tun0 inet proto icmp all icmp-type echoreq code 0 keep state +@14 pass out on tun0 proto udp all keep state +@15 pass in on tun0 proto udp from any to any port = domain keep state +@16 pass out on tun0 proto tcp all keep state +@17 pass in on tun0 proto tcp from any to any port = ssh keep state +@18 pass in on tun0 proto tcp from any to any port = smtp keep state +@19 pass in on tun0 proto tcp from any to any port = domain keep state +@20 pass in on tun0 proto tcp from any to any port = auth keep state -- cgit v1.2.3