Article View: news.software.nntp
Article #87561Re: Peering through a TLS connection
From: D. Stussy
Date: Tue, 13 Dec 2016 07:23
Date: Tue, 13 Dec 2016 07:23
81 lines
5139 bytes
5139 bytes
"Julien ΓLIE" wrote in message news:o2n2up$emm$1@news.trigofacile.com...
> When transferring articles between two news servers, are some of you
> currently encrypting the connection?
>
> If that is the case, I would be interested in knowing how you achieve
> that:
> - what NNTP sofware (INN, Diablo, CodoSoft NNTPd...)
> - by what means (stunnel, TCP wrappers, IPsec, native TLS support in the
> news server...)
> - on what port (119, 433, 563, another port?)
> - do you have both unencrypted & encrypted connections with peers, or
> only encrypted connections?
> ==================
>
> I use port 119 to transfer articles - no encryption, but I have my
> system configured to accept IPSec compression on the port. I note in my
> IPsec logs that none of my peers seem to take advantage of compression,
> but they may be trying to negotiate authentication (AH) and encryption
> (ESP), but I have those features turned OFF for feeds - being that I
> consider such posts as already "in the public domain" because they are
> readable elsewhere. [Or at least I think I have it set up that way.]
>
> My reader port, 563, has TLS enabled via INN's nnrpd program. At the
> IPSec level, it could be compressed if negotiated.
Thanks for your input on that subject.
The question behind was whether registering a special port for transit
using strict TLS (NNSP/TLS) would be useful.
We currently have ports 119 (NNTP), 433 (NNSP) and 563 (NNTP/TLS) but no
port for NNSP/TLS.
I believe such a use is rare, if it exists at all.
FYI, the following update to RFC 4642 (STARTTLS) is currently in Last
Call for comments. So if you have any suggestion, feel free to tell.
https://www.ietf.org/id/draft-elie-nntp-tls-recommendations-01.txt
The response to the third issue to address (Appendix E) would therefore
be to use the following wording in Appendix A:
The third and fourth paragraphs in Section 1 of [RFC4642] are
replaced with the following text:
TCP port 563 is dedicated to NNTP over TLS, and registered in the
IANA Service Name and Transport Protocol Port Number Registry for
that usage. NNTP implementations using TCP port 563 begin the TLS
negotiation immediately upon connection and then continue with the
initial steps of an NNTP session. This use of strict TLS on a
separate port is the preferred way of using TLS with NNTP.
If a host wishes to offer separate servers for transit and reading
clients, TCP port 563 SHOULD be used for strict TLS with the reading
server, and an unused port of its choice different than TCP port 433
SHOULD be used for strict TLS with the transit server. The ports
used for strict TLS should be clearly communicated to the clients,
and specifically that no plain-text communication occurs before the
TLS session is negotiated.
============
Using INN, I've seen only one peer that even requested port 433 for NNSP
(peer-to-peer) transfer. All the others use 119. Therefore, I agree that
there should not be a dedicated port for NNSPS. However, I see nothing that
would forbid two peers from agreeing to use TLS over their existing NNSP
connection. However, is it necessary?
TLS over NNTP (port 563) is necessary because it is client-to-server
operations. Clients may not want snoopers to know what they've read, and
for postings, since some places operate anonymously, what they've posted.
However, peer-to-peer communications are likely to be public postings
distributed worldwide (by default) which anyone can read, so do they really
need protection? If inter-server communications need protection, there's
always IPSec.
The one peer I have that uses port 433 is in China. Maybe that's needed to
get around their Great Firewall.
Technical Details
Message-ID:
<o2o7km$a7u$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.admin.peering.(952).mbox.7z!not-for-mailReferences:
<no298v$lja$1@news.trigofacile.com> <nomdjn$df4$1@snarked.org> <o2n2up$emm$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <o2o7km$a7u$1@snarked.org> Subject: Re: Peering through a TLS connection Date: Mon, 12 Dec 2016 23:23:01 -0800 From: "D. Stussy" <spam@spam.org> References: <no298v$lja$1@news.trigofacile.com> <nomdjn$df4$1@snarked.org> <o2n2up$emm$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.admin.peering.(952).mbox.7z!not-for-mail Newsgroups: news.software.nntp,news.admin.peering Reply-To: "D. Stussy" <newsgroups+replies@kd6lvw.ampr.org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=response Content-Transfer-Encoding: 8bit Injection-Date: Tue, 13 Dec 2016 07:23:02 +0000 (UTC) Injection-Info: snarked.org; posting-host="nv-184-1-11-211.dhcp.embarqhsd.net:184.1.11.211"; logging-data="10494"; mail-complaints-to="newsmaster+complaints@snarked.org" In-Reply-To: <o2n2up$emm$1@news.trigofacile.com> X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3538.513 X-Newsreader: Microsoft Windows Live Mail 15.4.3538.513 X-MSMail-Priority: Normal X-No-Archive: Yes Importance: Normal X-Received-Body-CRC: 1335583341 X-Received-Bytes: 5039