Article View: news.software.nntp
Article #92371Re: INN laxmid clarification
From: Jesse Rehmer
Date: Sat, 30 Aug 2025 06:50
Date: Sat, 30 Aug 2025 06:50
68 lines
3950 bytes
3950 bytes
On Jul 30, 2023 at 4:15:08β―AM CDT, "Julien ΓLIE"
<iulius@nom-de-mon-site.com.invalid> wrote:
> Hi Jesse,
>
> Over these past years, I have often seen questions about syntax checks.
> Maybe laxmid should allow more Message-IDs than only the ones with ".."
> and two "@"?
>
> Strictly speaking, a dot (".") must be followed by another non-special
> chars, so <a.@b> and <a@b.> are invalid per RFC.
>
> I suggest to change the behaviour of laxmid so that innd accepts even
> more Message-IDs. For instance in the common dot-atom-text syntax, just
> checking we have "<", at least one non-special char, "@", at least
> onenon-special char, and ">".
> no-fold-literal is kept untouched but dot-atom-text is changed.
>
> The syntax per RFC is:
>
> msg-id = "<" msg-id-core ">"
> msg-id-core = id-left "@" id-right
> id-left = dot-atom-text
> id-right = dot-atom-text / no-fold-literal
>
> dot-atom-text = 1*atext *("." 1*atext)
> no-fold-literal = "[" *mdtext "]"
>
> mdtext = %d33-61 / ; The rest of the US-ASCII
> %d63-90 / ; characters not including
> %d94-126 ; ">", "[", "]", or "\"
>
> atext = ALPHA / DIGIT / ; Printable US-ASCII
> "!" / "#" / ; characters not including
> "$" / "%" / ; specials. Used for atoms.
> "&" / "'" /
> "*" / "+" /
> "-" / "/" /
> "=" / "?" /
> "^" / "_" /
> "`" / "{" /
> "|" / "}" /
> "~"
>
>
> laxmid would accept for innd:
>
> dot-atom-text = 1*(atext / "." / "@")
>
>
> At least, I think it would cope with all Message-IDs in the wild. (Are
> there ones without any "@" at all?)
>
> As for nnrpd, laxmid would go on having the current behaviour of
> allowing ".." and two "@" as this was a request in 2017 from a news
> admin with users having broken posting agents sending such Message-IDs.
> No need for now to allow the injection of even more broken Message-IDs.
>
> Any thoughts about that change?
Hi Julien,
Bringing this up again because I have found BNews Message-IDs cannot be
injected without modification, and there are a ton of them from various
sources I'd rather not attempt to modify. Once source is online via NNTP, so
easy to use pullnews or suck, which would be the path of least resistance.
<bnews.sri-unix.2509> - 435 Syntax error in message-ID
Technical Details
Message-ID:
<108u6vi$1nhp$1@nnrp.usenet.blueworldhosting.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.pugleaf.net!ygg-srv.newsdeef.eu!srv.newsdeef.eu!newsfeed.endofthelinebbs.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED!not-for-mailReferences:
<u90srm$2mhb$1@nnrp.usenet.blueworldhosting.com> <ua59ms$cqti$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <108u6vi$1nhp$1@nnrp.usenet.blueworldhosting.com> Subject: Re: INN laxmid clarification Date: Sat, 30 Aug 2025 06:50:26 +0000 From: Jesse Rehmer <jesse.rehmer@blueworldhosting.com> References: <u90srm$2mhb$1@nnrp.usenet.blueworldhosting.com> <ua59ms$cqti$1@news.trigofacile.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.pugleaf.net!ygg-srv.newsdeef.eu!srv.newsdeef.eu!newsfeed.endofthelinebbs.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED!not-for-mail Newsgroups: news.software.nntp Organization: BWH Usenet Archive (https://usenet.blueworldhosting.com) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=fixed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 30 Aug 2025 06:50:26 -0000 (UTC) Injection-Info: nnrp.usenet.blueworldhosting.com; logging-data="56889"; mail-complaints-to="usenet@blueworldhosting.com" User-Agent: Usenapp for MacOS Cancel-Lock: sha1:e0sGh2noMchc7FKTkfI9s+JNSTA= sha256:2H/AgUqK67WAegWzykSXviXoJEP7ofQ3QYgmCzPe5JA= sha1:b7qhGZf+DQtoNPx8aDd0lZFb4vM= sha256:f0Qi2tieCey77gZMhqDGbdKHWwDExW2PtxHKzuR+X18= X-Usenapp: v1.27.4/d - Full License