/[smeserver]/rpms/e-smith-dnscache/sme7/e-smith-dnscache-1.0.0-dnscacne_forwarder.randomseed.patch
ViewVC logotype

Contents of /rpms/e-smith-dnscache/sme7/e-smith-dnscache-1.0.0-dnscacne_forwarder.randomseed.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Fri Aug 8 20:54:48 2008 UTC (15 years, 10 months ago) by bytegw
Branch: MAIN
CVS Tags: e-smith-dnscache-1_0_0-13_el4_sme, e-smith-dnscache-1_0_0-12_el4_sme
Updates

1 diff -Nur -x '*.orig' -x '*.rej' e-smith-dnscache-1.0.0/root/var/service/dnscache.forwarder/run mezzanine_patched_e-smith-dnscache-1.0.0/root/var/service/dnscache.forwarder/run
2 --- e-smith-dnscache-1.0.0/root/var/service/dnscache.forwarder/run 2008-08-08 16:48:07.000000000 -0400
3 +++ mezzanine_patched_e-smith-dnscache-1.0.0/root/var/service/dnscache.forwarder/run 2008-08-08 16:47:43.000000000 -0400
4 @@ -1,6 +1,12 @@
5 #! /bin/sh
6 exec 2>&1
7 . ./config
8 +
9 +# Ensure that dnscache has source of randomness to initialise its source
10 +# port RNG
11 +test -f ./seed || /bin/dd if=/dev/urandom bs=128 count=1 of=seed
12 +exec<./seed
13 +
14 # http://marc.theaimsgroup.com/?l=djbdns&m=104812086607532&w=2
15 trap "" SIGPIPE
16 exec envuidgid dnscache softlimit -o250 -d "$DATALIMIT" /usr/local/bin/dnscache

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed