Re: BSDStats v4.0: Attempt to address some major issues ...
- From: Matthew Seaman <m.seaman@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 29 Sep 2006 07:37:53 +0100
Marc G. Fournier wrote:
I've increased the size of the IDTOKEN to 32 from 16, since I've been
noticing alot of duplicates when two hosts submit at close to the same
time ...
Ummm... that's actually really bad. That means that the RNG used by OpenSSL
(hence SSH and others) is not actually producing anything like a proper
random sequence for a lot of people. Hence all sorts of crypto handled by
those machines is potentially vulnerable to attack. If this is the case,
going from 16 to 32 bytes of random token won't actually help at all.
On the other hand, the duplicates could be the result of people deliberately
trying to frig the statistics or just innocently running the 300.statistics
script manually several times. In either case, entries with duplicate tokens
should be discarded -- I guess you'ld always want to keep just the last entry
for any token.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
Attachment:
signature.asc
Description: OpenPGP digital signature
- Follow-Ups:
- Re: BSDStats v4.0: Attempt to address some major issues ...
- From: Erik Norgaard
- Re: BSDStats v4.0: Attempt to address some major issues ...
- References:
- BSDStats v4.0: Attempt to address some major issues ...
- From: Marc G. Fournier
- BSDStats v4.0: Attempt to address some major issues ...
- Prev by Date: Re: portupgrade: ruby state=swread
- Next by Date: Can't Update With freebsd-update
- Previous by thread: BSDStats v4.0: Attempt to address some major issues ...
- Next by thread: Re: BSDStats v4.0: Attempt to address some major issues ...
- Index(es):