Date: Tue, 22 Feb 2011 17:51:45 +0000 (UTC) From: Bruce Cran <brucec@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org Subject: svn commit: r218957 - stable/7/share/examples/pf Message-ID: <201102221751.p1MHpjht016760@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brucec Date: Tue Feb 22 17:51:45 2011 New Revision: 218957 URL: http://svn.freebsd.org/changeset/base/218957 Log: MFC r218854: Update the icmp example to show allowing only the safe types. Suggested by: Tom Judge <tom at tomjudge.com> Modified: stable/7/share/examples/pf/pf.conf Directory Properties: stable/7/share/examples/ (props changed) Modified: stable/7/share/examples/pf/pf.conf ============================================================================== --- stable/7/share/examples/pf/pf.conf Tue Feb 22 17:50:33 2011 (r218956) +++ stable/7/share/examples/pf/pf.conf Tue Feb 22 17:51:45 2011 (r218957) @@ -32,4 +32,4 @@ #pass in on $ext_if proto tcp to ($ext_if) port ssh #pass in log on $ext_if proto tcp to ($ext_if) port smtp #pass out log on $ext_if proto tcp from ($ext_if) to port smtp -#pass in on $ext_if proto icmp to ($ext_if) +#pass in on $ext_if inet proto icmp from any to ($ext_if) icmp-type { unreach, redir, timex }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102221751.p1MHpjht016760>