Article View: news.admin.peering
Article #2600Re: Peering implementations
From: Grant Taylor
Date: Wed, 10 Jan 2024 04:13
Date: Wed, 10 Jan 2024 04:13
94 lines
4354 bytes
4354 bytes
On 1/8/24 23:06, immibis wrote: > What format do NNTP peers usually take? Peers usually push articles to each other. Readers usually poll / pull articles from the server(s). > I see the "suck" tool can download import articles from any > public-access server without special negotiation. Does it put excess > load on the upstream server? It depends. I would never want to use suck for a full Usenet feed for anything other than academic purposes. > Most people are using innfeed, right? innfeed peering is either IHAVE > (chatty) or CHECK/TAKETHIS (streaming), is that right? Is there any > reason to use IHAVE except for compatibility with older servers? I would have to refer to RFCs to know for sure, but these seem to be ways to push articles to peers. Which is used when requires brushing up on some RFCs. I believe that innfeed is just one of the ways that INN supports to feed articles to a configured peer. > How's the connection managed? In other streaming protocols I'm more > familiar with (Redis, Apache Kafka) a receiving client would connect to > a server that has messages, state its last synchronization point and > then downloads messages from that point on. My understanding is that INN (which uses innfeed) has knowledge of articles that are queued to be sent to a peer and which queued articles have been sent. With this in mind, INN simply sends articles for desired newsgroups / distributions to wanting peers henceforth. Peers don't have a way to say I want you to send me article <such and such>. That's the domain of the reader to pull articles. > If the connection is interrupted, the messages still arrive upstream > and get stored until they're pulled by the receiver. > NNTP streaming doesn't have that feature, and I think innfeed is > designed so upstream servers try to push articles downstream, rather > than downstream ones pulling them, right? My understanding of the mechanics may be flawed. > And failures to a separate spool for re-processing? In a manner of speaking, sort of. INN will periodically try to establish communications and will send (or at least offer) spooled articles once communications is established. > Is there really no better way to authorize a connection than checking > the other side's IP address? What is "better"? IP is quite convenient and works quite well between static (or rarely changing) IPs. You could use something like IPsec transport mode, or a full fledged VPN to have much stronger cryptographic validation about the remote system. But is such worth it for a news server? > Besides UUCP, is anyone using anything exotic? I believe that some have TLS encryption in play. I believe a very small number are using NNCP (?) I would not be shocked to learn about IPsec / VPN being used. > (I should set up a server with a Kafka database and convince people to > peer directly to Kafka. Sounds !!fun!!) Why? IMHO that wouldn't be worth it. What reason do you have to upset the apple cart? -- This is one of the reasons that I'm not interested in NNCP. I'd be more inclined to use standard NNTP on a standard news server and rely on the kernel to add IPsec transport mode encryption + authentication to the traffic. News software doesn't have to be involved and can rely on the kernel. -- Grant. . . .
Technical Details
Message-ID:
<unl5i2$kml$2@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-mailReferences:
<unik9f$1t7h7$1@dont-email.me>Show Full Headers
Complete Article Headers
Message-ID: <unl5i2$kml$2@tncsrv09.home.tnetconsulting.net> Subject: Re: Peering implementations Date: Tue, 9 Jan 2024 22:13:54 -0600 From: Grant Taylor <gtaylor@tnetconsulting.net> References: <unik9f$1t7h7$1@dont-email.me> 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.admin.peering Organization: TNet Consulting Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 10 Jan 2024 04:13:54 -0000 (UTC) Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="198.18.1.140"; logging-data="21205"; mail-complaints-to="newsmaster@tnetconsulting.net" User-Agent: Mozilla Thunderbird Content-Language: en-US In-Reply-To: <unik9f$1t7h7$1@dont-email.me>