From owner-freebsd-security Thu May 9 13:15:21 2002 Delivered-To: freebsd-security@freebsd.org Received: from hotmail.com (dav64.law15.hotmail.com [64.4.22.199]) by hub.freebsd.org (Postfix) with ESMTP id 04B8237B40B; Thu, 9 May 2002 13:15:14 -0700 (PDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 9 May 2002 13:15:10 -0700 X-Originating-IP: [62.0.106.98] From: "Naughty Taz" To: Cc: Subject: IPFW and IP/mask mathematics Date: Thu, 9 May 2002 23:14:13 +0200 Message-ID: <001e01c1f79e$78612390$626a003e@homepc> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-OriginalArrivalTime: 09 May 2002 20:15:10.0262 (UTC) FILETIME=[382B9560:01C1F796] Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi all, I've been trying to get a ruleset for IPFW but was unable to figure out how to do it :( I'd appreciate it if someone can reply with the right ruleset for the following: 1) allow traffic from 0.0.0.0 - XXX.128.0.0 2) block traffic from XXX.128.0.0 - XXX.146.159.255 3) allow traffic from XXX.146.160.0 - 255.255.255.255 Thanks in advance. /Taz P.S.: IP's are imaginary of course. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message