prng_cmds/init_rng() question/patch

Dave Dykstra dwd at bell-labs.com
Tue Mar 13 04:05:08 EST 2001


On Sun, Mar 11, 2001 at 06:51:36PM +0000, Jon Peatfield wrote:
> I have a need to provide ssh client binaries for use elsewhere on
> several platforms, some without /dev/random support.  I can't assume
> that users will know how to install/run prngd or egd, so I was
> planning to rely on the builtin prng code.  However this require the
> ssh_prng_cmds file to exist in a fixed location -- which would mean
> making binaries which either look for it in . or other similar hacks.

That won't be the only file that you'll need to locate if you want to
to relocate your binaries.

You might want to take a look at my simple binary relocation program 
    http://www.bell-labs.com/project/nsbd/breloc.html
which works by configuring binaries with a prefix with a bunch of extra
slashes and doing binary edits to relocate the compiled-in paths at which
to find support files.

- Dave Dykstra





More information about the openssh-unix-dev mailing list