From owner-freebsd-security Thu Jul 19 5:52:12 2001 Delivered-To: freebsd-security@freebsd.org Received: from smtpf.casema.net (smtpf.casema.net [195.96.96.173]) by hub.freebsd.org (Postfix) with SMTP id A17D337B401 for ; Thu, 19 Jul 2001 05:52:07 -0700 (PDT) (envelope-from walter@binity.com) Received: (qmail 30760 invoked by uid 0); 19 Jul 2001 12:52:06 -0000 Received: from unknown (HELO slash.b118.binity.net) (212.64.76.102) by smtpf.casema.net with SMTP; 19 Jul 2001 12:52:06 -0000 Received: from silver.b118.binity.net (silver.b118.binity.net [172.18.3.10]) by slash.b118.binity.net (Postfix) with ESMTP id 9F40E151; Thu, 19 Jul 2001 14:50:53 +0200 (CEST) Date: Thu, 19 Jul 2001 14:53:35 +0200 From: Walter Hop X-Mailer: The Bat! (v1.52f) Educational Organization: Binity X-Priority: 3 (Normal) Message-ID: <4723040991.20010719145335@binity.com> To: "default013 - subscriptions" Cc: freebsd-security@freebsd.org Subject: Re: blocking I.P. addresses/ranges In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 [in reply to default013subscriptions@hotmail.com, 19-07-2001] > I know there is a way to block I.P. addresses/I.P. ranges in Linux by using > something like 'route add 24.198.54.0 deny' etc... I assume that there must > be a similar way to do this in FreeBSD... In FreeBSD, you can do this for instance with the ``ipfw'' tool. You will need a kernel with firewall support first. Check out the relevant section of the FreeBSD Handbook for instructions if you need them: http://www.nl.freebsd.org/handbook/kernelconfig.html A quick ``man ipfw'' will give you a lengthy description; the examples are at the end of the man page ;) -- Walter Hop | +31 6 24290808 | Finger for public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message