🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
61 messages
61 total messages Page 1 of 2 Started by Julien ÉLIE Sat, 16 Jan 2021 09:32
Page 1 of 2 • 61 total messages
Systems running news servers
#88553
Author: Julien ÉLIE
Date: Sat, 16 Jan 2021 09:32
80 lines
2917 bytes
Hi all,

A quick survey to know whether current supported systems are the right 
ones or if we should consider new systems according to your needs.

   https://www.eyrie.org/~eagle/software/inn/docs/install.html

"""
INN has been confirmed to work on the following operating systems:

     AIX 4.3
     FreeBSD 2.2.x and up
     HP-UX 10.20 and up
     Linux 2.x (tested with libc 5.4, glibc 2.0 and up)
     Mac OS X 10.2 and up
     NetBSD 1.6 and up
     OpenBSD 2.8 and up
     SCO 5.0.4 (tested with gcc 2.8.1, cc)
     Solaris 2.5.x and up
     UnixWare 7.1
     UX/4800 R11 and up
"""

Yet, I am unsure current versions of INN still work fine with very old 
versions listed...


   https://scorpio.home.xs4all.nl/diablo/faq.html

"""
Diablo was originally developed on FreeBSD and will perform very well on 
it.  Success has been reported on:

FreeBSD
BSD/OS
Linux
Solaris
"""


Any comments about these lists?
If you know other news servers which work on other systems, please tell!
=> Notably Minix, Windows...



As for INN more specifically, are there people here running INN 2.6.x on:
- AIX 4.3 or higher?
- HP-UX 10.20 or higher?
- SCO 5 and UnixWare 7 or higher? (or now Xinuos OpenServer?)
- UX/4800 R11 or higher?


I am tempted to drop the old list of versions for INN, and just mention 
the ones where a successful build has really been tested.  Which would give:

"""
INN has been confirmed to work on recent versions of the following 
operating systems:

     AIX (including 7.2)
     FreeBSD (including 12.1)
     Linux (including 4.19 and 5.10 kernels, glibc 2.28)
     macOS (including 11)
     NetBSD (including 9.0)
     OpenBSD (including 6.8)
     Oracle Solaris (including 10 and 11)

INN may also work on other operating systems like HP-UX, OpenServer or 
UnixWare but has not been confirmed to.
"""


Or do you have other expectations?

-- 
Julien ÉLIE

« J'aime les calculs faux car ils donnent des résultats plus justes. »
   (Jean Arp)
Re: Systems running news servers
#88555
Author: Matthew Vernon
Date: Sun, 17 Jan 2021 14:38
13 lines
1420 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> writes:

>     Linux (including 4.19 and 5.10 kernels, glibc 2.28)

Our server is running a 3.16 kernel and glibc 2.19.

Matthew

-- 
 `O'-----0     `O'---.       `O'---.       `O'---.
   \___| |       \___|0-/      \___|/        \___|
    |  | /\       |  |  \       |  |\         |  |
The Dangers of modern veterinary life
Re: Systems running news servers
#88563
Author: Thomas Hochstein
Date: Sun, 17 Jan 2021 17:57
9 lines
1171 bytes
Julien ÉLIE schrieb:

> If you know other news servers which work on other systems, please tell!
> => Notably Minix, Windows...

I have compiled a list of news servers for Unix-like systems and
Windows on <https://th-h.de/net/usenet/servers/> (German language).

-thh
Re: Systems running news servers
#88557
Author: Miquel van Smoorenburg
Date: Mon, 18 Jan 2021 16:39
22 lines
1933 bytes
In article <i6fq61Fa3dbU1@mid.individual.net>,
Julien ÉLIE  <iulius@nom-de-mon-site.com.invalid> wrote:
>Yet, I am unsure current versions of INN still work fine with very old 
>versions listed...
>
>   https://scorpio.home.xs4all.nl/diablo/faq.html

That FAQ hasn't been updated since 2002, alas. There are still some of us
running Diablo today, however. I think everyone runs it on Linux.
The latest "stable" release was somewhere between 2007 and 2009 (5.1-REL),
but most people will run 6-CUR (latest update in 2017). I still maintain
some patches at http://www.miquels.cistron.nl/diablo/ .

>If you know other news servers which work on other systems, please tell!
>=> Notably Minix, Windows...

Well diablo consists of 'diablo' (storage and transit/feeding) and 'dreaderd'
(reader frontend, overview database, article numbering etc). I've replaced
the 'diablo' part with my own https://github.com/miquels/nntp-rs almost
everywhere, but I'm probably the only one running it :) (on Debian 10).

Mike.
Re: Systems running news servers
#88558
Author: Julien ÉLIE
Date: Mon, 18 Jan 2021 18:41
40 lines
2882 bytes
Hi Miquel,

>>    https://scorpio.home.xs4all.nl/diablo/faq.html
> 
> That FAQ hasn't been updated since 2002, alas. There are still some of us
> running Diablo today, however. I think everyone runs it on Linux.
> The latest "stable" release was somewhere between 2007 and 2009 (5.1-REL),
> but most people will run 6-CUR (latest update in 2017). I still maintain
> some patches at http://www.miquels.cistron.nl/diablo/ .

There was an old discussion a few years ago in the diablo-users 
mailing-list to move the project to Github, and officially release 
6-CUR.  I believe it would be a good thing for Diablo.

Note that we'll normally migrate INN to Github in a few months.



>> If you know other news servers which work on other systems, please tell!
>> => Notably Minix, Windows...
> 
> Well diablo consists of 'diablo' (storage and transit/feeding) and 'dreaderd'
> (reader frontend, overview database, article numbering etc). I've replaced
> the 'diablo' part with my own https://github.com/miquels/nntp-rs almost
> everywhere, but I'm probably the only one running it :) (on Debian 10).

Oh, nice job!  Looks like it is very efficient (2000 articles received / 
second).
I know one here who will be happy to see a news server coded in Rust :-)

I've had a look at your capabilities; I think SASL should not be 
advertised (at least one mechanism is needed) contrary to AUTHINFO than 
can be advertised without being followed by any keyword.

-- 
Julien ÉLIE

« Avec les machines NEDAP, le vote est TELLEMENT secret que même les
   électeurs n'ont aucune garantie que leur vote soit réellement crédité
   au compte de voix du candidat de son choix ! »
Re: Systems running news servers
#88559
Author: Julien ÉLIE
Date: Mon, 18 Jan 2021 18:45
12 lines
1503 bytes
Hi Matthew,
>>      Linux (including 4.19 and 5.10 kernels, glibc 2.28)
> 
> Our server is running a 3.16 kernel and glibc 2.19.

OK, is it an INN, and which version?
I did not manage to "telnet chiark.greenend.org.uk 119" to have the banner.

-- 
Julien ÉLIE

« Si, si, si… Avec des si, on mettrait Lutèce en amphore ! » (Vacancier)
Re: Systems running news servers
#88560
Author: Julien ÉLIE
Date: Mon, 18 Jan 2021 18:45
10 lines
1455 bytes
Hi Thomas,
> I have compiled a list of news servers for Unix-like systems and
> Windows on <https://th-h.de/net/usenet/servers/> (German language).

Great list, thanks!

-- 
Julien ÉLIE

« Si, si, si… Avec des si, on mettrait Lutèce en amphore ! » (Vacancier)
Re: Systems running news servers
#88561
Author: Miquel van Smoorenburg
Date: Mon, 18 Jan 2021 20:37
40 lines
2872 bytes
In article <ru4knu$uro$1@news.trigofacile.com>,
Julien ELIE  <iulius@nom-de-mon-site.com.invalid> wrote:
>Hi Miquel,
>
>>>    https://scorpio.home.xs4all.nl/diablo/faq.html
>> 
>> That FAQ hasn't been updated since 2002, alas. There are still some of us
>> running Diablo today, however. I think everyone runs it on Linux.
>> The latest "stable" release was somewhere between 2007 and 2009 (5.1-REL),
>> but most people will run 6-CUR (latest update in 2017). I still maintain
>> some patches at http://www.miquels.cistron.nl/diablo/ .
>
>There was an old discussion a few years ago in the diablo-users 
>mailing-list to move the project to Github, and officially release 
>6-CUR.  I believe it would be a good thing for Diablo.

Tell me about it, I started that discussion :) You know what,
I just sent a message to the list. Let's see if it still works.

>> Well diablo consists of 'diablo' (storage and transit/feeding) and 'dreaderd'
>> (reader frontend, overview database, article numbering etc). I've replaced
>> the 'diablo' part with my own https://github.com/miquels/nntp-rs almost
>> everywhere, but I'm probably the only one running it :) (on Debian 10).
>
>Oh, nice job!  Looks like it is very efficient (2000 articles received / 
>second).
>I know one here who will be happy to see a news server coded in Rust :-)

It's a _lot_ of work, but it writing Rust is still faster and easier
than writing correct C/C++. It's a lot of fun as well.

>I've had a look at your capabilities; I think SASL should not be 
>advertised (at least one mechanism is needed) contrary to AUTHINFO than 
>can be advertised without being followed by any keyword.

It isn't advertised as long as you don't set the SASL capability bit.
Lots of the other capabilities aren't advertised either right now,
for the same reason: no actual implementation yet.

Mike.
Re: Systems running news servers
#88562
Author: The Doctor
Date: Tue, 19 Jan 2021 00:25
19 lines
1605 bytes
In article <ru4l05$v8e$2@news.trigofacile.com>,
Julien à LIE  <iulius@nom-de-mon-site.com.invalid> wrote:
>Hi Thomas,
>> I have compiled a list of news servers for Unix-like systems and
>> Windows on <https://th-h.de/net/usenet/servers/> (German language).
>
>Great list, thanks!
>
>-- 
>Julien ÉLIE
>
>« Si, si, si… Avec des si, on mettrait Lutèce en amphore ! » (Vacancier)

I should be perring with that lot!
-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b  
Born 29 Jan 1969 Redhill, Surrey, UK 
Re: Systems running news servers
#88564
Author: Matthew Vernon
Date: Tue, 19 Jan 2021 13:42
19 lines
1665 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> writes:

> Hi Matthew,
>>>      Linux (including 4.19 and 5.10 kernels, glibc 2.28)
>>
>> Our server is running a 3.16 kernel and glibc 2.19.
>
> OK, is it an INN, and which version?
> I did not manage to "telnet chiark.greenend.org.uk 119" to have the banner.

It is, from Debian. 2.5.4-3.

Matthew

-- 
 `O'-----0     `O'---.       `O'---.       `O'---.
   \___| |       \___|0-/      \___|/        \___|
    |  | /\       |  |  \       |  |\         |  |
