Skip site navigation (1)Skip section navigation (2)
Date:      16 Jun 2001 14:13:52 -0000
From:      scorpio@drkshdw.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   conf/28200: UPDATE to etc/rc.firewall
Message-ID:  <20010616141352.2023.qmail@mail.drkshdw.org>

next in thread | raw e-mail | index | archive | help

>Number:         28200
>Category:       conf
>Synopsis:       UPDATE to etc/rc.firewall
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 16 07:20:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jeff Palmer
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD jeff.isni.net 4.3-STABLE FreeBSD 4.3-STABLE #4: Wed May 16 12:55:48 EDT 2001
     root@jeff.isni.net:/usr/obj/usr/src/sys/FreeBSD  i386

>Description:
In the "simple" configuration,  we have the rfc1918 and draf-dodgind rules 
in twice.

        

>How-To-Repeat:
        
>Fix:

        
Index: rc.firewall
===================================================================
RCS file: /home/ncvs/src/etc/rc.firewall,v
retrieving revision 1.30.2.12
diff -u -r1.30.2.12 rc.firewall
--- rc.firewall	2001/03/06 01:58:02	1.30.2.12
+++ rc.firewall	2001/06/16 14:11:20
@@ -233,20 +233,6 @@
 		;;
 	esac
 
-	# Stop RFC1918 nets on the outside interface
-	${fwcmd} add deny all from 10.0.0.0/8 to any via ${oif}
-	${fwcmd} add deny all from 172.16.0.0/12 to any via ${oif}
-	${fwcmd} add deny all from 192.168.0.0/16 to any via ${oif}
-
-	# Stop draft-manning-dsua-03.txt (1 May 2000) nets (includes RESERVED-1,
-	# DHCP auto-configuration, NET-TEST, MULTICAST (class D), and class E)
-	# on the outside interface
-	${fwcmd} add deny all from 0.0.0.0/8 to any via ${oif}
-	${fwcmd} add deny all from 169.254.0.0/16 to any via ${oif}
-	${fwcmd} add deny all from 192.0.2.0/24 to any via ${oif}
-	${fwcmd} add deny all from 224.0.0.0/4 to any via ${oif}
-	${fwcmd} add deny all from 240.0.0.0/4 to any via ${oif}
-
 	# Allow TCP through if setup succeeded
 	${fwcmd} add pass tcp from any to any established
 
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010616141352.2023.qmail>