πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80940

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

#80940
From: D. Stussy
Date: Fri, 08 May 2009 22:13
83 lines
4581 bytes
"Julien Γ‰LIE" <iulius@nom-de-mon-site.com.invalid> wrote in message
news:gu2959$3ra$1@news.trigofacile.com...
> > "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.

...But people who are upgrading will look in any "changes" or "news" named
files first.  I obviously found it, but didn't adjust my system
configuration files beforehand because I wasn't alerted of the change until
something "broke."

> > 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?

No.  I haven't looked at that.  In the case of the virtual hosting
situation I was thinking of, the instances would be under different domain
names, so if you were thinking of a "wildcard" certificate, I don't think
one may wildcard the TLD.  I gave up on the idea for the moment, but may
return to it later.

> > 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?

I don't know yet.  I made this change today and my next scheduled "daily"
maintenance is in 9 hours.

-----------
Russ Allbery wrote:
> Out of curiosity, why do you run nnrpd as a daemon rather than using
> xinetd or inetd, which will also handle IPv6 for you?

I don't use inetd.  I found it more efficient to invoke the individual
server daemons directly.  Less memory trashing and less startup overhead.
It also eliminates a "single point of failure" nexus.

Technical Details
Message-ID: <gu2aqd$11d$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!newsfeed.straub-nv.de!news.mb-net.net!open-news-network.org!news.snarked.org!not-for-mail
References: <878wnex9f4.fsf@windlord.stanford.edu> <75mc7qF195jsaU1@mid.individual.net> <gu249p$t8$1@snarked.org> <gu2959$3ra$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <gu2aqd$11d$1@snarked.org>
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 15:13:36 -0700
From: "D. Stussy" <spam@bde-arc.ampr.org>
References: <878wnex9f4.fsf@windlord.stanford.edu> <75mc7qF195jsaU1@mid.individual.net> <gu249p$t8$1@snarked.org> <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!newsfeed.straub-nv.de!news.mb-net.net!open-news-network.org!news.snarked.org!not-for-mail
Newsgroups: news.software.nntp
Lines: 83
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 1241820813 1069 71.106.211.188 (8 May 2009 22:13:33 GMT)
X-Complaints-To: newsmaster@snarked.org
NNTP-Posting-Date: Fri, 8 May 2009 22:13:33 +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