From owner-freebsd-questions@FreeBSD.ORG Wed Aug 9 19:16:23 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 396AB16A4DF for ; Wed, 9 Aug 2006 19:16:23 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CB3D43D53 for ; Wed, 9 Aug 2006 19:16:21 +0000 (GMT) (envelope-from wmoran@collaborativefusion.com) Received: from collaborativefusion.com (mx01.pub.collaborativefusion.com [206.210.89.201]) (TLS: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Wed, 09 Aug 2006 15:16:20 -0400 id 00056417.44DA3484.0000A5B3 Received: from Internal Mail-Server (206.210.89.202) by mx01 (envelope-from wmoran@collaborativefusion.com) with AES256-SHA encrypted SMTP; 9 Aug 2006 15:11:40 -0400 Date: Wed, 9 Aug 2006 15:16:29 -0400 From: Bill Moran To: Matthew Seaman Message-Id: <20060809151629.43741c35.wmoran@collaborativefusion.com> In-Reply-To: <44DA299C.8080801@infracaninophile.co.uk> References: <20060807003815.C7522@ganymede.hub.org> <20060808102819.GB64879@augusta.de> <20060808153921.V7522@ganymede.hub.org> <44D8EC98.8020801@utdallas.edu> <20060808201359.S7522@ganymede.hub.org> <44D91F02.90107@mawer.org> <20060808212719.L7522@ganymede.hub.org> <20060809072313.GA19441@sysadm.stc> <20060809105404.GC19441@sysadm.stc> <44DA0715.1020507@utdallas.edu> <20060809130634.S7522@ganymede.hub.org> <44DA0DDF.40300@thingy.com> <20060809134007.U7522@ganymede.hub.org> <44DA1502.2040803@thingy.com> <20060809142006.F7522@ganymede.hub.org> <44DA299C.8080801@infracaninophile.co.uk> Organization: Collaborative Fusion X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Howard Jones , "Marc G. Fournier" , freebsd-questions@freebsd.org Subject: Re: BSDstats Project v2.0 ... 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: Wed, 09 Aug 2006 19:16:23 -0000 In response to Matthew Seaman : > This problem is intractable: any scheme you can think of to generate a > unique identifying number on a random host out there on the net will either > fail to actually be unique, or suffer from mutating over time as machine > configuration changes. Really? What if you just generate some sort of UID or GUID and store it in /var/db/bsdstats.guid (or similar)? If the file exists, use it, if it doesn't exist, generate a new ID. Not 100% error prone, but should be pretty damn reliable. -- Bill Moran Collaborative Fusion Inc.