The Dangers of modern veterinary life
Re: Systems running news servers
#88569
Author: Aioe
Date: Tue, 19 Jan 2021 20:45
7 lines
1065 bytes
Il Sun, 17 Jan 2021 14:38:32 +0000, Matthew Vernon ha scritto:

> Our server is running a 3.16 kernel and glibc 2.19.

also aioe.org is running a linux kernel version 3.16 and glibc 2.19

(it's the time to update my system, i know)
Re: Systems running news servers
#88565
Author: Paul Tomblin
Date: Tue, 19 Jan 2021 21:17
20 lines
1508 bytes
In a previous article, Matthew Vernon <matthew@debian.org> said:
>Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> writes:
>
>>     Linux (including 4.19 and 5.10 kernels, glibc 2.28)
>
>Our server is running a 3.16 kernel and glibc 2.19.

news.xcski.com is running on
- Debian 10.7
- kernel 5.8.3-x86_64-linode137
- glibc 2.28-10
- inn2 2.6.3-1+deb10u2

on a Linode 8GB, which is probably massive overkill for what I do with it.

-- 
Paul Tomblin <ptomblin@xcski.com> http://blog.xcski.com/
You're nicer than I.  I was thinking "Mark, would you recognize a clue
if one were gnawing on the end of your dick?"
              -- random
Re: Systems running news servers
#88573
Author: Neodome Admin
Date: Fri, 22 Jan 2021 00:57
51 lines
2169 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote:
> Hi all,
> 
> A quick survey to know whether current supported systems are the right 
> ones or if we should consider new systems according to your needs.
> 
>   https://www.eyrie.org/~eagle/software/inn/docs/install.html
> 
> """
> INN has been confirmed to work on the following operating systems:
> 
>     AIX 4.3
>     FreeBSD 2.2.x and up
>     HP-UX 10.20 and up
>     Linux 2.x (tested with libc 5.4, glibc 2.0 and up)
>     Mac OS X 10.2 and up
>     NetBSD 1.6 and up
>     OpenBSD 2.8 and up
>     SCO 5.0.4 (tested with gcc 2.8.1, cc)
>     Solaris 2.5.x and up
>     UnixWare 7.1
>     UX/4800 R11 and up
> """
> 
> Yet, I am unsure current versions of INN still work fine with very old 
> versions listed...
> 
> 
>   https://scorpio.home.xs4all.nl/diablo/faq.html
> 
> """
> Diablo was originally developed on FreeBSD and will perform very well on 
> it.  Success has been reported on:
> 
> FreeBSD
> BSD/OS
> Linux
> Solaris
> """
> 
> 
> Any comments about these lists?
> If you know other news servers which work on other systems, please tell!
> => Notably Minix, Windows...

Several years ago I was successfully running INN on Windows with Cygwin.
IIRC it was Windows XP. I was just using it for some testing but didn’t
notice any bugs.

-- 
Neodome
Re: Systems running news servers
#88574
Author: Julien ÉLIE
Date: Fri, 22 Jan 2021 09:56
16 lines
1674 bytes
Hi Neodome,
> Several years ago I was successfully running INN on Windows with Cygwin.
> IIRC it was Windows XP. I was just using it for some testing but didn’t
> notice any bugs.

Interesting to know, thanks!
Do you remember which INN version it was? (2.5.x or 2.6.x ?)

Well, the question now is whether INN still works on recent Windows 
systems (Server 2019 or Windows 10 notably).

-- 
Julien ÉLIE

« Rien n'est plus facile à apprendre que la géométrie pour peu qu'on en
   ait besoin. » (Sacha Guitry)
Re: Systems running news servers
#88575
Author: Gérald Niel
Date: Fri, 22 Jan 2021 10:04
28 lines
2137 bytes
Le Vendredi 22 janvier 2021 à 09:56 UTC, Julien ÉLIE écrivait sur
news.software.nntp :

>> Several years ago I was successfully running INN on Windows with Cygwin.
>> IIRC it was Windows XP. I was just using it for some testing but didn’t
>> notice any bugs.

> Interesting to know, thanks!
> Do you remember which INN version it was? (2.5.x or 2.6.x ?)

I was succefully running (before 2003) Inn on Windows with Cygwin.
Don't remember wich version. Probably 2.5.x or below.

> Well, the question now is whether INN still works on recent Windows 
> systems (Server 2019 or Windows 10 notably).

It should, and with the Linux subsystem it should be more easy.

For neodome.net, you're server is actually used to send abusive
cancels on the fr.* hierarchie.
I've send an email to your abuse address.

@+
-- 
On ne le dira jamais assez, l'anarchisme, c'est l'ordre sans le
gouvernement ; c'est la paix sans la violence. C'est le contraire
précisément de tout ce qu'on lui reproche, soit par ignorance, soit
par mauvaise foi.                                  -+- Hem Day -+-
Re: Systems running news servers
#88576
Author: Gérald Niel
Date: Fri, 22 Jan 2021 10:05
14 lines
1610 bytes
Le Vendredi 22 janvier 2021 à 10:04 UTC, Gérald Niel écrivait sur
news.software.nntp :

> I was succefully running (before 2003) Inn on Windows with Cygwin.
> Don't remember wich version. Probably 2.5.x or below.

Under Windows NT 4.0.

@+
-- 
On ne le dira jamais assez, l'anarchisme, c'est l'ordre sans le
gouvernement ; c'est la paix sans la violence. C'est le contraire
précisément de tout ce qu'on lui reproche, soit par ignorance, soit
par mauvaise foi.                                  -+- Hem Day -+-
Re: Systems running news servers
#88577
Author: Neodome Admin
Date: Fri, 22 Jan 2021 12:23
14 lines
1290 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote:

> Interesting to know, thanks!
> Do you remember which INN version it was? (2.5.x or 2.6.x ?)

Unfortunately, no. It was many years ago, so I’d say 2.5.x.

> Well, the question now is whether INN still works on recent Windows 
> systems (Server 2019 or Windows 10 notably).

I currently have no access to Windows machine, so I can’t help with that.

-- 
Neodome
Re: Systems running news servers
#88578
Author: Neodome Admin
Date: Fri, 22 Jan 2021 12:23
18 lines
1648 bytes
Gérald Niel <gerald.niel+spam@gegeweb.invalid> wrote:

> For neodome.net, you're server is actually used to send abusive
> cancels on the fr.* hierarchie.
> I've send an email to your abuse address.
> 
> @+

Sorry Gerard, there is no such thing as “abusive cancels”. Users are free
to cancel any message they don’t want to see on their server. If your
server is also executing those cancel messages, and it’s not what you want,
I’d suggest you to implement some sort of authentication such as
Cancel-Lock/Cancel-Key, PGP signatures, or NoCeM. Actually, this is the
very group where you can ask for advice on how to implement it. If you
wish, I can provide you with Cancel-Lock/Cancel-Key Perl library.

-- 
Neodome
Re: Systems running news servers
#88579
Author: Gérald Niel
Date: Fri, 22 Jan 2021 13:49
34 lines
2590 bytes
Le vendredi 22 janvier 2021 à 12:23 GMT, Neodome Admin écrivait sur
news.software.nntp :

> Sorry Gerard, there is no such thing as “abusive cancels”. Users are free
> to cancel any message they don’t want to see on their server. 

There is rules about cencel for the fr.* hierarchie.
This user doesn't follow the rules.

I agree with you're point of view if the user is alone on his server.

But cancelling message without legitime reason (as the rueles for
Usenet-FR hierarchie) in a public server and propagate this to other
server is not legitime too me.

> If your server is also executing those cancel messages, and it’s not
> what you want, I’d suggest you to implement some sort of
> authentication such as Cancel-Lock/Cancel-Key, PGP signatures, or
> NoCeM. Actually, this is the very group where you can ask for advice
> on how to implement it. If you wish, I can provide you with
> Cancel-Lock/Cancel-Key Perl library.

Is there something to do on server side for cancel-lock ?
Or client side is enough.

On server side, I'm using cleanfeed. So, now, I refuse cancel comming
from some severs.

@+
-- 
On ne le dira jamais assez, l'anarchisme, c'est l'ordre sans le
gouvernement ; c'est la paix sans la violence. C'est le contraire
précisément de tout ce qu'on lui reproche, soit par ignorance, soit
par mauvaise foi.                                  -+- Hem Day -+-
Re: Systems running news servers
#88580
Author: Adam H. Kerman
Date: Fri, 22 Jan 2021 14:30
38 lines
2735 bytes
Neodome Admin <admin@neodome.net> wrote:
>Gerald Niel <gerald.niel+spam@gegeweb.invalid> wrote:

>>For neodome.net, you're server is actually used to send abusive
>>cancels on the fr.* hierarchie.
>>I've send an email to your abuse address.

>>@+

>Sorry Gerard, there is no such thing as "abusive cancels". Users are
>free to cancel any message they don't want to see on their server. If
>your server is also executing those cancel messages, and it's not what
>you want, I'd suggest you to implement some sort of authentication such
>as Cancel-Lock/Cancel-Key, PGP signatures, or NoCeM. Actually, this is
>the very group where you can ask for advice on how to implement it. If
>you wish, I can provide you with Cancel-Lock/Cancel-Key Perl library.

I don't agree. That any user can send a cancel message is just a matter
of syntax and use of a server that doesn't prohibit a user from sending a
cancel message. Just because a user isn't prevented from doing something
doesn't mean it's not abuse on Usenet.

I assume Gerald Niel isn't discussing cancel messages for unsolicited
advertising nor spam, but a third-party cancel trying to disrupt
discussion in the newsgroup.

Even if a News server has implemented authenticated cancellations, an
automated process to send a significant number of cancels at once could
be a denial-of-service attack, and I'd hope you would agree that's abuse
of Usenet that should be prevented.

I further disagree that use of a cancel message has anything to do with
what one doesn't wish to see on the server one is a user on. Usenet doesn't
have a concept of an unread or unsee control message because that's not
how anything works. All a server processing cancel messages ends up with
are threads with missing articles in them that often have had followups
regardless. Discussion wasn't prevented at all, but someone reading the
thread later won't be able to see specific precursor articles.
Re: Systems running news servers
#88590
Author: Adam H. Kerman
Date: Fri, 22 Jan 2021 14:34
12 lines
1153 bytes
Gerald Niel <gerald.niel+news@gegeweb.org> wrote:

>>. . . 

>Is there something to do on server side for cancel-lock ?
>Or client side is enough.

If it's a first-party cancel (sent by the author of the article), isn't
he supposed to send the authenticated cancel through the same server
that injected the article being cancelled to begin with?

>. . . 
Re: Systems running news servers
#88581
Author: Michael Bäuerle
Date: Fri, 22 Jan 2021 15:52
12 lines
1563 bytes
Adam H. Kerman wrote:
>Gerald Niel <gerald.niel+news@gegeweb.org> wrote:
>
>>Is there something to do on server side for cancel-lock ?
>>Or client side is enough.
>
>If it's a first-party cancel (sent by the author of the article), isn't
>he supposed to send the authenticated cancel through the same server
>that injected the article being cancelled to begin with?

At least Individual has documented such checks:
<https://www.individual.net/faq.php#2.13>
Re: Systems running news servers
#88582
Author: Neodome Admin
Date: Fri, 22 Jan 2021 17:17
24 lines
2069 bytes
Adam H. Kerman <ahk@chinet.com> wrote:

> I don't agree. That any user can send a cancel message is just a matter
> of syntax and use of a server that doesn't prohibit a user from sending a
> cancel message. Just because a user isn't prevented from doing something
> doesn't mean it's not abuse on Usenet.

Computers are very simple and straightforward things. They do exactly what
they are programmed to do. If some news server out there is processing
control messages without any authentication then it’s doing exactly what
administrator wants it to do. I don’t know and have no means to find out if
other administrators want to process those cancel messages or not. What if
they do want to process them?

> Even if a News server has implemented authenticated cancellations, an
> automated process to send a significant number of cancels at once could
> be a denial-of-service attack, and I'd hope you would agree that's abuse
> of Usenet that should be prevented.

Messages sent in batches automatically to text groups are abuse of Usenet,
I agree. But we’re talking about something else.

-- 
Neodome
Re: Systems running news servers
#88583
Author: Neodome Admin
Date: Fri, 22 Jan 2021 17:39
23 lines
1806 bytes
Gérald Niel <gerald.niel+spam@gegeweb.invalid> wrote:

> Is there something to do on server side for cancel-lock ?
> Or client side is enough.

Administrator can decide to also insert his own Cancel-Lock to all articles
posted through his server. Otherwise, no. Only messages with Cancel-Key are
processed on the server side.

There’s RFC available: 

<https://www.eyrie.org/~eagle/usefor/rfcs/rfc8315.txt>

> On server side, I'm using cleanfeed. So, now, I refuse cancel comming
> from some severs.

In your case I would suggest to reject all of them, *unless* they are
coming from some specific servers that you know about. As far as I can
tell, most or all binary Usenet providers don’t process cancel messages
themselves but have no problems with users sending them.

-- 
Neodome
Re: Systems running news servers
#88584
Author: Adam H. Kerman
Date: Fri, 22 Jan 2021 20:40
19 lines
1796 bytes
Neodome Admin <admin@neodome.net> wrote:
>Adam H. Kerman <ahk@chinet.com> wrote:

>>I don't agree. That any user can send a cancel message is just a matter
>>of syntax and use of a server that doesn't prohibit a user from sending a
>>cancel message. Just because a user isn't prevented from doing something
>>doesn't mean it's not abuse on Usenet.

>Computers are very simple and straightforward things. They do exactly
>what they are programmed to do. If some news server out there is
>processing control messages without any authentication then it's doing
>exactly what administrator wants it to do. I don't know and have no
>means to find out if other administrators want to process those cancel
>messages or not. What if they do want to process them? . . . 

Your server, your rules. It's not my place to tell to disallow them. I
am observing, nevertheless, that third-party cancels that aren't issued
to address unsolicited advertising or spam are abuse on Usenet. News
administrator don't always have to deal with abuse on Usenet.
Re: Systems running news servers
#88585
Author: Gérald Niel
Date: Sat, 23 Jan 2021 06:37
71 lines
4515 bytes
Le vendredi 22 janvier 2021 à 20:40 GMT, Adam H. Kerman écrivait sur
news.software.nntp :

> Your server, your rules. It's not my place to tell to disallow them. I
> am observing, nevertheless, that third-party cancels that aren't issued
> to address unsolicited advertising or spam are abuse on Usenet. News
> administrator don't always have to deal with abuse on Usenet.

Sorry, my English is not fluent enough.
I don't know if what I write really means what I want to express and
would express in my native language (French).
And please feel free to redirect this topic to the most appropriate
group.

From what I can see, the server news.deodome.net is an open server, it
can be used to read and post on usenet without authentication.
It can be used to post anonymously (I have no problem with that), but
with no way to trace the source if it is abused:
Injection-Info: neodome.net; mail-complaints-to="abuse@neodome.net"
The abuse address doesn't reply.
And its administrator answers that it's a feature and not a bug when a
abuse is reported about illegitimate cancel.

Because in this case we have a user who uses this server to cancel
messages that do not meet the criteria for legitimate cancellation on
the Usenet network. He obviously does not use his usual server, and
obviously not his usual nickname.
But he has claimed and assumed this characteristic abuse.

So, « Dont acte » as we say in French.

I will therefore, for my part, take more radical measures than simply
refusing cancellations from this server. And report it to the
French-speaking newsmaster community. They will see on their side what
they think is good to do to protect themselves and their users from
possible abuses that could come from this server.
The usual policy is to filter open and lax servers.

Now back to the subject of this group:

To prevent that my own messages that are neither spam, nor messages
with shocking or illegal content (for the French jurisdiction I depend
on) are abusively canceled so I added the header Cancel-Lock with my
client (slrn).
I'm just one of the members of the committee of management of the
hierarchy fr.*, that the person who abuses this server took for target
like all the members of the committee.
This is at a time when we are trying, with our new Control, to
simplify our management rules to take into account the drop in media
traffic.

My question is, is this sufficient as a preventive measure, to prevent
my articles from being cancelled or that the committee announcements
are cancelled ?

And what can I do on the server side inn + cleanfeed + NoCem (I have
to check that everything works well for NoCem with my version of gpg)
to refuse this kind of illegitimate cancellation which are typical
network abuses that come from a server configured to allow these
abuses in all inpunity.
I want to allow my users to be able to cancel their own messages. Or
possibly cancel another message by following the rules and that meet
the cancellation criteria on the network and in particular on the
fr.* hierarchy.

@+
-- 
On ne le dira jamais assez, l'anarchisme, c'est l'ordre sans le
gouvernement ; c'est la paix sans la violence. C'est le contraire
précisément de tout ce qu'on lui reproche, soit par ignorance, soit
par mauvaise foi.                                  -+- Hem Day -+-
Re: Systems running news servers
#88586
Author: Michael Bäuerle
Date: Sat, 23 Jan 2021 12:20
50 lines
3314 bytes
Gérald Niel wrote:
> 
> Now back to the subject of this group:
> 
> To prevent that my own messages that are neither spam, nor messages
> with shocking or illegal content (for the French jurisdiction I depend
> on) are abusively canceled so I added the header Cancel-Lock with my
> client (slrn).
> I'm just one of the members of the committee of management of the
> hierarchy fr.*, that the person who abuses this server took for target
> like all the members of the committee.
> This is at a time when we are trying, with our new Control, to
> simplify our management rules to take into account the drop in media
> traffic.
> 
> My question is, is this sufficient as a preventive measure, to prevent
> my articles from being cancelled or that the committee announcements
> are cancelled ?

Cancel-Locks are not sufficient in the sense that they will make cancel
abuse impossible on the whole network.
If a foreign server always executes all cancel requests, everybody can
still cancel your articles on that server.

But Cancel-Locks work for the members of the network who want that.
Most german servers ignore cancel requests without authentication, but
execute them if e.g. a matching Cancel-Key is provided.

> [...]
> I want to allow my users to be able to cancel their own messages.

Some newsreaders can't create Cancel-Locks/Keys themselves. Most german
servers therefore create them for all their users automatically.

> Or
> possibly cancel another message by following the rules and that meet
> the cancellation criteria on the network and in particular on the
> fr.* hierarchy.

If your server adds Cancel-Locks to the articles from your users,
you can cancel them on other servers too, if they honor matching
Cancel-Keys.

If you want to cancel articles that are not posted via your server:
NoCem messages can be used to inform other server admins if abuse was
detected. If the admin of a server follows you, the article can be
deleted from that foreign server.
And if the admin of the server, that has injected the article, follows
you (and has generated a Cancel-Lock for the abusive article) a cancel
request with a matching Cancel-Key can be propagated too.
Re: Systems running news servers
#88587
Author: Gérald Niel
Date: Sun, 24 Jan 2021 08:37
27 lines
2117 bytes
Le Samedi 23 janvier 2021 à 12:20 UTC, Michael Bäuerle écrivait sur
news.software.nntp :

[…]
> Some newsreaders can't create Cancel-Locks/Keys themselves. Most german
> servers therefore create them for all their users automatically.
[…]

thanks for the reply, it's more clear now.

If I want to implement this on the server side, with Inn, there are
docs?
I searched, I couldn't find any that explain how to do it. Even less
in French, unfortunately.

Maybe Julien E. has that?
If so, we could talk about it in French on fr.*?

I already use NoCem.
And Cleanfeed, configured now to refuse cancel comming from some
servers.

-- 
On ne le dira jamais assez, l'anarchisme, c'est l'ordre sans le
gouvernement ; c'est la paix sans la violence. C'est le contraire
précisément de tout ce qu'on lui reproche, soit par ignorance, soit
par mauvaise foi.                                  -+- Hem Day -+-
Re: Systems running news servers
#88588
Author: yamo'
Date: Sun, 24 Jan 2021 09:34
41 lines
2320 bytes
Salut/Hi,


Gérald Niel a tapoté le 24/01/2021 09:37:
> Le Samedi 23 janvier 2021 à 12:20 UTC, Michael Bäuerle écrivait sur
> news.software.nntp :
> 
> […]
>> Some newsreaders can't create Cancel-Locks/Keys themselves. Most german
>> servers therefore create them for all their users automatically.
> […]
> 
> thanks for the reply, it's more clear now.
> 
> If I want to implement this on the server side, with Inn, there are
> docs?
> I searched, I couldn't find any that explain how to do it. Even less
> in French, unfortunately.
> 
> Maybe Julien E. has that?

On his excellent website he gave some good links : <http://trigofacile.com/>

In French : <http://www.bortzmeyer.org/8315.html>

> If so, we could talk about it in French on fr.*?

On fr.* there is a badly named thread on that subject :
<rrgcka$s3k$1@dont-email.me>


> I already use NoCem.
> And Cleanfeed, configured now to refuse cancel comming from some
> servers.

It's a pity to have to do that...



-- 
Stéphane
Re: Systems running news servers
#88589
Author: Gérald Niel
Date: Sun, 24 Jan 2021 09:46
26 lines
2131 bytes
Le Dimanche 24 janvier 2021 à 09:34 UTC, yamo' écrivait sur
news.software.nntp :

> On his excellent website he gave some good links : <http://trigofacile.com/>

> In French : <http://www.bortzmeyer.org/8315.html>

I have already read. But no references for a how-to with Inn.

>> If so, we could talk about it in French on fr.*?

> On fr.* there is a badly named thread on that subject :
> <rrgcka$s3k$1@dont-email.me>

badly named, And this is not a technical discussion. ;)
But could be a starting point.

