🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80938

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

#80938
From: Julien ÉLIE
Date: Fri, 08 May 2009 21:42
69 lines
4272 bytes
Hi D. Stussy,

> "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.

http://www.eyrie.org/~eagle/software/inn/docs/nnrpd.html

-6 address

    The -6 parameter instructs nnrpd to bind to the specified IPv6 address when
    started as a standalone daemon using the -D flag.  This has to be a valid
    IPv6 address belonging to an interface of the local host. It can also
    be ::0, saying to bind to all IPv6 addresses.

    Only one of -6 or -b may be specified. By default, nnrpd in daemon mode
    listens to only IPv4 addresses.  With this option, it will listen to the
    specified IPv6 addresses instead. On some systems, a value of ::0 will
    cause it to listen to all IPv4 addresses as well, but on other systems,
    two copies of nnrpd, one with -6 and one without it, will have to be
    run to accept both IPv6 and IPv4 connections.



> 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").

Oh, you're right.  I will try to see whether it is doable.

It also reminds me of your problem with nnrpd-xxx.pid with different
TLS certificates on the same port!
By the way, did you try "Subject Alternative Names" in TLS certificates?



> 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."

I will try to add something like that.


> 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

And how long does news.daily run with this renice?

-- 
Julien ÉLIE

« Le travail est l'opium du peuple et
  je ne veux pas mourir drogué. » (Boris Vian) 
Technical Details
Message-ID: <gu2959$3ra$1@news.trigofacile.com>
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.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail
References: <878wnex9f4.fsf@windlord.stanford.edu> <75mc7qF195jsaU1@mid.individual.net> <gu249p$t8$1@snarked.org>

Show Full Headers
Complete Article Headers
Message-ID: <gu2959$3ra$1@news.trigofacile.com>
Subject: Re: IPv6 changes vs. Documentation, and "nicety" of news.daily - was Re: [ANNOUNCE] INN 2.5.0 release candidate available
Date: Fri, 8 May 2009 23:42:37 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <878wnex9f4.fsf@windlord.stanford.edu> <75mc7qF195jsaU1@mid.individual.net> <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.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 69
NNTP-Posting-Host: amontpellier-159-1-13-165.w90-57.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="Windows-1252";
 reply-type=original
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1241819114 3946 90.57.84.165 (8 May 2009
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Fri, 8 May 2009 21:45:14 +0000 (UTC)
In-Reply-To: <gu249p$t8$1@snarked.org>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049