]> git.pld-linux.org Git - packages/firestarter.git/commitdiff
- fix DHCP requests
authorKarol Krenski <charles@pld-linux.org>
Fri, 6 May 2005 16:55:02 +0000 (16:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    firestarter-script.patch -> 1.2

firestarter-script.patch

index 554ca1202764a1f862209e7b764b40c2ff0a5fd6..0f6a5545db93bcf121eb6679d5417a03b73a0cd9 100644 (file)
@@ -1,5 +1,5 @@
---- firestarter-1.0.3/src/netfilter-script.c.orig      2005-01-29 13:32:08.000000000 +0100
-+++ firestarter-1.0.3/src/netfilter-script.c   2005-05-06 03:50:46.000000000 +0200
+--- firestarter-1.0.3/src/netfilter-script.c.orig      2005-05-06 14:08:24.000000000 +0200
++++ firestarter-1.0.3/src/netfilter-script.c   2005-05-06 14:20:33.000000000 +0200
 @@ -405,7 +405,7 @@
                         "      $MPB ip_nat_irc 2> /dev/null\n"
                         "fi\n");
@@ -9,3 +9,13 @@
                         "      $MPB bsd_comp 2> /dev/null\n"
                         "      $MPB ppp_deflate 2> /dev/null\n"
                         "fi\n\n");
+@@ -768,6 +768,9 @@
+                        "if [ \"$NAT\" = \"on\" ]; then\n"
+                        "      $IPT -A INPUT -i $INIF -d $INIP -j INBOUND # Check LAN to firewall (private ip) traffic\n"
+                        "      $IPT -A INPUT -i $INIF -d $IP -j INBOUND   # Check LAN to firewall (public ip) traffic\n"
++                       "      if [ \"$DHCP_SERVER\" = \"on\" ]; then     # DHCP requests are permitted from internal network\n"
++                       "              $IPT -A INPUT -i $INIF -p udp --dport 67:68 -d 255.255.255.255 -j INBOUND\n"
++                       "      fi\n"
+                        "      if [ \"$INBCAST\" != \"\" ]; then\n"
+                        "              $IPT -A INPUT -i $INIF -d $INBCAST -j INBOUND # Check LAN to firewall broadcast traffic\n"
+                        "      fi\n"
This page took 0.100542 seconds and 4 git commands to generate.