> It's a pity to have to do that...

Agree.

-- 
On ne le dira jamais assez, l'anarchisme, c'est l'ordre sans le
gouvernement ; c'est la paix sans la violence. C'est le contraire
précisément de tout ce qu'on lui reproche, soit par ignorance, soit
par mauvaise foi.                                  -+- Hem Day -+-
Re: Systems running news servers
#88591
Author: Julien ÉLIE
Date: Sun, 24 Jan 2021 15:23
25 lines
2290 bytes
Bonjour Gérald,

> I have already read. But no references for a how-to with Inn.

I'm not aware of any French documentation to add Cancel-Lock support in 
INN.  And I do not find current English documentation (though I think I 
once saw one years ago).
The best reference is in German:
 
https://netz-rettung-recht.de/archives/1473-INN-Cancel-Lock-und-Cancel-Key.html

You can try an automatic translation to French.

Basically, you have to add Cancel-Lock support to both nnrpd and innd 
via Perl hooks:
   https://code.th-h.de/?p=usenet/INN.git;a=tree;f=filter

I plan on adding native support in INN code for the next release (2.6.5 
or 2.7.0).

-- 
Julien ÉLIE

« Rien n'est plus facile à apprendre que la géométrie pour peu qu'on en
   ait besoin. » (Sacha Guitry)
