<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -859,22 +859,15 @@ $IPFW add 5310 set 5 $unreach_host_prohib $logall tcp from any to any $tcp_ports
 #
 ##############################################################################
 
-for (( index=0; index &lt; intf_count; index++ )); do
-    netw=${networks[$index]}
-    intf=${interfaces[$index]}
-
-    # Allow DHCP packets in and out, including broadcast.  Since we don't have
-    # an address yet, we can't use &quot;me&quot; as a target here.
-    $IPFW add 6000 set 6 allow $logall udp \
-	from any 67-68 to any 67-68 out via $intf keep-state
-
-    # Allow certain types of ICMP packets on known interfaces, which might be
-    # necessary for proper operation
-    $IPFW add 6100 set 6 allow $logall icmp from me to $netw \
-	icmptypes 0,3,4,11,12,13,14 out via $intf keep-state
-    $IPFW add 6110 set 6 allow $logall icmp from $netw to me \
-	icmptypes 0,3,4,11,12,13,14 in via $intf keep-state
-done
+# Allow DHCP packets in and out, including broadcast.  Since we don't have
+# an address yet, we can't use &quot;me&quot; as a target here.
+$IPFW add 6000 set 6 allow $logall udp \
+    from any 67-68 to any 67-68 keep-state
+
+# Allow certain types of ICMP packets on known interfaces, which might be
+# necessary for proper operation
+$IPFW add 6100 set 6 allow $logall icmp from any to any \
+    icmptypes 0,3,4,11,12,13,14 keep-state
 
 ##############################################################################
 #</diff>
      <filename>rc.firewall</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>57b08f6d01671336dca7474ca4f38e84fab583cd</id>
    </parent>
  </parents>
  <author>
    <name>John Wiegley</name>
    <email>johnw@newartisans.com</email>
  </author>
  <url>http://github.com/jwiegley/jw.firewall/commit/2f270493526a324b168ac32999fa3a2bbd13cf7f</url>
  <id>2f270493526a324b168ac32999fa3a2bbd13cf7f</id>
  <committed-date>2009-03-23T18:33:20-07:00</committed-date>
  <authored-date>2009-03-23T18:33:20-07:00</authored-date>
  <message>Simplified filtering of DHCP packets</message>
  <tree>384a4c701797b0fe5b02f51923801800a5e07233</tree>
  <committer>
    <name>John Wiegley</name>
    <email>johnw@newartisans.com</email>
  </committer>
</commit>
