From owner-freebsd-questions@FreeBSD.ORG Sun Aug 26 08:17:55 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2521616A417 for ; Sun, 26 Aug 2007 08:17:55 +0000 (UTC) (envelope-from bernt@bah.homeip.net) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) by mx1.freebsd.org (Postfix) with ESMTP id 8184F13C46E for ; Sun, 26 Aug 2007 08:17:49 +0000 (UTC) (envelope-from bernt@bah.homeip.net) Received: from [80.216.180.166] (c80-216-180-166.bredband.comhem.se [80.216.180.166]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id l7Q7e2mb050785; Sun, 26 Aug 2007 09:40:06 +0200 (CEST) (envelope-from bernt@bah.homeip.net) Message-ID: <46D12E4B.4040801@bah.homeip.net> Date: Sun, 26 Aug 2007 09:39:55 +0200 From: B H User-Agent: Mozilla/5.0 (X11; U; FreeBSD-6.2-STABLE; sv-SE) MIME-Version: 1.0 To: Dan Nelson References: <20070826013636.GC25055@dan.emsphone.com> <46d10500.1ebc720a.304c.1e2f@mx.google.com> <20070826061435.GD25055@dan.emsphone.com> In-Reply-To: <20070826061435.GD25055@dan.emsphone.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: How to block 200K ip addresses? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Aug 2007 08:17:55 -0000 Dan Nelson: > This was a quick hack, so I'm just adding the > first IP in each line, not the whole netblock (I didn't want to write a > range->netmask converter). No need to do that, there is ipcalc in the ports. http://jodies.de/ipcalc