Re: Systems running news servers
#88592
Author: Julien ÉLIE
Date: Sun, 24 Jan 2021 15:33
24 lines
2078 bytes
Following Michael's discussion:

> Most german servers ignore cancel requests without authentication, but
> execute them if e.g. a matching Cancel-Key is provided.

A good best practice!
I hope more and more servers will honour NoCeM and Cancel-Lock/Key, and 
ignore unauthenticated cancel requests.


> Some newsreaders can't create Cancel-Locks/Keys themselves. Most german
> servers therefore create them for all their users automatically.

Let's do it in France too!

<politics cliché="on">
I see that even in Usenet, Germany is leading the way in Europe.  France 
always a follower :-)
</politics cliché="off">

-- 
Julien ÉLIE

« Tous les chemins mènent à rame… » (Mouléfix)
Re: Systems running news servers
#88593
Author: Michael Bäuerle
Date: Sun, 24 Jan 2021 17:13
18 lines
1895 bytes
Julien ÉLIE wrote:
> Following Michael's discussion:
> > 
> > [...]
> > Some newsreaders can't create Cancel-Locks/Keys themselves. Most german
> > servers therefore create them for all their users automatically.
> 
> Let's do it in France too!
> 
> <politics cliché="on">
> I see that even in Usenet, Germany is leading the way in Europe.  
> France always a follower :-)
> </politics cliché="off">

