From: Charlie Brady <charlieb-supervision@budge.apana.org.au>
To: Roy Lanek <lanek@novenine.com>
Cc: supervision@list.skarnet.org
Subject: Re: Installing dnscache with runit, without other djb utils
Date: Fri, 18 Jul 2008 10:20:33 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.64.0807181009500.21979@e-smith.charlieb.ott.istop.com> (raw)
In-Reply-To: <20060928001213.GA13416@cengkeh.novenine.com>
On Thu, 28 Sep 2006, Roy Lanek wrote:
> ** Sorry for answering late
And sorry for following up very late - but there's an error here worth
highlighting given the "recently discovered" issues with DNS query port
randomisation.
> #!/bin/sh
> exec 2>&1
> cd '/etc/dnscache' || exit 1
>
> # -- seed:
> umask 077
> /bin/rm -f seed
> /bin/dd if=/dev/urandom bs=128 count=1 > seed 2> /dev/null
> # -- "Linux has a good source of random data, use 128
> # -- bytes of it to pass it to 'dns_random_init' (via
> # -- 'seed')."^1
>
> exec chpst -U yyy -e ./env -o 250 -d "$DATALIMIT" \
> /usr/bin/dnscache
There's something important missing here. You need to do:
exec<seed
or
exec chpst -U yyy -e ./env -o 250 -d "$DATALIMIT" \
/usr/bin/dnscache <seed
next prev parent reply other threads:[~2008-07-18 14:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-28 0:12 Roy Lanek
2008-07-18 14:20 ` Charlie Brady [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-07-19 18:15 lanek
[not found] <49351.125.162.61.255.1216395759.squirrel@novenine.com>
2008-07-19 16:24 ` Charlie Brady
2008-07-19 6:02 lanek
2006-09-20 22:30 Lloyd Zusman
2006-09-20 23:49 ` Wayne Marshall
2006-09-21 0:07 ` Vincent Danen
2006-09-21 0:12 ` Charlie Brady
2006-09-21 0:44 ` Lloyd Zusman
2006-09-21 1:03 ` Charlie Brady
2006-09-21 1:28 ` Lloyd Zusman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.64.0807181009500.21979@e-smith.charlieb.ott.istop.com \
--to=charlieb-supervision@budge.apana.org.au \
--cc=lanek@novenine.com \
--cc=supervision@list.skarnet.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).