Thread View: news.software.nntp
3 messages
3 total messages
Started by Philip Hallstrom
Wed, 29 Jul 1998 00:00
Customizing Control "cancel" in inn2.0?
Author: Philip Hallstrom
Date: Wed, 29 Jul 1998 00:00
Date: Wed, 29 Jul 1998 00:00
33 lines
1909 bytes
1909 bytes
Hi - I'm relativly new to inn, but managed to get the thing installed and working. I only host local groups. I don't receive feeds, nor send them. I would like to let several approved users cancel anyone's message via the "Control: cancel...." header, but no one else. It doesn't seem like this is possible. If cancel was an option in control.ctl it might have been, but I read that it was removed for speed. I'm not that concerned with speed as I've don't have that much traffic, and I'm not expecting to get many cancel messages. Has anyone modified inn to allow this sort of thing? I'd like to be able to put the following in control.ctl: cancel:joe.user@domain.com:*:doit cancel:joe.bob@domain.com:*:doit cancel:billy.bob@domain.com:*:doit cancel:billy.joe@domain.com:*:doit If no one has done this, does anyone have any idea how hard it would be to modify the source to make this happen? I briefly looked at art.c, but my C is pretty rusty. Any and all help is greatly appreciated. Thanks -philip -- Philip Hallstrom philip.hallstrom@cendantsoft.com 425.649.9800 x5738
Re: Customizing Control "cancel" in inn2.0?
Author: Grigori Vulis
Date: Wed, 29 Jul 1998 00:00
Date: Wed, 29 Jul 1998 00:00
24 lines
1610 bytes
1610 bytes
Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote: > >>>>> "Philip" == Philip Hallstrom <philip.hallstrom@cendantsoft.com> writes: > > Philip> I would like to let several approved users cancel > Philip> anyone's message via the "Control: cancel...." header, but no > Philip> one else. > > How are you going to authenticate that the approved user is really who > they say they are? There is no provision for this. (assuming INN 2.x) If it's all going to run on a private server, require authinfo (at least for approved cancellers) and slighty rework the Sender: stuff in post.c so that nnrpd always rewrites it to be PERMuser (as shipped, it will allow a user-supplied sender with authinfo). Then, hack ARTcancelverify to check Sender: (but _not_ From:) against a list of approved cancellers instead of the original article's sender/from. This will break if the server is peered with the outside world in the future, but hey, he promised he wouldn't do that =)
Re: Customizing Control "cancel" in inn2.0?
Author: Andrew Gierth
Date: Thu, 30 Jul 1998 00:00
Date: Thu, 30 Jul 1998 00:00
13 lines
1177 bytes
1177 bytes
>>>>> "Philip" == Philip Hallstrom <philip.hallstrom@cendantsoft.com> writes: Philip> I would like to let several approved users cancel Philip> anyone's message via the "Control: cancel...." header, but no Philip> one else. How are you going to authenticate that the approved user is really who they say they are? There is no provision for this. -- Andrew.
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