But in general I think this cliché is not true:
In Europe France often was the member for the "big picture", the vision
of the future. I doubt that we would have Ariane rockets or Airbus
airplanes today without France.
Re: Systems running news servers
#88595
Author: Jason Evans
Date: Tue, 26 Jan 2021 08:31
14 lines
1283 bytes
On Sat, 16 Jan 2021 10:32:49 +0100, Julien ÉLIE wrote:

> Hi all,
> 
> A quick survey to know whether current supported systems are the right
> ones or if we should consider new systems according to your needs.
> 
>    https://www.eyrie.org/~eagle/software/inn/docs/install.html
> 

news.theuse.net is running on the latest openSUSE 15.2 INN version 2.6.2

__
JE
Re: Systems running news servers
#88596
Author: Gérald Niel
Date: Tue, 26 Jan 2021 11:03
23 lines
2246 bytes
Le Dimanche 24 janvier 2021 à 15:23 UTC, Julien ÉLIE écrivait sur
news.software.nntp :

> https://netz-rettung-recht.de/archives/1473-INN-Cancel-Lock-und-Cancel-Key.html
> You can try an automatic translation to French.

> Basically, you have to add Cancel-Lock support to both nnrpd and innd 
> via Perl hooks:
>    https://code.th-h.de/?p=usenet/INN.git;a=tree;f=filter

Thanks.
Works fine to add Cancel-Lock and Cancel-Key headers with
filter_nnrpd.pl.

Now, I'll update cleanfeed.local.

No need to understand German, source code is enough. ;)

-- 
On ne le dira jamais assez, l'anarchisme, c'est l'ordre sans le
gouvernement ; c'est la paix sans la violence. C'est le contraire
précisément de tout ce qu'on lui reproche, soit par ignorance, soit
par mauvaise foi.                                  -+- Hem Day -+-
Re: Systems running news servers
#88597
Author: Julien ÉLIE
Date: Tue, 26 Jan 2021 11:43
30 lines
2474 bytes
Hi Gérald,

>> Basically, you have to add Cancel-Lock support to both nnrpd and innd
>> via Perl hooks:
>>     https://code.th-h.de/?p=usenet/INN.git;a=tree;f=filter
> 
> Thanks.
> Works fine to add Cancel-Lock and Cancel-Key headers with
> filter_nnrpd.pl.

Good news!
I see a Cancel-Lock header field in your message :-)


> Now, I'll update cleanfeed.local.
> 
> No need to understand German, source code is enough. ;)

A universal language :)

