entropy source logging request (patch included)

entropy source logging request (patch included)

am 27.01.2003 10:03:19 von Marko Asplund

This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.

---3980625-121458679-1043658199=:24441
Content-Type: TEXT/PLAIN; charset=US-ASCII


i thought it might be usefull for mod_ssl to log (at debug level) the
entropy source from which the PRNG will be seeded from so that proper
entropy source configuration can be verified. i've attached a small patch
(mod_ssl-2.8.12-1.3.27) which does this.

best regards,
--
aspa http://www.kronodoc.fi/

---3980625-121458679-1043658199=:24441
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="sslenginerand.patch"
Content-Transfer-Encoding: BASE64
Content-ID:
Content-Description:
Content-Disposition: attachment; filename="sslenginerand.patch"

KioqIHBrZy5zc2xtb2Qvc3NsX2VuZ2luZV9yYW5kLmMub3JpZwlNb24gSmFu
IDI3IDEwOjA3OjI2IDIwMDMNCi0tLSBwa2cuc3NsbW9kL3NzbF9lbmdpbmVf
cmFuZC5jCU1vbiBKYW4gMjcgMTA6NDA6NDYgMjAwMw0KKioqKioqKioqKioq
KioqDQoqKiogODcsOTIgKioqKg0KLS0tIDg3LDk4IC0tLS0NCiAgICAgIHRp
bWVfdCB0Ow0KICAgICAgcGlkX3QgcGlkOw0KICAgICAgaW50IG07DQorICAg
ICBjaGFyICpjdHhOYW1lc1tdID0geyAiIiwgInN0YXJ0dXAiLCAiY29ubmVj
dCIgfTsNCisgICAgIGNoYXIgKnJzc3JjTmFtZXNbXSA9IHsgIiIsICJidWls
dGluIiwgImZpbGUiLCAiZXhlYyINCisgI2lmIFNTTF9MSUJSQVJZX1ZFUlNJ
T04gPj0gMHgwMDkwNTEwMA0KKyAJCQkgICAsICJFR0QiDQorICNlbmRpZg0K
KyAgICAgfTsNCiAgDQogICAgICBtYyA9IG15TW9kQ29uZmlnKCk7DQogICAg
ICBuUmVxICA9IDA7DQoqKioqKioqKioqKioqKioNCioqKiA5NywxMDIgKioq
Kg0KLS0tIDEwMywxMTEgLS0tLQ0KICAgICAgICAgIHBSYW5kU2VlZCA9ICZw
UmFuZFNlZWRzW2ldOw0KICAgICAgICAgIGlmIChwUmFuZFNlZWQtPm5DdHgg
PT0gbkN0eCkgew0KICAgICAgICAgICAgICBuUmVxICs9IHBSYW5kU2VlZC0+
bkJ5dGVzOw0KKyANCisgCSAgICBzc2xfbG9nKHMsIFNTTF9MT0dfREVCVUcs
ICIlc1JlcXVlc3RpbmcgJWQgYnl0ZXMgb2YgZW50cm9weSBmcm9tICVzOiVz
IGluICclcycgY29udGV4dCIsIHByZWZpeCwgcFJhbmRTZWVkLT5uQnl0ZXMs
IHJzc3JjTmFtZXNbcFJhbmRTZWVkLT5uU3JjXSwgcFJhbmRTZWVkLT5jcFBh
dGgsIGN0eE5hbWVzW3BSYW5kU2VlZC0+bkN0eF0pOw0KKyANCiAgICAgICAg
ICAgICAgaWYgKHBSYW5kU2VlZC0+blNyYyA9PSBTU0xfUlNTUkNfRklMRSkg
ew0KICAgICAgICAgICAgICAgICAgLyoNCiAgICAgICAgICAgICAgICAgICAq
IHNlZWQgaW4gY29udGVudHMgb2YgYW4gZXh0ZXJuYWwgZmlsZQ0K
---3980625-121458679-1043658199=:24441--
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org