From owner-freebsd-questions@FreeBSD.ORG Fri Aug 1 15:08:12 2008 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 5C7061065693 for ; Fri, 1 Aug 2008 15:08:12 +0000 (UTC) (envelope-from WilsonCPU@aol.com) Received: from imo-m24.mx.aol.com (imo-m24.mx.aol.com [64.12.137.5]) by mx1.freebsd.org (Postfix) with ESMTP id 190788FC19 for ; Fri, 1 Aug 2008 15:08:11 +0000 (UTC) (envelope-from WilsonCPU@aol.com) Received: from WilsonCPU@aol.com by imo-m24.mx.aol.com (mail_out_v38_r9.4.) id n.bcb.3058ee56 (34916) for ; Fri, 1 Aug 2008 10:58:04 -0400 (EDT) Received: from smtprly-da02.mx.aol.com (smtprly-da02.mx.aol.com [205.188.249.145]) by cia-da03.mx.aol.com (v121_r2.11) with ESMTP id MAILCIADA031-88644893247c220; Fri, 01 Aug 2008 10:58:04 -0400 Received: from MBLK-M10 (mblk-m10.mblk.aol.com [64.12.136.43]) by smtprly-da02.mx.aol.com (v121_r2.11) with ESMTP id MAILSMTPRLYDA023-5bb44893247012e; Fri, 01 Aug 2008 10:57:52 -0400 To: freebsd-questions@freebsd.org Date: Fri, 01 Aug 2008 10:57:52 -0400 X-MB-Message-Source: WebUI X-AOL-IP: 63.239.69.1 X-MB-Message-Type: User MIME-Version: 1.0 From: Mark Wilson X-Mailer: AOL Webmail 38159-STANDARD Received: from 63.239.69.1 by MBLK-M10.sysops.aol.com (64.12.136.43) with HTTP (WebMailUI); Fri, 01 Aug 2008 10:57:52 -0400 Message-Id: <8CAC1FE1B91EC30-116C-2BF2@MBLK-M10.sysops.aol.com> X-Spam-Flag: NO X-Mailman-Approved-At: Fri, 01 Aug 2008 15:48:55 +0000 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Question re IPs-to-CIDR conversion program 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: Fri, 01 Aug 2008 15:08:12 -0000 I'm trying to write a program that will take 2 IPs and return an appropriate CIDR which contains both. I found this file: ips-to-cidr-nets.pl listed under ~eivind on FreeBSD, which sounds like it might be a good model. Unfortunately, I can't download the file (get "Forbidden") page, nor locate user "eivind" on the FreeBSD Homepages page to ask him/her about it. (It's dated 2001, in case that helps; apparently eivind is long gone...) 1. Can anyone get me a copy of this program? Or... 2. Put me in touch with its author so I can ask about it?? Or... 3. Point me to another program which does what I need? Thanks. I'm very new to all this; I was able to cobble together a CIDR-to-IPs calculator in JavaScript, but going this other direction seems much harder, and far more confusing. ------------------------------------------------------- Mark Wilson, CPUWORKS.COM wilsoncpu@aol.com -------------------------------------------------------