When this feature will be natively integrated into INN, it will be even 
easier.  Also, this Perl code pre-dates Michael's RFC 8315 so it does 
not support hashes other than sha1 (obsolescent) and md5 (obsolete). 
Nowadays, a sha256 hash should also be sent and recognized.

-- 
Julien ÉLIE

« Rien ni personne n'a tout à fait tort : même une horloge arrêtée a
   raison deux fois par jour. » (John Steinbeck)
Re: Systems running news servers
#88603
Author: Julien ÉLIE
Date: Fri, 29 Jan 2021 18:31
36 lines
2754 bytes
Hi Miquel,

>>>>     https://scorpio.home.xs4all.nl/diablo/faq.html
>>>
>>> That FAQ hasn't been updated since 2002, alas. There are still some of us
>>> running Diablo today, however. I think everyone runs it on Linux.
>>> The latest "stable" release was somewhere between 2007 and 2009 (5.1-REL),
>>> but most people will run 6-CUR (latest update in 2017). I still maintain
>>> some patches at http://www.miquels.cistron.nl/diablo/ .
>>
>> There was an old discussion a few years ago in the diablo-users
>> mailing-list to move the project to Github, and officially release
>> 6-CUR.  I believe it would be a good thing for Diablo.
> 
> Tell me about it, I started that discussion :) You know what,
> I just sent a message to the list. Let's see if it still works.

