Article View: news.software.nntp
Article #90200Re: Questions regarding Path entries in a multi-server network.
From: Russ Allbery
Date: Tue, 21 Mar 2023 01:25
Date: Tue, 21 Mar 2023 01:25
46 lines
3044 bytes
3044 bytes
Grant Taylor <gtaylor@tnetconsulting.net> writes:
> I believe that I want to set /pathalias/ and have you exclude
> tnetconsulting.net (the organization).
This will mean that every message from your server will still be marked as
not matching your true Path identity.
> One of the reasons that I'm stuck on /pathalias/ and /organization/ is
> that the server at the name will likely change to something other than
> tncsrv06... at some point in the future.
If you expect the name of the server to change, you want to use
pathcluster, *not* pathalias. pathalias puts the common name in the wrong
place for Path verification and will then require your peers to update the
expected Path entry when the name of the server changes.
> My current understanding is that /if/ 1) I set a /pathalias/
> "tnetconsulting.net" and 2) you exclude "tnetconsulting.net", then the
> hostname of the actual back end server that you're peering doesn't
> matter.
This is correct for deciding what messages to send you (in that case, both
pathalias and pathcluster are equivalent), but *not* for Path
verification.
> N.B. this is predicated on the software & configuration wanting the
> exclude and the pathalias / path / pathcluster to match. -- I'm not
> aware of any need to match the exclude / path to the hostname that
> you're connecting to / accepting connections from.
Indeed, they do not need to match, that's just the default behavior. For
example, I never configure my news servers that way. I always use
newsfeeds entries like:
example/news.example.org:*:Ap,Tm:innfeed!
(very simplified) so that I have explicit control over what Path entry to
exclude from the feed and have shorter peer names in logs, disk files,
etc.
--
Russ Allbery (eagle@eyrie.org) <https://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87zg863ngv.fsf@hope.eyrie.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<tv8eq9$pqu$1@tncsrv09.home.tnetconsulting.net> <tvaik9$ot6$1@tncsrv09.home.tnetconsulting.net> <tvaj4t$1vml$1@nnrp.usenet.blueworldhosting.com> <tvapej$f1e$1@tncsrv09.home.tnetconsulting.net> <tvaq7g$4j4$1@nnrp.usenet.blueworldhosting.com> <tvaqfs$7gg$1@nnrp.usenet.blueworldhosting.com> <tvb071$3f0$1@tncsrv09.home.tnetconsulting.net>Show Full Headers
Complete Article Headers
Message-ID: <87zg863ngv.fsf@hope.eyrie.org> Subject: Re: Questions regarding Path entries in a multi-server network. Date: Mon, 20 Mar 2023 18:25:04 -0700 From: Russ Allbery <eagle@eyrie.org> References: <tv8eq9$pqu$1@tncsrv09.home.tnetconsulting.net> <tvaik9$ot6$1@tncsrv09.home.tnetconsulting.net> <tvaj4t$1vml$1@nnrp.usenet.blueworldhosting.com> <tvapej$f1e$1@tncsrv09.home.tnetconsulting.net> <tvaq7g$4j4$1@nnrp.usenet.blueworldhosting.com> <tvaqfs$7gg$1@nnrp.usenet.blueworldhosting.com> <tvb071$3f0$1@tncsrv09.home.tnetconsulting.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Mime-Version: 1.0 Content-Type: text/plain Injection-Info: hope.eyrie.org; logging-data="22737"; mail-complaints-to="news@eyrie.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Cancel-Lock: sha1:X76579S5/F3uT/89VNV2P0jhrQ8=