🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
11 messages
11 total messages Started by Florian Zschocke Fri, 13 Oct 2006 08:34
Control Messages
#74369
Author: Florian Zschocke
Date: Fri, 13 Oct 2006 08:34
14 lines
1667 bytes
Hello NG,

I want to extend my newsreader to send also control messages.
I'm sure, just from looking from far at the protocol description, that 
a authentication via "From" or "Sender" header is not possible.
If that would be possible everybody would be able to cancel your 
message. So - how is the authentication done? Is X-Auth header with 
PGP encoded key the common way? If yes, do you have some hints for me 
how I can integrate PGP into my application. Perhaps PGP could also be 
used to encode messages (I still can't see the use of that but that 
means nothing).

Thank you - Florian
Re: Control Messages
#74370
Author: Bert Hyman
Date: Fri, 13 Oct 2006 13:20
21 lines
1610 bytes
edv@zschocke-berlin.de (Florian Zschocke) wrote in
news:FFDFC5FA-19B4-481A-A89A-07C49277B073%edv@zschocke-berlin.de: 

> I want to extend my newsreader to send also control messages.
> I'm sure, just from looking from far at the protocol description,
> that a authentication via "From" or "Sender" header is not
> possible. 

True.

> If that would be possible everybody would be able to
> cancel your message. 

That's right.

> So - how is the authentication done?

By looking at the "From:" header.

-- 
Bert Hyman | St. Paul, MN | bert@iphouse.com
Re: Control Messages
#74371
Author: Florian Zschocke
Date: Fri, 13 Oct 2006 13:46
24 lines
1838 bytes
Bert Hyman <bert@iphouse.com> schrieb:
 
> edv@zschocke-berlin.de (Florian Zschocke) wrote in
> news:FFDFC5FA-19B4-481A-A89A-07C49277B073%edv@zschocke-berlin.de: 
> 
>> I want to extend my newsreader to send also control messages.
>> I'm sure, just from looking from far at the protocol description,
>> that a authentication via "From" or "Sender" header is not
>> possible. 
> 
> True.
> 
>> If that would be possible everybody would be able to
>> cancel your message. 
> 
> That's right.
> 
>> So - how is the authentication done?
> 
> By looking at the "From:" header.
> 
Ups.

Re: Control Messages
#74372
Author: Russ Allbery
Date: Fri, 13 Oct 2006 15:01
31 lines
2262 bytes
Florian Zschocke <edv@zschocke-berlin.de> writes:

> I want to extend my newsreader to send also control messages.  I'm sure,
> just from looking from far at the protocol description, that a
> authentication via "From" or "Sender" header is not possible.

Well, it's what's used for hierarchies where there's really no access
restriction on control messages.

> If that would be possible everybody would be able to cancel your
> message. So - how is the authentication done? Is X-Auth header with PGP
> encoded key the common way?

Yes.