Looks like nobody cared :-(
That's unfortunate.


>> I've had a look at your capabilities; I think SASL should not be
>> advertised (at least one mechanism is needed) contrary to AUTHINFO that
>> can be advertised without being followed by any keyword.
> 
> It isn't advertised as long as you don't set the SASL capability bit.
> Lots of the other capabilities aren't advertised either right now,
> for the same reason: no actual implementation yet.

Ah, OK, I missed that point.  I had a look at the capabilities function 
and saw them, but not checked whether they were really sent to the client.

-- 
Julien ÉLIE

« Un petit pås pøur møi, un grånd bønd pøur l'humanité ! » (Kerøzen)
Re: Systems running news servers
#88605
Author: Kevin Bowling
Date: Mon, 01 Feb 2021 21:16
85 lines
3430 bytes
On 1/16/21 2:32 AM, Julien ÉLIE wrote:
> Hi all,
> 
> A quick survey to know whether current supported systems are the right 
> ones or if we should consider new systems according to your needs.
> 
>    https://www.eyrie.org/~eagle/software/inn/docs/install.html
> 
> """
> INN has been confirmed to work on the following operating systems:
> 
>      AIX 4.3
>      FreeBSD 2.2.x and up
>      HP-UX 10.20 and up
>      Linux 2.x (tested with libc 5.4, glibc 2.0 and up)
>      Mac OS X 10.2 and up
>      NetBSD 1.6 and up
>      OpenBSD 2.8 and up
>      SCO 5.0.4 (tested with gcc 2.8.1, cc)
>      Solaris 2.5.x and up
>      UnixWare 7.1
>      UX/4800 R11 and up
> """
> 
> Yet, I am unsure current versions of INN still work fine with very old 
> versions listed...
> 
> 
>    https://scorpio.home.xs4all.nl/diablo/faq.html
> 
> """
> Diablo was originally developed on FreeBSD and will perform very well on 
> it.  Success has been reported on:
> 
> FreeBSD
> BSD/OS
> Linux
> Solaris
> """
> 
> 
> Any comments about these lists?
> If you know other news servers which work on other systems, please tell!
> => Notably Minix, Windows...
> 
> 
> 
> As for INN more specifically, are there people here running INN 2.6.x on:
> - AIX 4.3 or higher?
> - HP-UX 10.20 or higher?
> - SCO 5 and UnixWare 7 or higher? (or now Xinuos OpenServer?)
> - UX/4800 R11 or higher?
> 
> 
> I am tempted to drop the old list of versions for INN, and just mention 
> the ones where a successful build has really been tested.  Which would 
> give:
> 
> """
> INN has been confirmed to work on recent versions of the following 
> operating systems:
> 
>      AIX (including 7.2)
>      FreeBSD (including 12.1)
>      Linux (including 4.19 and 5.10 kernels, glibc 2.28)
>      macOS (including 11)
>      NetBSD (including 9.0)
>      OpenBSD (including 6.8)
>      Oracle Solaris (including 10 and 11)
> 
> INN may also work on other operating systems like HP-UX, OpenServer or 
> UnixWare but has not been confirmed to.
> """
> 
> 
> Or do you have other expectations?
> 

csiph.com is FreeBSD (on ZFS, which works pretty nice for tradspool with 
compression)

I maintain the inn port (packaging) on FreeBSD and would say we only 
expect supported releases, so 11.4 is the oldest we need to support 
https://www.freebsd.org/security/#sup
Re: Systems running news servers
#88606
Author: The Doctor
Date: Mon, 01 Feb 2021 22:39
95 lines
3806 bytes
In article <rv9r48$933$1@csiph.com>,
Kevin Bowling  <kevin.bowling@kev009.com> wrote:
>On 1/16/21 2:32 AM, Julien ÉLIE wrote:
>> Hi all,
>> 
>> A quick survey to know whether current supported systems are the right 
>> ones or if we should consider new systems according to your needs.
>> 
>>    https://www.eyrie.org/~eagle/software/inn/docs/install.html
>> 
>> """
>> INN has been confirmed to work on the following operating systems:
>> 
>>      AIX 4.3
>>      FreeBSD 2.2.x and up
>>      HP-UX 10.20 and up
>>      Linux 2.x (tested with libc 5.4, glibc 2.0 and up)
>>      Mac OS X 10.2 and up
>>      NetBSD 1.6 and up
>>      OpenBSD 2.8 and up
>>      SCO 5.0.4 (tested with gcc 2.8.1, cc)
>>      Solaris 2.5.x and up
>>      UnixWare 7.1
>>      UX/4800 R11 and up
>> """
>> 
>> Yet, I am unsure current versions of INN still work fine with very old 
>> versions listed...
>> 
>> 
>>    https://scorpio.home.xs4all.nl/diablo/faq.html
>> 
>> """
>> Diablo was originally developed on FreeBSD and will perform very well on 
>> it.  Success has been reported on:
>> 
>> FreeBSD
>> BSD/OS
>> Linux
>> Solaris
>> """
>> 
>> 
>> Any comments about these lists?
>> If you know other news servers which work on other systems, please tell!
>> => Notably Minix, Windows...
>> 
>> 
>> 
>> As for INN more specifically, are there people here running INN 2.6.x on:
>> - AIX 4.3 or higher?
>> - HP-UX 10.20 or higher?
>> - SCO 5 and UnixWare 7 or higher? (or now Xinuos OpenServer?)
>> - UX/4800 R11 or higher?
>> 
>> 
>> I am tempted to drop the old list of versions for INN, and just mention 
>> the ones where a successful build has really been tested.  Which would 
>> give:
>> 
>> """
>> INN has been confirmed to work on recent versions of the following 
>> operating systems:
>> 
>>      AIX (including 7.2)
>>      FreeBSD (including 12.1)
>>      Linux (including 4.19 and 5.10 kernels, glibc 2.28)
>>      macOS (including 11)
>>      NetBSD (including 9.0)
>>      OpenBSD (including 6.8)
>>      Oracle Solaris (including 10 and 11)
>> 
>> INN may also work on other operating systems like HP-UX, OpenServer or 
>> UnixWare but has not been confirmed to.
>> """
>> 
>> 
>> Or do you have other expectations?
>> 
>
>csiph.com is FreeBSD (on ZFS, which works pretty nice for tradspool with 
>compression)
>
>I maintain the inn port (packaging) on FreeBSD and would say we only 
>expect supported releases, so 11.4 is the oldest we need to support 
>https://www.freebsd.org/security/#sup
>
>

nk.ca runs INN CURRENT on FreeBSD 12.2 no problem.
-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b  
NFLD on 13 Feb vote Liberal !
Re: Systems running news servers
#88607
Author: Grant Taylor
Date: Tue, 02 Feb 2021 06:02
13 lines
1266 bytes
On 2/1/21 2:16 PM, Kevin Bowling wrote:
> csiph.com is FreeBSD (on ZFS, which works pretty nice for tradspool with 
> compression)

+1 for ZFS+compression

+1 for tradspool



-- 
Grant. . . .
unix || die
Re: Systems running news servers
#88609
Author: Julien ÉLIE
Date: Tue, 02 Feb 2021 19:13
20 lines
1664 bytes
Hi Kevin,

> csiph.com is FreeBSD (on ZFS, which works pretty nice for tradspool with 
> compression)

Good news!


> I maintain the inn port (packaging) on FreeBSD and would say we only 
> expect supported releases, so 11.4 is the oldest we need to support 
> https://www.freebsd.org/security/#sup

Thanks for your work on the inn port.
Noted for the FreeBSD model to support a major version's stable branch 
for 5 years.

-- 
Julien ÉLIE

« Tant qu'il y a des marmites, il y a de l'espoir ! » (Astérix)
RFC 8315 perl hooks for Inn (was: Re: Systems running news servers)
#88610
Author: Gérald Niel
Date: Mon, 08 Feb 2021 07:51
39 lines
3073 bytes
Hi Julien,

Le Mardi 26 janvier 2021 à 11:43 UTC, Julien ÉLIE écrivait sur
news.software.nntp :

>>> Basically, you have to add Cancel-Lock support to both nnrpd and innd
>>> via Perl hooks:
>>>     https://code.th-h.de/?p=usenet/INN.git;a=tree;f=filter

> When this feature will be natively integrated into INN, it will be even 
> easier.  

Theres is the libcanlock that could be used. 
Not avaialable yet on FreeBSD ports, but available on Linux Debian
based  : https://micha.freeshell.org/libcanlock/
Unfortunatly the v3 doesn't works yet with slrn (on client side).

> Also, this Perl code pre-dates Michael's RFC 8315 so it does 
> not support hashes other than sha1 (obsolescent) and md5 (obsolete). 
> Nowadays, a sha256 hash should also be sent and recognized.

I think I've succeffuly rewrited those hooks to be RFC 8315 compliant.
As you can see in my headers, works fine to add the sha256 lock en keys.
And works fine too to check if lock match with the key.

See <news:slrns21n0l.1ala.gerald.niel+spam@home.niel.me> (in french,
on fr.comp.lang.perl).

I need to confirm that the changes I want to make in cleanfeed.local
work.

If that works and looks good, tell me how to (and where) submit these.
I'll publish these on my Gemini capsule. And perhaps on my blog too.

-- 
On ne le dira jamais assez, l'anarchisme, c'est l'ordre sans le
gouvernement ; c'est la paix sans la violence. C'est le contraire
précisément de tout ce qu'on lui reproche, soit par ignorance, soit
par mauvaise foi.                                  -+- Hem Day -+-
Re: RFC 8315 perl hooks for Inn
#88611
Author: Michael Bäuerle
Date: Mon, 08 Feb 2021 10:33
34 lines
2816 bytes
Gérald Niel wrote:
> Julien ÉLIE wrote:
> > 
> > When this feature will be natively integrated into INN, it will be even 
> > easier.  
> 
> Theres is the libcanlock that could be used. 
> Not avaialable yet on FreeBSD ports, but available on Linux Debian
> based  : https://micha.freeshell.org/libcanlock/

There is a NetBSD (pkgsrc) package available too:
<https://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/news/libcanlock/README.html>

> Unfortunatly the v3 doesn't works yet with slrn (on client side).

libcanlock V3 can be configured to emulate the V2 API (with the option
"--enable-legacy-api", which is used by default). This is sufficient
for slrn, but the V2 API has no support for SHA2.

There are patches for slrn to use the V3 API:
<https://micha.freeshell.org/libcanlock/#patches>
The hash algorithm can then be configured via "canlock_algo".
Quoted from the patched manual:
| 
| 6.7.1.  canlock_algo
| 
| Type: string
| Default: "SHA256"
| 
| If slrn is configured to put cancel-locks into the articles you post,
| then this variable is used to select the hash algorithm for <scheme>
| and HMAC (used as recommended in Section 4 of RFC 8315).
| 
| The default value is the mandatory hash algorithm defined by RFC 8315.
Re: RFC 8315 perl hooks for Inn (was: Re: Systems running news servers)
#88612
Author: Julien ÉLIE
Date: Mon, 08 Feb 2021 21:44
25 lines
2445 bytes
Hi Gérald,

>> When this feature will be natively integrated into INN, it will be even
>> easier.
> 
> Theres is the libcanlock that could be used.

Yes, we'll call the functions defined by that library.


>> https://code.th-h.de/?p=usenet/INN.git;a=tree;f=filter
> 
> I think I've succeffuly rewrited those hooks to be RFC 8315 compliant.
> 
> If that works and looks good, tell me how to (and where) submit these.

As Thomas reads this newsgroup, just provide a link to your patch. 
Thanks for it!

-- 
Julien ÉLIE

« Given a choice between fixing a small bug that affects something deep
   down in the guts, or making some flashy ui change that nobody wants,
   most bug fixers will choose the flash. » (Tomblin's Law)
Re: RFC 8315 perl hooks for Inn
#88613
Author: Gérald Niel
Date: Tue, 09 Feb 2021 07:56
39 lines
2885 bytes
Hi Julien,

Le Lundi 08 février 2021 à 21:44 UTC, Julien ÉLIE écrivait sur
news.software.nntp :

>>> https://code.th-h.de/?p=usenet/INN.git;a=tree;f=filter
>> 
>> I think I've succeffuly rewrited those hooks to be RFC 8315 compliant.
>> 
>> If that works and looks good, tell me how to (and where) submit these.

> As Thomas reads this newsgroup, just provide a link to your patch. 

I've put the files on a webpage here:
https://home.gegeweb.org/rfc8315.html

Patch files:
https://home.gegeweb.org/files/filter_nnrpd.pl.patch
https://home.gegeweb.org/files/cleanfeed.local.patch

And also (article in French) on my Gemini capsule:
gemini://home.gegeweb.org/rfc8315-inn.gmi

I use these patch on my two servers.
Works fine, and tested a posting with slrn an libcanclock (sha-1) from
another server and the cancel from mine. Cancel wath accepted for the
sha-1 lock/key added on client side. Not tested with a MD5 key/lock,
but should works too.
If key/lock doesn't match cancel is refused, posted localy or from feed.

> Thanks for it!

You're welcome!

-- 
On ne le dira jamais assez, l'anarchisme, c'est l'ordre sans le
gouvernement ; c'est la paix sans la violence. C'est le contraire
précisément de tout ce qu'on lui reproche, soit par ignorance, soit
par mauvaise foi.                                  -+- Hem Day -+-
Re: RFC 8315 perl hooks for Inn
#88614
Author: Gérald Niel
Date: Tue, 09 Feb 2021 08:40
34 lines
2896 bytes
Le Lundi 08 février 2021 à 10:33 UTC, Michael Bäuerle écrivait sur
news.software.nntp :

> libcanlock V3 can be configured to emulate the V2 API (with the option
> "--enable-legacy-api", which is used by default). This is sufficient
> for slrn, but the V2 API has no support for SHA2.

> There are patches for slrn to use the V3 API:
> <https://micha.freeshell.org/libcanlock/#patches>
> The hash algorithm can then be configured via "canlock_algo".

Thanks for the information.
I would test on MacOS (Big Sur) but I can't compile slrn.
HEAD from git or latest stable, with or without libcanlock.
I've succefully compiled libcanclock (not yet in Homebrew).
Don't know how to fix that! :(
And I'm not sure if it is an issue from slrn code.

(Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021;
root:xnu-7195.81.3~1/RELEASE_X86_64 x86_64)

slrn/src/misc.c:376:4: error: implicit declaration of function 'VA_COPY' 
  is invalid in C99 [-Werror,-Wimplicit-function-declaration]
     VA_COPY(ap1, ap);
     ^
1 error generated.
	    
I'll try on Linux.

-- 
On ne le dira jamais assez, l'anarchisme, c'est l'ordre sans le
gouvernement ; c'est la paix sans la violence. C'est le contraire
précisément de tout ce qu'on lui reproche, soit par ignorance, soit
par mauvaise foi.                                  -+- Hem Day -+-
Re: RFC 8315 perl hooks for Inn
#88615
Author: Michael Bäuerle
Date: Tue, 09 Feb 2021 21:42
38 lines
3105 bytes
Gérald Niel wrote:
> Michael Bäuerle écrivait sur news.software.nntp:
> > 
> > libcanlock V3 can be configured to emulate the V2 API (with the option
> > "--enable-legacy-api", which is used by default). This is sufficient
> > for slrn, but the V2 API has no support for SHA2.
> > 
> > There are patches for slrn to use the V3 API:
> > <https://micha.freeshell.org/libcanlock/#patches>
> > The hash algorithm can then be configured via "canlock_algo".
> 
> Thanks for the information.
> I would test on MacOS (Big Sur) but I can't compile slrn.
> HEAD from git or latest stable, with or without libcanlock.
> I've succefully compiled libcanclock (not yet in Homebrew).
> Don't know how to fix that! :(
> And I'm not sure if it is an issue from slrn code.
> 
> (Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021;
> root:xnu-7195.81.3~1/RELEASE_X86_64 x86_64)
> 
> slrn/src/misc.c:376:4: error: implicit declaration of function 'VA_COPY' 
>   is invalid in C99 [-Werror,-Wimplicit-function-declaration]
>      VA_COPY(ap1, ap);
>      ^
> 1 error generated.

VA_COPY seems to be a macro that is defined by the configuration process
(intended for systems that don't have va_copy() as defined by C99).

What does the "configure" script prints for this check on your machine?
| 
| checking for an implementation of va_copy()... yes

On my machine the configure script writes this into "src/sysconf.h":
| 
| /* define if you have va_copy() in stdarg.h */
| #define VA_COPY va_copy
Re: RFC 8315 perl hooks for Inn
#88616
Author: Gérald Niel
Date: Wed, 10 Feb 2021 08:42
33 lines
2686 bytes
Le Mardi 09 février 2021 à 21:42 UTC, Michael Bäuerle écrivait sur
news.software.nntp :

> What does the "configure" script prints for this check on your machine?
>| 
>| checking for an implementation of va_copy()... yes

$ ./configure | grep va_copy
checking for an implementation of va_copy()... no
checking for an implementation of __va_copy()... no

> On my machine the configure script writes this into "src/sysconf.h":
>| 
>| /* define if you have va_copy() in stdarg.h */
>| #define VA_COPY va_copy

I have this:

/* define if you have va_copy() in stdarg.h */
/* #undef VA_COPY */

/* define if va_lists can't be copied by value */
#define VA_COPY_AS_ARRAY 1

And yet man stdarg(3) does mention va_copy().

It's beyond my skills! ;)

-- 
On ne le dira jamais assez, l'anarchisme, c'est l'ordre sans le
gouvernement ; c'est la paix sans la violence. C'est le contraire
précisément de tout ce qu'on lui reproche, soit par ignorance, soit
par mauvaise foi.                                  -+- Hem Day -+-
SLRN build fail on macOS (was :Re: RFC 8315 perl hooks for Inn)
#88617
Author: Gérald Niel
Date: Wed, 10 Feb 2021 09:59
14 lines
2295 bytes
Le Mercredi 10 février 2021 à 08:42 UTC, Gérald Niel écrivait sur
news.software.nntp :

> It's beyond my skills! ;)

Thanks to Jean-Pierre Kuypers on fr.*, the problem is known but the
author of the patch says that he doesn't find where to submit it:
https://trac.macports.org/ticket/61662

-- 
On ne le dira jamais assez, l'anarchisme, c'est l'ordre sans le
gouvernement ; c'est la paix sans la violence. C'est le contraire
précisément de tout ce qu'on lui reproche, soit par ignorance, soit
par mauvaise foi.                                  -+- Hem Day -+-
Re: RFC 8315 perl hooks for Inn
#88618
Author: Michael Bäuerle
Date: Wed, 10 Feb 2021 15:02
36 lines
2866 bytes
Gérald Niel wrote:
>
> I've put the files on a webpage here:
> https://home.gegeweb.org/rfc8315.html
> 
> Patch files:
> https://home.gegeweb.org/files/filter_nnrpd.pl.patch
> https://home.gegeweb.org/files/cleanfeed.local.patch
> 
> And also (article in French) on my Gemini capsule:
> gemini://home.gegeweb.org/rfc8315-inn.gmi
> 
> I use these patch on my two servers.
> Works fine, and tested a posting with slrn an libcanclock (sha-1) from
> another server and the cancel from mine. Cancel wath accepted for the
> sha-1 lock/key added on client side. Not tested with a MD5 key/lock,

Likely MD5 is not worth to implement it.

The Cancel-Lock RFC draft written by Simon Lyall in the last century
defined only SHA1:
<https://tools.ietf.org/html/draft-ietf-usefor-cancel-lock-01#section-2.1>

There was support for MD5 in libcanlock version 0 and 1, but in 2003 the
MD5 support was removed from libcanlock version 2. Quoted from changelog:
| 
| VERSION 2:
| 
| 10 Aug 2003
| 
| [...]
| - The md5_key(), md5_lock() and md5_verify() functions have been
|   removed.  As far as I can tell they weren't being used.

AFAIK the Perl based server implementations do not create MD5 based
locks/keys too.
Re: RFC 8315 perl hooks for Inn
#88619
Author: Gérald Niel
Date: Wed, 10 Feb 2021 18:28
22 lines
2481 bytes
Le Mercredi 10 février 2021 à 15:02 UTC, Michael Bäuerle écrivait sur
news.software.nntp :

> AFAIK the Perl based server implementations do not create MD5 based
> locks/keys too.

Yes right, I've adapted the code to use sha256 instead of sha1 for the
Cancel-Lock/Key as the RFC8315 specification.

But in cleanfeed.local it take care about sha256, sha1 or md5 for the
verification.
I've only added the sha256, sha1 and md5 verifications was already in
the original code.

I use libcanlock with slrn on linux (Debian buster) and it use sha1.

(hope my english is good)
-- 
On ne le dira jamais assez, l'anarchisme, c'est l'ordre sans le
gouvernement ; c'est la paix sans la violence. C'est le contraire
précisément de tout ce qu'on lui reproche, soit par ignorance, soit
par mauvaise foi.                                  -+- Hem Day -+-
Page 1 of 2 • 61 total messages
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads