Installing OpenSSH/Enhancements/Bug fix list



This is a list of the bugs I have fixed in the OpenSSH implementation of the secure shell suite of programs, and enhancements to them. These fixes apply to release number 2.3.0p1. After applying these fixes, the program suite will run on the following system types: Comments or complaints to
George Helffrich

Preparation

You need working installations of: and then get OpenSSH from http://www.openssh.com/. There aren't any problems compiling zlib or OpenSSL on any of the platforms I've listed.

Bug Descriptions

  • SunOS 4.x does not have POSIX routines regcomp, regerror and regexec. Emulate by using the C library routines re_comp and re_exec. Patches...
  • Old versions of PAM do not #define the same symbols as does the newer versions. PAM support will not compile on RedHat 4.2 linux systems. Patches...
  • Under Redhat 4.2 linux, utmp and wtmp entries aren't made properly. Requires configuration option --disable-libutil to be selected.
  • ssh drops core with ``BUS ERROR'' on RedHat 4.2 linux-sparc systems. This is due to the routine inet_ntoa requiring aligned data, and sometimes ssh does not provide for this. It is hard to tell where the blame lies for this one: with ssh, with gcc, with the run-time libraries, or with the kernel (2.0.35). Fix is to copy data to an aligned buffer before calling inet_ntoa. Patches...

Enhancements

  • No /dev/random or /dev/urandom on Solaris 5.7. Solution is to install either of the two kernel loadable modules that provide it. Here's one to use, among others.
  • No /dev/random or /dev/urandom on SunOS 4.1.x. Solution is to install the kernel loadable module that provides this. Here's one to use, and you can load the present version here.

Run-time setup