Thread View: news.software.nntp
11 messages
11 total messages
Started by Tim Judd
Wed, 17 Jan 2007 04:14
newgroup paramaters
Author: Tim Judd
Date: Wed, 17 Jan 2007 04:14
Date: Wed, 17 Jan 2007 04:14
31 lines
2590 bytes
2590 bytes
Hi all, recently found this group. Have done a couple searches in the group, and a couple google searches, but nothing turning up that gives me a definite answer. Using the newgroup command (via ctlinnd) gives you a few options, flags I understand (thanks to active(5)). But when and how is the creator flag used? INN documentation says that it defaults to the newsmaster, but another flag can be specified. If you define "John Smith" as the creator, and moderate, or otherwise restrict the newsgroup (say an announce group), how do people authorize the news article for posting? I think this might be described better in an example, masking for spam harvesting bots but the spaces in the email addresses would normally be excluded: ./ctlinnd newgroup xyzcorporation.announce m announce @ xyzcorporation.com The group is moderated. Are the postings sent to announce @ xyzcorporation.com for approval? What if instead of announce @ xyzcorporation.com I put "John Smith"? How should the creator paramater be used? I'm totally baffled on what to use there, any tips, suggestions, advice, etc would be appreciated. This implementation of INN is not going to carry the entire newsfeed. I feel that I didn't describe this the best. I hope it's enough.
Re: newgroup paramaters
Author: Russ Allbery
Date: Wed, 17 Jan 2007 04:37
Date: Wed, 17 Jan 2007 04:37
37 lines
2562 bytes
2562 bytes
Tim Judd <tjudd01@hotmail.com> writes:
> Using the newgroup command (via ctlinnd) gives you a few options, flags
> I understand (thanks to active(5)). But when and how is the creator
> flag used? INN documentation says that it defaults to the newsmaster,
> but another flag can be specified.
It's not. I think it may be returned with LIST ACTIVE.TIMES, but INN
itself does nothing with it.
> If you define "John Smith" as the creator, and moderate, or otherwise
> restrict the newsgroup (say an announce group), how do people authorize
> the news article for posting?
That's a different matter -- that's a question of the moderator, not of
the creator of the group. It's a long story exactly how this works, but
briefly:
* Create the group with a flag of m.
* Set the moderation e-mail address for the group in the moderators file.
* Make sure the moderator can receive postings at that e-mail address.
* Write software for the moderator to approve messages:
- Strip off the mail headers.
- Add Approved.
- Post the message.
* Make sure that the moderator is permitted to approve messages in
readers.conf.
I think most of your confusion was in thinking that the creator part of
the newgroup command had something to do with moderation. It's entirely
unrelated.
--
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: newgroup paramaters
Author: Grant Robertson
Date: Wed, 17 Jan 2007 05:46
Date: Wed, 17 Jan 2007 05:46
11 lines
1383 bytes
1383 bytes
In article <87sleaqnf6.fsf@windlord.stanford.edu>, rra@stanford.edu says... > * Write software for the moderator to approve messages: > - Strip off the mail headers. > - Add Approved. > - Post the message. > * Make sure that the moderator is permitted to approve messages in > readers.conf. Out of curiosity, what is to keep any other bonehead out there from posting a message spoofing the moderator's approval message?
Re: newgroup paramaters
Author: Russ Allbery
Date: Wed, 17 Jan 2007 06:33
Date: Wed, 17 Jan 2007 06:33
25 lines
2037 bytes
2037 bytes
Grant Robertson <bogus@bogus.invalid> writes:
> rra@stanford.edu says...
>> * Write software for the moderator to approve messages:
>> - Strip off the mail headers.
>> - Add Approved.
>> - Post the message.
>> * Make sure that the moderator is permitted to approve messages in
>> readers.conf.
> Out of curiosity, what is to keep any other bonehead out there from
> posting a message spoofing the moderator's approval message?
Policy.
INN only allows authorized clients to send Approved headers, in an effort
to help a little bit. Ideally, we would use PGP signatures, but key
distribution is a problem, as is getting every moderator the software to
do the signatures.
--
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: newgroup paramaters
Author: Grant Robertson
Date: Wed, 17 Jan 2007 16:40
Date: Wed, 17 Jan 2007 16:40
17 lines
1715 bytes
1715 bytes
In article <877ivmqi1n.fsf@windlord.stanford.edu>, rra@stanford.edu says... > INN only allows authorized clients to send Approved headers, I guess my question is: How are they authorized? Do they have to log in to the server using a password? Do they use secure password authentication? Is PGP signature authentication of messages a standard feature of modern NNTP server software? I ask all of this because of the NNTP network I am thinking of setting up. I will need to ensure that all servers be able to uniquely identify the senders of messages and prevent unauthorized users from posting messages. There will also be special messages that I need to ensure came from specially authorized individuals - like managers - and I was thinking of using PGP for that.
Re: newgroup paramaters
Author: Russ Allbery
Date: Wed, 17 Jan 2007 17:10
Date: Wed, 17 Jan 2007 17:10
43 lines
3206 bytes
3206 bytes
Grant Robertson <bogus@bogus.invalid> writes:
> rra@stanford.edu says...
>> INN only allows authorized clients to send Approved headers,
> I guess my question is: How are they authorized? Do they have to log in
> to the server using a password? Do they use secure password
> authentication?
It's a parameter in readers.conf, so it's up to the authorization
configuration of the local server. That can use whatever combination of
IP-based or password or external callback authentication that the
administrator configured.
> Is PGP signature authentication of messages a standard feature of modern
> NNTP server software?
Only for control messages, although there is a protocol for signing
moderated group messages (PGPMoose).
> I ask all of this because of the NNTP network I am thinking of setting
> up. I will need to ensure that all servers be able to uniquely identify
> the senders of messages and prevent unauthorized users from posting
> messages. There will also be special messages that I need to ensure came
> from specially authorized individuals - like managers - and I was
> thinking of using PGP for that.
Good idea. I recommend looking at either the pgpverify algorithm or the
PGPMoose algorithm. You'll probably need to write verification code
separately to get rid of the articles that fail verification, at least
right now, although it shouldn't be too hard to adapt from what's already
out there and someone may have already put together something that can be
fed via a program feed and clean up slightly after the fact.
There aren't RFCs for either pgpverify or PGPMoose yet due to lack of
time. As soon as USEPRO settles down, I'm planning on writing one at
least for pgpverify as an independent submission.
--
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: newgroup paramaters
Author: Grant Robertson
Date: Wed, 17 Jan 2007 21:57
Date: Wed, 17 Jan 2007 21:57
23 lines
2238 bytes
2238 bytes
In article <87ejptpoit.fsf@windlord.stanford.edu>, rra@stanford.edu says... > It's a parameter in readers.conf, so it's up to the authorization > configuration of the local server. That can use whatever combination of > IP-based or password or external callback authentication that the > administrator configured. > > You'll probably need to write verification code > separately to get rid of the articles that fail verification, at least > right now, although it shouldn't be too hard to adapt from what's already > out there and someone may have already put together something that can be > fed via a program feed and clean up slightly after the fact. I'm gathering that the current NNTP servers allow quite a high level of configuration even to the point of running separate code or scripts to achieve extra functionality? Would this be the kind of thing that could be used by various NNTP servers regardless of "brand"? If I did make these kinds of configuration changes and want them distributed out to all the NNTP servers in my private network would all the servers need to be running the exact same software so that they could interpret the changed config files correctly? Thanks.
Re: newgroup paramaters
Author: Russ Allbery
Date: Wed, 17 Jan 2007 22:05
Date: Wed, 17 Jan 2007 22:05
28 lines
2557 bytes
2557 bytes
Grant Robertson <bogus@bogus.invalid> writes:
> I'm gathering that the current NNTP servers allow quite a high level of
> configuration even to the point of running separate code or scripts to
> achieve extra functionality?
INN does, which is most of what I'm talking about because that's the
server I know well. I'm not sure how much flexibility Diablo offers in
this area.
> Would this be the kind of thing that could be used by various NNTP
> servers regardless of "brand"? If I did make these kinds of
> configuration changes and want them distributed out to all the NNTP
> servers in my private network would all the servers need to be running
> the exact same software so that they could interpret the changed config
> files correctly?
Not the exact same software, but configuration files do differ between
different servers so they'd need to be running compatible software. INN
does change configuration file formats occasionally when there's a
pressing need, but we try to provide an upgrade script whenever that
happens.
--
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: newgroup paramaters
Author: Jeffrey M. Vinocur
Date: Thu, 18 Jan 2007 01:17
Date: Thu, 18 Jan 2007 01:17
55 lines
3392 bytes
3392 bytes
In article <MPG.20180d8cd7af35489896ef@news.newsguy.com>, Grant Robertson <bogus@bogus.invalid> wrote: > >> INN only allows authorized clients to send Approved headers, > >I guess my question is: How are they authorized? Do they have to log in >to the server using a password? Do they use secure password >authentication? You can require clients to identify themselves in a wide variety of ways before granting reader access; the ability to approve articles is restricted in exactly the same fashion. >Is PGP signature authentication of messages a standard feature of modern >NNTP server software? For control messages, probably (but not for cancel messages -- only for newgroup/rmgroup/etc). Otherwise no. >I ask all of this because of the NNTP network I am thinking of setting >up. I will need to ensure that all servers be able to uniquely identify >the senders of messages and prevent unauthorized users from posting >messages. Well, if you control -all- of the servers, you have some flexibility here. You can use the kind of controls mentioned above to restrict client access, so that no articles enter the network except as you specify. Then each server can trust the other servers to have done appropriate authorization. Specifically for INN, you can turn on "nnrpdauthsender" (in inn.conf), which means that every posted article will have a Sender: header that identifies the user as authenticated to the server receiving the post. If all of your servers do appropriate authentication, and only trade posts with each other, then you could rely on this header to indicate the originating user. >There will also be special messages that I need to ensure came >from specially authorized individuals - like managers - and I was >thinking of using PGP for that. Well, PGP is an end-to-end solution that would give you very strong guarantees about your messages, but will be a fair amount of work to set up. If you already are going to have good authentication for clients, and strong links between servers (which it sounds like you will), the above approach may be a much easier way to get essentially the same effect. -- Jeffrey M. Vinocur jeff@litech.org
Re: newgroup paramaters
Author: Jeffrey M. Vinocur
Date: Thu, 18 Jan 2007 01:21
Date: Thu, 18 Jan 2007 01:21
30 lines
2271 bytes
2271 bytes
In article <MPG.201857d4b36f3fae9896f0@news.newsguy.com>, Grant Robertson <bogus@bogus.invalid> wrote: > >I'm gathering that the current NNTP servers allow quite a high level of >configuration even to the point of running separate code or scripts to >achieve extra functionality? Unfortunately Russ & I only know INN, so we're not going to be very helpful with comparative stuff. INN has a bunch of hooks for different customization aspects, and of course it is open source, so you can in the end do whatever you want to make it fit your needs. >Would this be the kind of thing that could >be used by various NNTP servers regardless of "brand"? Certainly there's a lot of variability between servers on the configuration side, and I suspect it would be a ton of extra work to mix different server software in a custom application like you describe. On the other hand, Cleanfeed (a popular filtering plugin) does run on several different servers, which suggests there is at least the possibility of having "brand"-independent custom code. -- Jeffrey M. Vinocur jeff@litech.org
Re: newgroup paramaters
Author: Grant Robertson
Date: Thu, 18 Jan 2007 03:18
Date: Thu, 18 Jan 2007 03:18
4 lines
1183 bytes
1183 bytes
I just wanted to thank everyone for all their in-depth assistance and apologize to Tim for hyjacking his thread. I hope you learned something too. It looks as if I am going to need to really delve into the INN documentation now.
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