Article View: news.software.nntp
Article #87602Re: New draft for Cancel-Lock
From: Julien ÉLIE
Date: Wed, 08 Mar 2017 22:13
Date: Wed, 08 Mar 2017 22:13
98 lines
4797 bytes
4797 bytes
Hi Michael,
* For the Security Considerations Section, I think something should be
added about the possible abuse of Cancel-Lock.
If a spammer adds in his posts a Cancel-Lock header field (either the
same for all his posts, or a real computed one), would it mean that
complying news servers will never be able to withdraw these spams?
I don't know how to treat that problem. By requiring that NoCeM notices
bypass the Cancel-Lock system? (should other mechanisms bypass the
Cancel-Lock system?)
* In Section 5.3 of RFC 5537, the following scenario is described:
If the cancel control message arrives before the
article it targets, news servers choosing to honor it SHOULD remember
the message identifier that was cancelled and reject the cancelled
article when it arrives.
What to do with regards to Cancel-Key in such cancel control messages or
Supersedes?
Would it imply that a news server SHOULD remember the keys, and test
them when the original message arrive? It is not necessarily easy to
implement...
> Some points that should be discussed:
>
> - SHA2-256 was choosen to make things future-proof for decades
> (for today SHA1 would be still good enough, but look at the date of
> the former version of the draft).
> Is SHA2-256 in general a good choice?
> (it was chosen because SHA3 is very new and not supported by e.g.
> OpenSSL yet).
> The name with hyphen ("sha-256") was chosen because there is already
> an IANA registry with hash algorithm names using this format:
> <http://www.iana.org/assignments/hash-function-text-names/>
> Is this format a good idea or should we create (need we?) a new
> separate registry with e.g. "sha256"?
Note that there is also the "Hash Algorithms" registry there:
https://www.iana.org/assignments/pgp-parameters/
The advantage of the above registry is that it defines "SHA1" and
"SHA256". The name is consistent with our existing "SHA1" for Netnews
articles :)
Anyway, I think I would vote for a separate registry for Netnews
articles. Maybe added to
https://www.iana.org/assignments/nntp-parameters/
or another page if we want a "Netnews parameters" instead of "NNTP
parameters".
The advantage of a separate registry is that we control the values we
explicitly want to use, and add a comment or an intended usage (that can
change to OBSOLETE when we decide to retire SHA1...).
Any opinion from other people here?
> - Is the case-sensitivity and length limitation of <scheme> a good idea?
> The intention was to make it possible to cut the lists into elements
> and check every element with a single octet-based compare operation
> (once support for the obsolete syntax is removed someday in the
> future).
As "sha1" is case-insensitive, I would keep case-insensitivity.
Otherwise, to validate the syntax, an implementation would have to check
whether it is "sha1" (accepting "SHa1") or another hash algorithm
(rejecting "SHa256")...
I believe current languages have native functions permitting
case-insensitivity string comparison so it is not be a real problem.
> - CFWS is still allowed between <c-lock> and <c-key> elements.
> Maybe comments should be forbidden?
I would forbid them.
> - Remove MD5 completely, even from the obsolete syntax definition?
> (Looks like nobody use it anymore for this purpose)
Yes.
--
Julien ÉLIE
« Aliquis non debet esse iudex in propria causa, quia non potest esse
iudex et pars. »
Technical Details
Message-ID:
<o9pvj1$8t4$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.(19219).mbox.7z!not-for-mailReferences:
<AABYvbRwKe8AABT3.A1.flnews@WStation5.stz-e.de>Show Full Headers
Complete Article Headers
Message-ID: <o9pvj1$8t4$1@news.trigofacile.com> Subject: Re: New draft for Cancel-Lock Date: Wed, 8 Mar 2017 23:13:04 +0100 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <AABYvbRwKe8AABT3.A1.flnews@WStation5.stz-e.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 8 Mar 2017 22:11:45 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2a01cb08012ff800bc3c5312efa56a22.ipv6.abo.wanadoo.fr:2a01:cb08:12f:f800:bc3c:5312:efa5:6a22"; logging-data="9124"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 In-Reply-To: <AABYvbRwKe8AABT3.A1.flnews@WStation5.stz-e.de> X-Received-Body-CRC: 1476524332 X-Received-Bytes: 4816