> If yes, do you have some hints for me how I can integrate PGP into my
> application. Perhaps PGP could also be used to encode messages (I still
> can't see the use of that but that means nothing).

On Unix, one generally just saves the messages to a temporary file and
signs it that way.  If you're on Windows, I'm not sure if PGP will work
as easily.

See <ftp://ftp.isc.org/pub/pgpcontrol/> for more information on the syntax
and details.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Control Messages
#74374
Author: Curt Welch
Date: Fri, 13 Oct 2006 18:10
22 lines
2391 bytes
Florian Zschocke <edv@zschocke-berlin.de> wrote:
> Hello NG,
>
> I want to extend my newsreader to send also control messages.
> I'm sure, just from looking from far at the protocol description, that
> a authentication via "From" or "Sender" header is not possible.
> If that would be possible everybody would be able to cancel your
> message.

Which is why most servers ignore cancel messages these days.  Back when
Usenet was smaller, and it wasn't a commercial service people were paying
for, abuse of cancel and supersede and newgroup messages could be
controlled.  But over time, because of growth, and because of too many
rogue sites, that became unreasonable so for the most part cancels just
don't work anymore on Usenet.  Many sites just ignore all control messages
and add and delete groups manually.  Some support the PGP stuff but I don't
know what percentage that is.  I would guess a lot less than half but I
could be wrong.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                                        http://NewsReader.Com/
Re: Control Messages
#74376
Author: Florian Zschocke
Date: Sat, 14 Oct 2006 08:06
22 lines
2156 bytes
curt@kcwc.com (Curt Welch) schrieb:
 

> 
> Which is why most servers ignore cancel messages these days.  Back when
> Usenet was smaller, and it wasn't a commercial service people were paying
> for, abuse of cancel and supersede and newgroup messages could be
> controlled.  But over time, because of growth, and because of too many
> rogue sites, that became unreasonable so for the most part cancels just
> don't work anymore on Usenet.  Many sites just ignore all control messages
> and add and delete groups manually.  Some support the PGP stuff but I don't
> know what percentage that is.  I would guess a lot less than half but I
> could be wrong.
> 

Ok, I thought that a moderated group would work this way. That the moderator 
is able to send these messages to kill a unwanted content of from the group. 
Will it have any practical use at all to have these "administrative functions" 
in my reader ?

Thanks - Florian
Re: Control Messages
#74377
Author: Eric Edwards
Date: Sat, 14 Oct 2006 21:01
17 lines
1920 bytes
On 14 Oct 2006 08:06:15 GMT, Florian Zschocke <edv@zschocke-berlin.de> wrote:
>Ok, I thought that a moderated group would work this way. That the moderator 
>is able to send these messages to kill a unwanted content of from the group. 

That's usually referred to as retro-moderation.  Done, but not common.
In a conventionally moderated group, all posts are mailed to the
moderator, who then chooses whether to post to approve the articles and
post them to the group.

I'm not so sure about Curt's assertion that most servers are ignoring
cancels.  My little server still processes cancels and, at least in the
groups that I read, I haven't noticed this to be a problem.  The
potential for abuse is obviously there, it just doesn't seem widespread
enough to disable the feature.

-- 
Photos and travelogues from Africa and Southeast Asia: http://www.exile.org
Re: Control Messages
#74378
Author: Curt Welch
Date: Sat, 14 Oct 2006 21:36
46 lines
3851 bytes
ese002@news9.exile.org (Eric Edwards) wrote:
> On 14 Oct 2006 08:06:15 GMT, Florian Zschocke <edv@zschocke-berlin.de>
> wrote:
> >Ok, I thought that a moderated group would work this way. That the
> >moderator is able to send these messages to kill a unwanted content of
> >from the group.

I'm not even sure how PGP auth is used because I've never added it to my
servers nor try to use it.  On the servers it's implemented on, does it
work by default that the key holder for a hierarchy will have cancel
permission in the hierarchy?  I thought PGP only worked for newsgroup and
rmgroup and not cancels but it would make sense to give them cancel power
as well.  So can someone tell me if it gives them cancel power as well?

> That's usually referred to as retro-moderation.  Done, but not common.
> In a conventionally moderated group, all posts are mailed to the
> moderator, who then chooses whether to post to approve the articles and
> post them to the group.

Yeah, most Usenet moderated groups work because the unwanted articles never
get posted.

> I'm not so sure about Curt's assertion that most servers are ignoring
> cancels.  My little server still processes cancels and, at least in the
> groups that I read, I haven't noticed this to be a problem.  The
> potential for abuse is obviously there, it just doesn't seem widespread
> enough to disable the feature.

Well, the more large servers there are that ignore cancels, the less cancel
abuse there will be, because the abusers don't get any joy out of sending
out a thousand cancels and finding out that nothing was cancelled on his
server. This means that if the major servers ignore cancels, then small
servers can get away with honoring them.  At the same time, if you run a
large server with thousands of users, the odds of one of your users being
effected by a cancel flood goes up - which makes the larger servers more
likely to turn off cancels because of the number of complaints they have to
deal with.

I'm not aware of any large servers that honor cancels these days.  I used
to offer both by providing one front end that honored cancels and one that
didn't.  The default was the one that ignored cancels.  Only about 10 users
used the one that honored cancels.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                                        http://NewsReader.Com/
Re: Control Messages
#74379
Author: Curt Welch
Date: Sat, 14 Oct 2006 21:42
21 lines
2605 bytes
Florian Zschocke <edv@zschocke-berlin.de> wrote:
> Will it have any practical use at all to have these
> "administrative functions" in my reader ?

There are some people in the world still using these functions.  But not
many.  It's just a question of whether you want to support the few that do
need it. It's also wise to not make a popular newsreader so powerful that
people can send out cancels for any article they decided they don't like or
send out newgroups or rmgroups for anything they want.  In general, one way
abuse has always been controlled is to not make it easy for Joe-stupid to
be abusive.  Many times, control messages are hand-formatted by the people
that know how to do it instead of using a built in newsreader function to
do it for them.  Older newsreaders for example would just give you a text
file to edit with the headers in it, and if you knew what you were doing,
you would just hand-add the needed extra headers to create control
messages.  Giving a naive user a "cancel" button that's not somehow enabled
only for that user's posts, is a not a good thing to do.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                                        http://NewsReader.Com/
Re: Control Messages
#74380
Author: Florian Zschocke
Date: Sat, 14 Oct 2006 22:05
28 lines
2760 bytes
curt@kcwc.com (Curt Welch) schrieb:
 
> Florian Zschocke <edv@zschocke-berlin.de> wrote:
>> Will it have any practical use at all to have these
>> "administrative functions" in my reader ?
> 
> There are some people in the world still using these functions.  But not
> many.  It's just a question of whether you want to support the few that do
> need it. It's also wise to not make a popular newsreader so powerful that
> people can send out cancels for any article they decided they don't like or
> send out newgroups or rmgroups for anything they want.  In general, one way
> abuse has always been controlled is to not make it easy for Joe-stupid to
> be abusive.  Many times, control messages are hand-formatted by the people
> that know how to do it instead of using a built in newsreader function to
> do it for them.  Older newsreaders for example would just give you a text
> file to edit with the headers in it, and if you knew what you were doing,
> you would just hand-add the needed extra headers to create control
> messages.  Giving a naive user a "cancel" button that's not somehow enabled
> only for that user's posts, is a not a good thing to do.
> 
Ok, I will have a cancel button that will generate a cancel message only for 
the self owned messages. This can easily be done by activating it only for the 
messages in the folder "Sent Messages".

Thanks a lot

Florian
Re: Control Messages
#74423
Author: Russ Allbery
Date: Mon, 23 Oct 2006 15:44
27 lines
2250 bytes
Curt Welch <curt@kcwc.com> writes:

> I'm not even sure how PGP auth is used because I've never added it to my
> servers nor try to use it.  On the servers it's implemented on, does it
> work by default that the key holder for a hierarchy will have cancel
> permission in the hierarchy?

No.

> I thought PGP only worked for newsgroup and rmgroup and not cancels

Correct.

> but it would make sense to give them cancel power as well.

The pgpverify protocol is not really implemented for cancels by anyone so
far as I know, although there's no inherent reason why one couldn't.
However, it *doesn't* always make sense to give hierarchy administrators
that power; for instance, I might want to honor newgroups from some
specific person in alt.*, but that doesn't necessarily mean I want their
cancels.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
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