Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Aug 2006 21:31:15 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Bill Moran <wmoran@collaborativefusion.com>
Cc:        Howard Jones <howie@thingy.com>, "Marc G. Fournier" <scrappy@freebsd.org>, freebsd-questions@freebsd.org
Subject:   Re: BSDstats Project v2.0 ...
Message-ID:  <20060809203115.GA6520@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <20060809151629.43741c35.wmoran@collaborativefusion.com>
References:  <ef10de9a0608090341l696b6ea3s2187f4b0a9b5fa6e@mail.gmail.com> <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> <20060809151629.43741c35.wmoran@collaborativefusion.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--wRRV7LY7NUeQGEoC
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Aug 09, 2006 at 03:16:29PM -0400, Bill Moran wrote:
> In response to Matthew Seaman <m.seaman@infracaninophile.co.uk>:
>=20
> > 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 ei=
ther
> > fail to actually be unique, or suffer from mutating over time as machine
> > configuration changes.
>=20
> Really?  What if you just generate some sort of UID or GUID and store it
> in /var/db/bsdstats.guid (or similar)?

Well, exactly.  What I neglected to say in the above was "to generate
a unique identifying number that encodes part of the machine
configuration."

However, you're right in that the client could just invent its own
random ID number.  Given the large number of possible ID numbers in
the scheme I proposed, there shouldn't be any problem with collisions
so long as all those machines are generating good random numbers[1].
On reflection, the advantages of having the server generate the ID
numbers are not really all that compelling.

	Cheers,

	Matthew

[1] In fact, it would be a pretty neat experiment to get a whole load
of machines to generate a chunk'o'randomness and send it into a central
machine and see just how evenly distributed the answers are.

--=20
Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
                                                      Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW

--wRRV7LY7NUeQGEoC
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFE2kYT8Mjk52CukIwRAlG/AJ4tKToBzsE6tPgb40fejFnjZ++xvACcD6yr
LO2TMSWOSs+Sbt+V7vQvEiQ=
=TgQ7
-----END PGP SIGNATURE-----

--wRRV7LY7NUeQGEoC--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060809203115.GA6520>