Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Heisenberg may have been here.


computers / news.software.nntp / Re: INN laxmid clarification

SubjectAuthor
* INN laxmid clarificationJesse Rehmer
+* Re: INN laxmid clarificationRetro Guy
|+* Re: INN laxmid clarificationJesse Rehmer
||+- Re: INN laxmid clarificationRetro Guy
||`- Re: INN laxmid clarificationyamo'
|`- Re: INN laxmid clarificationJulien ÉLIE
`- Re: INN laxmid clarificationJulien ÉLIE

1
INN laxmid clarification

<u90srm$2mhb$1@nnrp.usenet.blueworldhosting.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1903&group=news.software.nntp#1903

  copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!newsfeed.hasname.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED!not-for-mail
From: jesse.rehmer@blueworldhosting.com (Jesse Rehmer)
Newsgroups: news.software.nntp
Subject: INN laxmid clarification
Date: Sun, 16 Jul 2023 13:55:02 -0000 (UTC)
Organization: BlueWorld Hosting Usenet (https://usenet.blueworldhosting.com)
Message-ID: <u90srm$2mhb$1@nnrp.usenet.blueworldhosting.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 16 Jul 2023 13:55:02 -0000 (UTC)
Injection-Info: nnrp.usenet.blueworldhosting.com; posting-account="k8cWG9+Y/93vxQYza75s9JQFoL8rgVF3P1Yluveoqs0";
logging-data="88619"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: Usenapp for MacOS
Cancel-Lock: sha1:H8vH0SCezG8lEG8X8tdvrNWIn7Q= sha256:DMqlZ8BpKjpApn2l4EO13w1p88yvIyRLn2zgH4kKRzk=
sha1:GMAvlKJPmdtjKvtAsOPI5kfb1Gk= sha256:xZp+ZWTR02eAZWLf0hyOT53cUgrHP7l7P2DV0g2mn+0=
X-Usenapp: v1.27.1/d - Full License
 by: Jesse Rehmer - Sun, 16 Jul 2023 13:55 UTC

This may or may not be a INN 2.8.0 issue, but noticed after upgrading and
starting to inject older articles that I'm seeing errors about Syntax errors
in Message-IDs but I have the following set in etc/inn.conf:

syntaxchecks: [ laxmid ]

I see in the manpage for inn.conf:

When laxmid is set, Message-IDs containing ".." in the left
part are accepted, as well as Message-IDs with two "@".

I assume that because Message-IDs like the one below do not fall into those
parameters, it is still rejected, but this there a way to accept these?

<3f71e4a7_3@aeinews.> - 435 Syntax error in message-ID

Re: INN laxmid clarification

<8ec39b88d2a9eb639e2162d462b22222@news.novabbs.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1908&group=news.software.nntp#1908

  copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!.POSTED!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: news.software.nntp
Subject: Re: INN laxmid clarification
Date: Sun, 16 Jul 2023 15:25:17 +0000
Organization: Rocksolid Light
Message-ID: <8ec39b88d2a9eb639e2162d462b22222@news.novabbs.org>
References: <u90srm$2mhb$1@nnrp.usenet.blueworldhosting.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="3486714"; mail-complaints-to="usenet@i2pn2.org";
posting-account="PGd4t4cXnWwgUWG9VtTiCsm47oOWbHLcTr4rYoM0Edo";
User-Agent: Rocksolid Light 0.8.5
X-Rslight-Site: $2y$10$8YeNlBE6PHBoCwl586Kuw.Yf0R1SY/DAEdSE3RVKrRXMU1aLPHU8i
X-Rslight-Posting-User: 91053d4a47d51b416144568e5a1040f05e31ed1b
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
 by: Retro Guy - Sun, 16 Jul 2023 15:25 UTC

Jesse Rehmer wrote:

> This may or may not be a INN 2.8.0 issue, but noticed after upgrading and
> starting to inject older articles that I'm seeing errors about Syntax errors
> in Message-IDs but I have the following set in etc/inn.conf:

> syntaxchecks: [ laxmid ]

> I see in the manpage for inn.conf:

> When laxmid is set, Message-IDs containing ".." in the left
> part are accepted, as well as Message-IDs with two "@".

> I assume that because Message-IDs like the one below do not fall into those
> parameters, it is still rejected, but this there a way to accept these?

> <3f71e4a7_3@aeinews.> - 435 Syntax error in message-ID

I found when adding older (1980s) articles to an inn2 server, it was necessary
to modify some headers else they were rejected. I found that trying to get inn2
to accept them was not the answer, modifying the article header was.

How old are these 'older articles' you are injecting?

You can see my results in a web interface here: http://www.novalink.us or in
inn2 here: news.novalink.us:119

--
Retro Guy

Re: INN laxmid clarification

<u914mt$812$1@nnrp.usenet.blueworldhosting.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1910&group=news.software.nntp#1910

  copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED!not-for-mail
From: jesse.rehmer@blueworldhosting.com (Jesse Rehmer)
Newsgroups: news.software.nntp
Subject: Re: INN laxmid clarification
Date: Sun, 16 Jul 2023 16:09:01 -0000 (UTC)
Organization: BlueWorld Hosting Usenet (https://usenet.blueworldhosting.com)
Message-ID: <u914mt$812$1@nnrp.usenet.blueworldhosting.com>
References: <u90srm$2mhb$1@nnrp.usenet.blueworldhosting.com> <8ec39b88d2a9eb639e2162d462b22222@news.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 16 Jul 2023 16:09:01 -0000 (UTC)
Injection-Info: nnrp.usenet.blueworldhosting.com; posting-account="k8cWG9+Y/93vxQYza75s9JQFoL8rgVF3P1Yluveoqs0";
logging-data="8226"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: Usenapp for MacOS
Cancel-Lock: sha1:5qScADwp8L5SIULr4aCOf4ZkqGE= sha256:jpyYPbdZLyGb2NmLIYmJ3GhyS9jFkwXxVdpBVJ7YqMo=
sha1:voHFlRUTt3h2UMXG+nQ95HXV9uA= sha256:hKQqkzzCvxOsV1mUTAXfd1domMHdWwVNjNT7I4m+4yo=
X-Usenapp: v1.27.1/d - Full License
 by: Jesse Rehmer - Sun, 16 Jul 2023 16:09 UTC

On Jul 16, 2023 at 10:25:17 AM CDT, "Retro Guy" <Retro Guy> wrote:

> Jesse Rehmer wrote:
>
>> This may or may not be a INN 2.8.0 issue, but noticed after upgrading and
>> starting to inject older articles that I'm seeing errors about Syntax errors
>> in Message-IDs but I have the following set in etc/inn.conf:
>
>> syntaxchecks: [ laxmid ]
>
>> I see in the manpage for inn.conf:
>
>> When laxmid is set, Message-IDs containing ".." in the left
>> part are accepted, as well as Message-IDs with two "@".
>
>> I assume that because Message-IDs like the one below do not fall into those
>> parameters, it is still rejected, but this there a way to accept these?
>
>> <3f71e4a7_3@aeinews.> - 435 Syntax error in message-ID
>
> I found when adding older (1980s) articles to an inn2 server, it was necessary
> to modify some headers else they were rejected. I found that trying to get inn2
> to accept them was not the answer, modifying the article header was.
>
> How old are these 'older articles' you are injecting?
>
> You can see my results in a web interface here: http://www.novalink.us or in
> inn2 here: news.novalink.us:119

2003-ish and forward.

Re: INN laxmid clarification

<6fd9ff6746d82bf90f8962f89acf2549@news.novabbs.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1914&group=news.software.nntp#1914

  copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!.POSTED!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: news.software.nntp
Subject: Re: INN laxmid clarification
Date: Sun, 16 Jul 2023 17:35:36 +0000
Organization: Rocksolid Light
Message-ID: <6fd9ff6746d82bf90f8962f89acf2549@news.novabbs.org>
References: <u90srm$2mhb$1@nnrp.usenet.blueworldhosting.com> <8ec39b88d2a9eb639e2162d462b22222@news.novabbs.org> <u914mt$812$1@nnrp.usenet.blueworldhosting.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="3497186"; mail-complaints-to="usenet@i2pn2.org";
posting-account="PGd4t4cXnWwgUWG9VtTiCsm47oOWbHLcTr4rYoM0Edo";
User-Agent: Rocksolid Light 0.8.5
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
X-Rslight-Site: $2y$10$Cx.4.jKmTsGPX789V5ni1.Il4tYgdl8uTaUr0EHrYu1mMlUONsjp6
X-Rslight-Posting-User: 91053d4a47d51b416144568e5a1040f05e31ed1b
 by: Retro Guy - Sun, 16 Jul 2023 17:35 UTC

Jesse Rehmer wrote:

> On Jul 16, 2023 at 10:25:17 AM CDT, "Retro Guy" <Retro Guy> wrote:

>> Jesse Rehmer wrote:
>>
>>> This may or may not be a INN 2.8.0 issue, but noticed after upgrading and
>>> starting to inject older articles that I'm seeing errors about Syntax errors
>>> in Message-IDs but I have the following set in etc/inn.conf:
>>
>>> syntaxchecks: [ laxmid ]
>>
>>> I see in the manpage for inn.conf:
>>
>>> When laxmid is set, Message-IDs containing ".." in the left
>>> part are accepted, as well as Message-IDs with two "@".
>>
>>> I assume that because Message-IDs like the one below do not fall into those
>>> parameters, it is still rejected, but this there a way to accept these?
>>
>>> <3f71e4a7_3@aeinews.> - 435 Syntax error in message-ID
>>
>> I found when adding older (1980s) articles to an inn2 server, it was necessary
>> to modify some headers else they were rejected. I found that trying to get inn2
>> to accept them was not the answer, modifying the article header was.
>>
>> How old are these 'older articles' you are injecting?
>>
>> You can see my results in a web interface here: http://www.novalink.us or in
>> inn2 here: news.novalink.us:119

> 2003-ish and forward.

Hmm, that shouldn't be too old. In any case, if inn2 doesn't accept them due to
an incompatible header, I believe modifying the header is the solution.

I'm sure others here probably have more informed suggestions than I do, but it
is what I found in my trials.

--
Retro Guy

Re: INN laxmid clarification

<u9l7u1$d3j$1@rasp.pasdenom.info>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1974&group=news.software.nntp#1974

  copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!news.niel.me!pasdenom.info!.POSTED.newsportal.pasdenom.info!newsportal
From: News@pasdenom.info (yamo')
Newsgroups: news.software.nntp
Subject: Re: INN laxmid clarification
Date: Mon, 24 Jul 2023 07:06:41 -0000 (UTC)
Organization: <https://pasdenom.info/news.html>
Message-ID: <u9l7u1$d3j$1@rasp.pasdenom.info>
References: <u90srm$2mhb$1@nnrp.usenet.blueworldhosting.com>
<8ec39b88d2a9eb639e2162d462b22222@news.novabbs.org> <u914mt$812$1@nnrp.usenet.blueworldhosting.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 24 Jul 2023 07:06:41 -0000 (UTC)
Injection-Info: newsportal.pasdenom.info; posting-account="stephane@usenet";
posting-host="192.168.0.254" logging-data="http";
mail-complaints-to="abuse@pasdenom.info"
User-Agent: NewsPortal/0.52.a8
( https://gitlab.com/yamo-nntp/newsportal )
Cancel-Lock: sha256:gUSuJMVdNZXvGbjeRraR1x+ang8pZgTpnikGYfY8zpI=
Http-User-Agent: Mozilla/5.0 (Linux; Android 11) AppleWebKit/537.36 (KHTML,
like Gecko) Version/4.0 Chrome/114.0.5735.196 Mobile DuckDuckGo/5
Safari/537.36
 by: yamo' - Mon, 24 Jul 2023 07:06 UTC

Hi,
Jesse Rehmer a écrit :
> On Jul 16, 2023 at 10:25:17 AM CDT, "Retro Guy" <Retro Guy> wrote:

>> How old are these 'older articles' you are injecting?
>>
>> You can see my results in a web interface here: http://www.novalink.us or in

One day I will look at rocksolid...
I'm using the old NewsPortal (updated for PHP8 and 7) wich is simplier (no
database).

>> inn2 here: news.novalink.us:119

> 2003-ish and forward.

I'm not sure what ish means.

Maybe because there was no Injection-Date or Injection-Info?

--
Stéphane
Sorry for my bad English

Re: INN laxmid clarification

<ua59ms$cqti$1@news.trigofacile.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2018&group=news.software.nntp#2018

  copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.san13-h02-176-143-2-105.dsl.sta.abo.bbox.fr!not-for-mail
From: iulius@nom-de-mon-site.com.invalid (Julien ÉLIE)
Newsgroups: news.software.nntp
Subject: Re: INN laxmid clarification
Date: Sun, 30 Jul 2023 11:15:08 +0200
Organization: Groupes francophones par TrigoFACILE
Message-ID: <ua59ms$cqti$1@news.trigofacile.com>
References: <u90srm$2mhb$1@nnrp.usenet.blueworldhosting.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 30 Jul 2023 09:15:08 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="san13-h02-176-143-2-105.dsl.sta.abo.bbox.fr:176.143.2.105";
logging-data="420786"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.13.0
Cancel-Lock: sha1:UjjHSRl4LVFYCQwhmCNn3FVveMU= sha256:a/Owb8Alr5crZNzcEMYqDzeCL0/jzf0rsQZumJ0H11w=
sha1:g4CeKP6SFZjqVlXTKmGOxJdtXik= sha256:7pUeHHDJraLydNnXKw6uUSSZiv8bKQ7qw4OBZNdnIiA=
In-Reply-To: <u90srm$2mhb$1@nnrp.usenet.blueworldhosting.com>
 by: Julien ÉLIE - Sun, 30 Jul 2023 09:15 UTC

Hi Jesse,

> syntaxchecks: [ laxmid ]
>
> I see in the manpage for inn.conf:
>
> When laxmid is set, Message-IDs containing ".." in the left
> part are accepted, as well as Message-IDs with two "@".
>
> I assume that because Message-IDs like the one below do not fall into those
> parameters, it is still rejected, but this there a way to accept these?
>
> <3f71e4a7_3@aeinews.> - 435 Syntax error in message-ID

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 one
non-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?

--
Julien ÉLIE

« – Dis, je crois avoir entendu parler gothique par là !
– Tu as des visions, Pamplemus ! » (Astérix)

Re: INN laxmid clarification

<ua5a1q$cqti$2@news.trigofacile.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2019&group=news.software.nntp#2019

  copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.san13-h02-176-143-2-105.dsl.sta.abo.bbox.fr!not-for-mail
From: iulius@nom-de-mon-site.com.invalid (Julien ÉLIE)
Newsgroups: news.software.nntp
Subject: Re: INN laxmid clarification
Date: Sun, 30 Jul 2023 11:20:58 +0200
Organization: Groupes francophones par TrigoFACILE
Message-ID: <ua5a1q$cqti$2@news.trigofacile.com>
References: <u90srm$2mhb$1@nnrp.usenet.blueworldhosting.com>
<8ec39b88d2a9eb639e2162d462b22222@news.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 30 Jul 2023 09:20:58 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="san13-h02-176-143-2-105.dsl.sta.abo.bbox.fr:176.143.2.105";
logging-data="420786"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.13.0
Cancel-Lock: sha1:HghA4XBh/vbAjsKiJzCzfcrIX4A= sha256:J+6jamHjFaBlvNbHa9Rfhd/QkIPmuR0RvNXtLGhLd4Q=
sha1:YVjPhpZwcSMc5Gw8w+0D56Y0yU4= sha256:gu1FwEQIPUqcjEbGW7CBH3Cv5g3pF7UsrlL4axCtHzE=
In-Reply-To: <8ec39b88d2a9eb639e2162d462b22222@news.novabbs.org>
 by: Julien ÉLIE - Sun, 30 Jul 2023 09:20 UTC

Hi Retro Guy,

> I found when adding older (1980s) articles to an inn2 server, it was
> necessary to modify some headers else they were rejected. I found that trying to
> get inn2 to accept them was not the answer, modifying the article header was.

Do you remember which header fields were concerned?
What were the syntax errors? (the colon-space syntax? other problems?)

Maybe a laxcolonspace parameter could be added like laxmid to allow that
syntax for *optional* header fields, as we recently discussed.
But of course it would be useful if your examples do not have an invalid
syntax in header fields like Path, Date, Newsgroups, Message-ID... Do
you remember which ones were concerned?

--
Julien ÉLIE

« If you lie to the compiler, it will get its revenge. » (Henry Spencer)

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor