From owner-freebsd-questions Tue Nov 12 4:38:14 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 2837F37B401 for ; Tue, 12 Nov 2002 04:38:13 -0800 (PST) Received: from mail3.sea.registeredsite.com (mail3.sea.registeredsite.com [66.111.73.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50EF343E42 for ; Tue, 12 Nov 2002 04:38:12 -0800 (PST) (envelope-from admin@asarian-host.net) Received: from asarian-host.net (asarian-host.net [216.122.74.112]) by mail3.sea.registeredsite.com (8.12.5/8.12.5) with ESMTP id gACCc4aQ030119 for ; Tue, 12 Nov 2002 07:38:05 -0500 Comments: To protect the identity of the sender, certain header fields are either not shown, or masked. Anonymous email addresses for asarians can be requested by filling in the appropriate form at: https://asarian-host.net/cgi-bin/signup.cgi Received: (from root@localhost) by asarian-host.net (8.11.0/8.11.0) id gACCc4s56497 for freebsd-questions@freebsd.org; Tue, 12 Nov 2002 13:38:04 +0100 (CET) (envelope-from admin@asarian-host.net) Posted-Date: Tue, 12 Nov 2002 13:38:04 +0100 (CET) From: Mark Message-Id: <200211121238.GACCC2S56488@asarian-host.net> Date: Tue, 12 Nov 2002 13:37:57 +0100 X-Authenticated-Sender: admin@asarian-host.net Subject: ipfw matching X-Trace: jxakqWPYsKYOZU2dFXNwDpnTLohlMtu5QhoJHxin24KmJMogGYYeENDPr1yvdlwe X-Complaints-To: abuse@asarian-host.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we are unable to process your complaint Organization: Asarian-host To: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Auth: Asarian-host PGP signature iQEVAwUAPdD2LDFqW1BleBN9AQHt+gf+LlHLfWR9gooTsh3+Kl+y+j15yNbw+Mmj YtmXUGlBaGNoDZ5SGu/S+7kX0Ex16Fj9BtciM/ArVvYyVG7BPwEZnVIsenXET8AK Dqhp3d/IMGfkN4qq3BvixV/EQ96bgHJmcMQezel6vi8BAKJ2e2kbykUMa9vYleUY IO4bUOVm3SNVxoukWtYS9LYzpnVri4ioZ8AinbTZDCGogrF1Uzir9fWJ6N2dCgGP kAhbc8Hzhs7GIqMkzpeJfWEX2hphU53TFlbdzWEchZAizKrts+LJWp8C/dUxWwwu PcAqvXlLFD4BhguUY8Wrhun1AX09LLCKgYosb/ityQsf4uF9b9ModA== =vbW0 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 I have a quick question on the way ipfw matches IP masks. If I give this IP address: 12.144.51.128/17 Am I then correct in thinking it will match all IP addresses from 12.144.51.128 to 12.144.51.255? Or will it start matching from 12.144.51.0? (not what I want). Now for the harder question (I guess there is a second question, after all). If I want to match from 12.51.0 to 12.51.15 (and all their hosts underneath), would I write this: 12.51.0.0:255.255.240.255 ? I really wanna crack down on some spammers, but not waste too many ipfw rules on it. Thanks! - Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message