Jon Trulson
a7562a8009
dtlogin: don't try to use /dev/mem to get random data on linux/bsd
...
dtlogin's genauth routines were trying to open and read /dev/mem on
linux and (presumably) bsd systems in order to obtain random data used
in creating an auth key.
This is bad for a variety of reasons. Newer linux kernels (at least
on 3.2) issue the following warning to the kernel logs:
"Program dtlogin tried to access /dev/mem between 100000->102000."
Now on linux we will use /dev/urandom, and on CSRG_BASED (bsd) systems
we will use /dev/random to obtain some entropy.
2012-08-07 23:22:44 -06:00
..
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-06-21 18:05:24 -06:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-12 11:56:11 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:21:40 +00:00
2012-03-10 18:21:40 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:21:40 +00:00
2012-03-10 18:58:32 +00:00
2012-08-07 23:22:44 -06:00
2012-06-19 16:27:20 -06:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:21:40 +00:00
2012-03-10 18:21:40 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:21:40 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-04-19 17:16:50 +01:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-08-03 17:38:06 -06:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-04-11 15:37:12 +01:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00
2012-03-10 18:58:32 +00:00