From owner-freebsd-questions Tue Nov 12 6:45:32 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E1FE937B401 for ; Tue, 12 Nov 2002 06:45:30 -0800 (PST) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id F36FA43EA9 for ; Tue, 12 Nov 2002 06:45:29 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id gACEjS60016935 for ; Tue, 12 Nov 2002 14:45:28 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id gACEjN0q016934 for freebsd-questions@FreeBSD.ORG; Tue, 12 Nov 2002 14:45:23 GMT Date: Tue, 12 Nov 2002 14:45:23 +0000 From: Matthew Seaman To: freebsd-questions@FreeBSD.ORG Subject: Re: ipfw matching (revisited) Message-ID: <20021112144522.GG16105@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , freebsd-questions@FreeBSD.ORG References: <200211121238.GACCCMS56521@asarian-host.net> <200211121406.GACE6KS72014@asarian-host.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200211121406.GACE6KS72014@asarian-host.net> User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-3.0 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, USER_AGENT,USER_AGENT_MUTT version=2.43 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Nov 12, 2002 at 03:06:42PM +0100, Mark wrote: > Ok, I constructed the following IP:mask for ipfw to match: > > 202.43.64.0:255.255.191.0 > > This is supposed to match the range 202.43.64.xx to 202.43.127.xx Close, but no cigar. You want: 202.43.64.0:255.255.192.0 also known as 202.43.64.0/18 ^ That matches the addresses from 202.43.64.0 to 202.43.127.255 inclusive. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message