Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Problem with /dev/random? - new question.

Problem with /dev/random? - new question.

2004-05-17       - By akonstam@(protected)

 Back
On Thu, May 13, 2004 at 05:55:03PM -0400, Kent Borg wrote:
> On Thu, May 13, 2004 at 02:26:08PM -0700, Vladimir G. Ivanovic wrote:
> > I am not logged in remotely but locally. I've had a "cat /dev/random"
> > running in a GNOME Terminal tab (window) now for several hours while I
> > read mail & surfed.
>
> Eeek!
>
> One of the problems with /dev/random (as opposed to /dev/urandom) is
> that any user can read it, drain all the entropy, and prevent others
> from getting any.  As a test it can be interesting, but don't do that
> otherwise.  (Don't forget an extra cat left running on a different
> console.)
>
> Kill the cat.  cd to /proc/sys/kernel/random and look around.
> Specifically, cat entropy_avail.  I am guessing you will see nothing.
> Now cat a few bytes into /dev/random and cat entropy_avail again.  Did
> any show up?  If so, then things are as I expect, you need to tell
> your mouse and keyboard and other devices to contribute entropy.  I
> would have to start searching through kernel sources and googling to
> find out how.
>
> -kb, the Kent who has run off the end of his immediate knowledge.
>
>
> P.S.  Did you do a standard install?  What strange things have you
> done?  (Compile your own kernel?  Mess with boot initializations?)

I have only just had a chance to try the above and found the
following:
1. cat entropy_avail returned 4096
2. I cat-ed a small file into /dev/random. The cat just went on with
random characters on screen until I hit crtl-C.
3.  cat entropy_avail returned 177

This is not what you said would happen and I am at a loss what this
all means. Any clarification?
--
-- ---- ---- ---- ---- ---- ---- ---- -----
Aaron Konstam
Computer Science
Trinity University
One Trinity Place.
San Antonio, TX 78212-7200

telephone: (210)-999-7484
email:akonstam@(protected)


--
Shrike-list mailing list
Shrike-list@(protected)
https://www.redhat.com/mailman/listinfo/shrike-list

Earn $52 per hosting referral at Lunarpages.