2008/5/16 Theodore Tso <tytso@mit.edu>:Hmm, I would like to know how you'd do that. Even if you a) know the exact distro installed (and the configuration, b) know the exact hardware in the machine, c) know the exact time it was booted and know that there have been no ssh logins or similar that might have generated syscalls, d) know exactely how many requests (and of what type) have been made to the server and the exact times they were made. How would you go about brute force guessing the contents of the entropy pool? If the server does, for example, this; every second it samples the number of syscalls made during that second and uses that number as the base of adding one or two bits of entropy. Every time a syscall is made it uses the "time since last syscall in 'us'" to add one bit of entropy to the pool. I'd say that even if that server sees very little (and even predictable) traffic, we may have; details of the filesystem layout on disk, a timer interrupt happening a few microseconds early due to a flaky chip, a background process initiating some action a millisecond early/late for scheduling reasons, the switch the machine is connected to causing a network packet to arrive a tiny bit later than normal and various other factors like that, to cause the generated entropy to be off by a bit or two compared to your guess - and by the time you realize you are off, another spurrious event has probably happened, so you'll never end up in-sync with the entropy pool... Or is there some "obvious entropy pool guessing method" that I'm just not aware of??? Yes, I'm aware of that, and I'm not suggesting to use syscall rates as a generator of high amounts of high quality entropy. Im merely suggesting that sampling syscall rates and time-between and using those numbers as the source of very low amounts of low quality entropy might be worth-while. It wouldn't hurt on machines that have other, higher quality, entropy sources. On machines that have no other entropy sources it would ensure that we always have a steady (although slow) trickle of new entropy info available... I'm only talking about providing some data for /dev/random here. -- Jesper Juhl <jesper.juhl@gmail.com> Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/nomime.html -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Ingo Molnar | Re: x86: 4kstacks default |
| Gabriel C | modpost errors ( Re: 2.6.23-rc6-mm1) |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Press, Jonathan | RE: [malware-list] [RFC 0/5] [TALPA] Intro to a linux interface foron access scann... |
git: | |
| David Miller | Re: iptables very slow after commit784544739a25c30637397ace5489eeb6e15d7d49 |
| Natalie Protasevich | [BUG] New Kernel Bugs |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 13/37] dccp: Deprecate Ack Ratio sysctl |
