Deleted Added
full compact
example.7 (145510) example.7 (153877)
1# $FreeBSD: vendor/ipfilter/dist/contrib/ipfilter/rules/example.7 145510 2005-04-25 17:31:50Z darrenr $
2# block all ICMP packets.
3#
4block in proto icmp all
5#
6# allow in ICMP echos and echo-replies.
7#
8pass in on le1 proto icmp from any to any icmp-type echo
9pass in on le1 proto icmp from any to any icmp-type echorep
10#
11# block all ICMP destination unreachable packets which are port-unreachables
12#
13block in on le1 proto icmp from any to any icmp-type unreach code 3
1# block all ICMP packets.
2#
3block in proto icmp all
4#
5# allow in ICMP echos and echo-replies.
6#
7pass in on le1 proto icmp from any to any icmp-type echo
8pass in on le1 proto icmp from any to any icmp-type echorep
9#
10# block all ICMP destination unreachable packets which are port-unreachables
11#
12block in on le1 proto icmp from any to any icmp-type unreach code 3