SUMMARY nntp.1.5.12.1

From: Ken Brown <ccksb_at_trentu.ca>
Date: Wed, 28 May 1997 15:42:30 -0400 (EDT)

Hello!

I asked:

>I am having a few problems with nntp.1.5.12.1 running with Cnews (CR.G) on
>Digital UNIX 4.0b.
>
>I have built Cnews and compiled nntpd. I can receive articles from our
>feed(s).
>
>Howver, nntpxmit does not appear to be able to resolve FQDN and dumps core.
>
>By contrast, using an IP address works.

The resolution was to change /xmit/get_tcp_conn.c to account for 64 bits.
(Thanks to Paul Kern <pkern_at_utcc.utoronto.ca> for this). Here are the
diffs;

diff get_tcp_conn.c get_tcp_conn.c.orig
==============================================================================
205,207c205
< #ifdef __osf__
< if (hstp->h_length == 0 || hstp->h_length > sizeof(u_long))
< #else
---
> 
209d206
< #endif
==============================================================================
>
>Secondly, nntpd appears to refuse to log via either syslog or FAKESYSLOG.
One has to assure that FAKESYSLOG and FAKEAPPEND are *not* defined and use
debug in syslog.conf;
news.debug              /var/spool/mqueue/nntplog
Finally, running nntpd as the user "news";
nntp    stream  tcp     nowait  news    /usr/local/etc/nntpd      nntpd
also required SGID mem on nntpd;
-rwx--s--x   1 root     mem       139264 May 27 13:15 nntpd
to prevent kmem errors in the nntpd log.
----------------------------------------------------------------------
Ken Brown / kbrown_at_trentu.ca / tel: (705)748-1540 / fax: (705)748-1635
----------------------------------------------------------------------
Received on Wed May 28 1997 - 21:55:07 NZST

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