🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80936

IPv6 changes vs. Documentation, and "nicety" of news.daily - was Re: [ANNOUNCE] INN 2.5.0 release candidate available

#80936
From: D. Stussy
Date: Fri, 08 May 2009 20:22
49 lines
3716 bytes
1) Here's another change I found regarding INN 2.5.0 vs 2.4 and earlier:

Although part of this is in the ChangeLog file, it's buried almost next to
last, and is MISSING from the "NEWS" file in the source code tar archive.

There were some changes to IPv6.  One change that got me last night when I
rebooted was this:

"nnrpd -b ::" no longer works.  It now requires "nnrpd -6 ::" AND "nnrpd -b
0.0.0.0".  Although my [Linux] kernel supports IPv4-mapped addresses into
IPv6 - meaning I only needed one process under 2.4.6, it turned out that
the new nnrpd IPv6 interface doesn't support it*, so TWO processes must be
started.  However, note that in "/var/run", their process-id files will
COLLIDE as they would both specify the same port and thus the latter one
overwrites the earlier one's file.  As "-6" and "-b" cannot co-exist, the
use of these options should modify the "<pathrun>/nnrpd-%d.pid" filename,
perhaps "nnrpd-%c-%d.pid" (where %c is "4"(b) or "6").  Maybe "-b" should
be changed to "-4"?

* - I found out when I tried to run just the -6 version and then tried to
connect via IPv4 only.  The 2.5.0 process listening on ::0 didn't respond
to IPv4 addresses, when the 2.4.6 version did.

>From NEWS:

    * INN's IPv6 support was largely rewritten by Russ Allbery.  IPv4 and
      IPv6 are now handled through the same code wherever possible, the new
      IPv6-aware APIs are used everywhere possible, and replacement
      functions are provided for systems that don't have them yet.  The
      network code is now much more centralized, eliminating lots of
      duplicate code and adding better IPv6 support to some utilities.

Add (something like):  "NNRPD daemons may need to adjust their calling
parameters or run a separate IPv4 instance."

----
2) My news.daily runs for 3 hours, with 2.8 hours performing expireover.
However, it runs at normal priority.  I had one peer complain about
connection timeouts while expireover was running*.  Perhaps news.daily
should nice itself?  I added an "renice +99 $$" to the top of my copy of
the script for now, but perhaps there should be a 4th inn.conf value (to
join the other 3 nice* values defined) for the script (e.g. "nicedaily") -
making a "renice $nicedaily $$" line at the top of the script (which may be
inside an if [...] clause).

* - My system load is usually less than 1, but when expireover runs, it
shoots up to over 12, and I've seen 16 recorded in my logs.

Technical Details
Message-ID: <gu249p$t8$1@snarked.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!news-in-01.newsfeed.easynews.com!news-in-02.newsfeed.easynews.com!easynews.com!easynews!news.he.net!news.snarked.org!not-for-mail
References: <878wnex9f4.fsf@windlord.stanford.edu> <75mc7qF195jsaU1@mid.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <gu249p$t8$1@snarked.org>
Subject: IPv6 changes vs. Documentation, and "nicety" of news.daily - was Re: [ANNOUNCE] INN 2.5.0 release candidate available
Date: Fri, 8 May 2009 13:22:18 -0700
From: "D. Stussy" <spam@bde-arc.ampr.org>
References: <878wnex9f4.fsf@windlord.stanford.edu> <75mc7qF195jsaU1@mid.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!news-in-01.newsfeed.easynews.com!news-in-02.newsfeed.easynews.com!easynews.com!easynews!news.he.net!news.snarked.org!not-for-mail
Newsgroups: news.software.nntp
Lines: 49
Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org>
NNTP-Posting-Host: pool-71-106-211-188.lsanca.dsl-w.verizon.net
X-Trace: snarked.org 1241814137 936 71.106.211.188 (8 May 2009 20:22:17 GMT)
X-Complaints-To: newsmaster@snarked.org
NNTP-Posting-Date: Fri, 8 May 2009 20:22:17 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478