[Summary] /etc/syslog.auth: 43 host entries too much?

From: Gerhard Nolte <gnolte_at_gwdg.de>
Date: Fri, 24 Apr 1998 10:48:58 +0200

Dear Managers,

My question was

> My syslogd crashes with
>
> Memory fault(coredump),
>
> if the number of host entries is too large (actual 43, with about 10 entries
> it works).

I forgot to mention that the error occurs under DU 4.0d with jumbo
patch #1 applied.

Once more thanx to Dr. Tom Blinn from DEC (who else). He routed the
problem to the responsible person who created a fixed version. You can
find it at

ftp.gwdg.de/pub/mpsf/gnolte/syslogd

Original mail from Dr. Blinn:
  Our engineer who worked on syslogd did a test himself, and found that with a
  large /etc/syslog.auth file, syslogd gets into trouble, as you discovered.

  He tracked it down to a bad "#define" where he'd omitted parentheses without
  which the defined value was misinterpreted in an arithmetic expression; the
  result was that a different data structure (than the one where the names of
  authorized hosts is stored) got corrupted.

  There's a fixed version he's just built, and I've compressed and uuencoded
  a copy of it, which I will mail to you in the following message. It's not
  very large in this form. What you need to try is take the next message (it
  has "begin 755 syslogd.v40d_fix.Z" near the beginning, and cat it through
  the uudecode program. That will leave a copy of the file syslogd.v40d_fix.Z
  in your current directory. uncompress that file, and you'll have a copy of
  the fixed syslogd with the name syslogd.v40d_fix in your directory.

  The compressed file should be 50628 bytes in size, with
  sum syslogd.v40d_fix.Z
  60567 50 syslogd.v40d_fix.Z

  and the uncompressed file should be 106496 bytes in size, with
  sum syslogd.v40d_fix
  21063 104 syslogd.v40d_fix

  Copy your existing syslogd file (or, better yet, move a copy of it aside to
  a new name), then copy the fixed file into the same directory, make sure it
  has the right protections and ownerships, then restart syslogd and test it
  with your "large" /etc/syslog.auth file and please let us know if it fixes
  the problem (we did a simple test and it seemed to fix it).

  Thanks!

  Tom

Gerhard

-- 
Gerhard Nolte
Email: gnolte_at_gwdg.de   Voice: +49-551-5176-716  Fax: +49-551-5176-704
MPI fuer Stroemungsforschung, Bunsenstr. 10, 37073 Goettingen, Germany
Received on Fri Apr 24 1998 - 10:50:02 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT