Date: Sat, 19 Feb 2011 14:57:00 +0000 (UTC) From: Bruce Cran <brucec@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r218854 - head/share/examples/pf Message-ID: <201102191457.p1JEv0oS099566@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brucec Date: Sat Feb 19 14:57:00 2011 New Revision: 218854 URL: http://svn.freebsd.org/changeset/base/218854 Log: Update the icmp example to show allowing only the safe types. Suggested by: Tom Judge <tom at tomjudge.com> MFC after: 3 days Modified: head/share/examples/pf/pf.conf Modified: head/share/examples/pf/pf.conf ============================================================================== --- head/share/examples/pf/pf.conf Sat Feb 19 14:49:49 2011 (r218853) +++ head/share/examples/pf/pf.conf Sat Feb 19 14:57:00 2011 (r218854) @@ -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?201102191457.p1JEv0oS099566>