Thread View: news.software.nntp
16 messages
16 total messages
Started by Peter Alfredsen
Sun, 02 Sep 2001 20:02
Mode cancel
Author: Peter Alfredsen
Date: Sun, 02 Sep 2001 20:02
Date: Sun, 02 Sep 2001 20:02
23 lines
1370 bytes
1370 bytes
Hi, I was wondering whether there is any good documentation for the INN 2.4+ command MODE CANCEL. What I've been able to tell, so far, is that it looks somewhat like this: (C=client, S=Server) ,---- [ Protocoll ] | C: MODE CANCEL | S: 284 OK Send your Cancels | C: <mid1> | S: 289 OK Canceled | C: <mid2> | S: 484 NO, not canceled | [...] `---- Is this correct? How about end-of-command dots? -- Peter Alfredsen (peteralf@fabel.dk) "Human salvation lies in the hands of the creatively maladjusted." -- Martin Luther King, Jr.
Re: Mode cancel
Author: Marco d'Itri
Date: Sun, 02 Sep 2001 22:52
Date: Sun, 02 Sep 2001 22:52
12 lines
1448 bytes
1448 bytes
20010902220218.news.software.nntp@peteralf.clara.co.uk wrote: >I was wondering whether there is any good documentation for the INN 2.4+ >command MODE CANCEL. What I've been able to tell, so far, is that it Look at http://www.bofh.it/~md/nocem-perl, I'm using it since a few months and looks like it works well. -- ciao, | Marco | * The Internet is full. Go away. -- Joel Furr *
Re: Mode cancel
Author: Peter Alfredsen
Date: Mon, 03 Sep 2001 14:21
Date: Mon, 03 Sep 2001 14:21
20 lines
1849 bytes
1849 bytes
On 3 Sep 2001 00:52:11 +0200, Marco d'Itri <abuse@1.2.0.1.0.0.1.e.f.f.3.ip6.int> wrote: >20010902220218.news.software.nntp@peteralf.clara.co.uk wrote: > >>I was wondering whether there is any good documentation for the INN 2.4+ >>command MODE CANCEL. What I've been able to tell, so far, is that it >Look at http://www.bofh.it/~md/nocem-perl, I'm using it since a few >months and looks like it works well. I was thinking more along the lines of what responses/errorcodes it sends and recognizes, the general syntax. It is for incorporation into the local newsserver Hamster for windows. Most other commands have a good documentation in the various RFCs, but this one seems to be an extension to the regular NNTP protocol. -- Peter Alfredsen (peteralf@fabel.dk) People who think Windows is the slickest thing since sliced butter should be forced to wear a sign stating "This mind intentionally left blank."
Re: Mode cancel
Author: Joe Greco
Date: Tue, 04 Sep 2001 03:54
Date: Tue, 04 Sep 2001 03:54
25 lines
1867 bytes
1867 bytes
In news.software.nntp article <4a7c960811781454324e546c13b79f2d@peter.alfredsen.dq>, Peter Alfredsen <20010902220218.news.software.nntp@peteralf.clara.co.uk> wrote: :Hi, :I was wondering whether there is any good documentation for the INN 2.4+ :command MODE CANCEL. What I've been able to tell, so far, is that it :looks somewhat like this: : :(C=client, S=Server) : : ,---- [ Protocoll ] :| C: MODE CANCEL :| S: 284 OK Send your Cancels :| C: <mid1> :| S: 289 OK Canceled :| C: <mid2> :| S: 484 NO, not canceled :| [...] : `---- What a shame. Good idea (I suggested it some years ago) but horrible implementation. In particular, for servers that need to know the group in which a Message-ID is, this is completely useless. Not every reader system keeps a history. ... JG
Re: Mode cancel
Author: Russ Allbery
Date: Tue, 04 Sep 2001 08:44
Date: Tue, 04 Sep 2001 08:44
20 lines
1738 bytes
1738 bytes
Joe Greco <jgreco@ns.sol.net> writes:
> What a shame. Good idea (I suggested it some years ago) but horrible
> implementation. In particular, for servers that need to know the group
> in which a Message-ID is, this is completely useless. Not every reader
> system keeps a history.
The current implementation is undocumented for a reason. At the moment, I
consider it to be an internal API.
If you have a better proposal, I'm all ears, and it's easy to change the
code. (But don't *require* that the newsgroup be present; one may not
always have it.)
--
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: Mode cancel
Author: Heiko Studt
Date: Mon, 10 Sep 2001 22:20
Date: Mon, 10 Sep 2001 22:20
22 lines
1888 bytes
1888 bytes
Hi, Das ward von Russ Allbery geschrieben: > > What a shame. Good idea (I suggested it some years ago) but horrible > The current implementation is undocumented for a reason. At the moment, I > consider it to be an internal API. What does it mean for the general responses/handlings? > If you have a better proposal, I'm all ears, and it's easy to change the > code. (But don't *require* that the newsgroup be present; one may not > always have it.) Can you please tell me when you're ready with the command, so I can implement it in Hamster as well? TIA At the moment the only thing I've to know is, how should the client end the mode cancel? With a single "."? Which response-code should Hamster tell him? MFG, THX Peter
Re: Mode cancel
Author: Russ Allbery
Date: Mon, 10 Sep 2001 23:04
Date: Mon, 10 Sep 2001 23:04
29 lines
2087 bytes
2087 bytes
Heiko Studt <Heiko.Studt@gmx.de> writes:
> Das ward von Russ Allbery geschrieben:
>> The current implementation is undocumented for a reason. At the
>> moment, I consider it to be an internal API.
> What does it mean for the general responses/handlings?
It means it's probably going to change. It should really use numeric
return codes just like other NNTP commands, but support streaming.
> Can you please tell me when you're ready with the command, so I can
> implement it in Hamster as well?
Once we have a good specification, it should be written up as an I-D so
that there's some reference for other implementors to work against. It
should also be advertised as an NNTP extension.
> At the moment the only thing I've to know is, how should the client end
> the mode cancel?
It closes the connection.
--
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: Mode cancel
Author: Heiko Studt
Date: Tue, 11 Sep 2001 05:44
Date: Tue, 11 Sep 2001 05:44
41 lines
2407 bytes
2407 bytes
Das ward von Russ Allbery geschrieben: > > What does it mean for the general responses/handlings? > It means it's probably going to change. It should really use numeric > return codes just like other NNTP commands, but support streaming. There are allready numeric responses, aren't? MODE CANCEL 284 OK! <mid> 289 Deleted <mid2> 484 Not deleted! [My Proposal:] .. 2xx You're in normal Mode! > > Can you please tell me when you're ready with the command, so I can > > implement it in Hamster as well? > Once we have a good specification, it should be written up as an I-D so > that there's some reference for other implementors to work against. It > should also be advertised as an NNTP extension. Where can I find those I-Ds? Sorry, I didn't follow the inn-development yet. > > At the moment the only thing I've to know is, how should the client end > > the mode cancel? > It closes the connection. IMO that's very bad. In streaming it can also change it's mode again. BTW: The client have to *terminate* the connection, not only close it by "QUIT", haven't it? How about the "normal" end up with "." + CRLF? MFG
Re: Mode cancel
Author: Jeffrey M. Vinocur
Date: Tue, 11 Sep 2001 12:44
Date: Tue, 11 Sep 2001 12:44
13 lines
1312 bytes
1312 bytes
In article <MPG.1607c34943635867989715@192.168.1.3>, Heiko Studt <Heiko.Studt@gmx.de> wrote: > >Where can I find those I-Ds? Internet Drafts. http://www.ietf.org/ID.html -- Jeffrey M. Vinocur jeff@litech.org
Re: Mode cancel
Author: Curt Welch
Date: Tue, 11 Sep 2001 19:33
Date: Tue, 11 Sep 2001 19:33
34 lines
2513 bytes
2513 bytes
Heiko Studt <Heiko.Studt@gmx.de> wrote: > Das ward von Russ Allbery geschrieben: > > > > What does it mean for the general responses/handlings? > > It means it's probably going to change. It should really use numeric > > return codes just like other NNTP commands, but support streaming. > > There are allready numeric responses, aren't? > MODE CANCEL > 284 OK! > <mid> > 289 Deleted > <mid2> > 484 Not deleted! > > [My Proposal:] > . > 2xx You're in normal Mode! This whole "MODE CANCEL" idea has got to be the stupiest thing I've ever heard of. You don't need a mode to make streaming work. It already works with NNTP and any server that doesn't support it is broken. If you want a cancel command, just make it "CANCEL <mid>". I added that command to my server a few years back. My command returned 200 if the cancel worked and 400 if it failed. It's a trivial command to add and there's no reason at all to support any strange form of modes. The people that do that are the ones that just don't understand how TCP and NNTP works. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Mode cancel
Author: J.B. Moreno
Date: Tue, 11 Sep 2001 20:30
Date: Tue, 11 Sep 2001 20:30
37 lines
2382 bytes
2382 bytes
In article <20010911153303.155$lZ@newsreader.com>, Curt Welch <curt@kcwc.com> wrote: > Heiko Studt <Heiko.Studt@gmx.de> wrote: > > Das ward von Russ Allbery geschrieben: > > > > > > What does it mean for the general responses/handlings? > > > It means it's probably going to change. It should really use numeric > > > return codes just like other NNTP commands, but support streaming. > > > > There are allready numeric responses, aren't? > > MODE CANCEL > > 284 OK! > > <mid> > > 289 Deleted > > <mid2> > > 484 Not deleted! > > > > [My Proposal:] > > . > > 2xx You're in normal Mode! > > This whole "MODE CANCEL" idea has got to be the stupiest thing I've ever > heard of. You don't need a mode to make streaming work. It already works > with NNTP and any server that doesn't support it is broken. I haven't read everything about it, but from what I have: exactly. > If you want a cancel command, just make it "CANCEL <mid>". I added that > command to my server a few years back. That might be useful, I assume it only works with trusted peers or your users for their own articles? -- J.B. Moreno
Re: Mode cancel
Author: Curt Welch
Date: Tue, 11 Sep 2001 22:18
Date: Tue, 11 Sep 2001 22:18
14 lines
1887 bytes
1887 bytes
"J.B. Moreno" <planb@newsreaders.com> wrote: > > If you want a cancel command, just make it "CANCEL <mid>". I added > > that command to my server a few years back. > > That might be useful, I assume it only works with trusted peers or > your users for their own articles? It's a special admin-only type of command. Normaly users don't get access to it. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Mode cancel
Author: Russ Allbery
Date: Tue, 11 Sep 2001 23:15
Date: Tue, 11 Sep 2001 23:15
23 lines
2109 bytes
2109 bytes
Curt Welch <curt@kcwc.com> writes:
> This whole "MODE CANCEL" idea has got to be the stupiest thing I've ever
> heard of. You don't need a mode to make streaming work. It already
> works with NNTP and any server that doesn't support it is broken.
The key point is that you don't want to transit articles or send more than
the absolute minimal amount of data to the server, because you want it to
be lightweight. Right now, it's only used as a method for deleting
articles used by external scripts, such as a NoCeM implementation running
on the same system. It's not exposed to the network. So don't criticize
too much yet. :)
> If you want a cancel command, just make it "CANCEL <mid>".
That's probably a good idea.
--
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: Mode cancel
Author: Heiko Studt
Date: Wed, 12 Sep 2001 17:39
Date: Wed, 12 Sep 2001 17:39
48 lines
2539 bytes
2539 bytes
Das ward von Curt Welch geschrieben: > This whole "MODE CANCEL" idea has got to be the stupiest thing I've ever > If you want a cancel command, just make it "CANCEL <mid>". I added that That was my first idea, too. But as far as the "MODE CANCEL" was implemented in INN first, I had oriented to it. If someone gives me a description how to use it, I can implement it into my own Hamster-Version... My idea: --- BTW: I don't really know, but perhaps we (server-programmer) could implement a new command "CANCEL", which the servers can submit to each other. The Message-ID should be crypt by the standard methods. ,---- [ little brainstorm ] | C: CAPA | S: 200 | S: CANCEL | [...] | C: IHAVE <mid1> | [...] | C: CANCEL CRYPT <crypt-methode> | S: 200 I understand this methode | C: CANCEL KEY <crypt-key> | S: 200 This key can be validated | C: CANCEL MID <crypt.mid1> <mid> | S: 200 This MID is deleted in my database. | | or | S: 401 Sorry, the MID couldn't be validated | or | S: 402 Sorry, MID couldn't be found | or | S: 403 Internal error or sth. like that -- try again later | or | S: 409 All other errors, I know. Please try *NOT* again! `---- --- MFG
Re: Mode cancel
Author: Curt Welch
Date: Wed, 12 Sep 2001 21:57
Date: Wed, 12 Sep 2001 21:57
33 lines
2599 bytes
2599 bytes
Heiko Studt <Heiko.Studt@gmx.de> wrote: > Das ward von Curt Welch geschrieben: > > > This whole "MODE CANCEL" idea has got to be the stupiest thing I've > > ever > > > If you want a cancel command, just make it "CANCEL <mid>". I added > > that > > That was my first idea, too. > But as far as the "MODE CANCEL" was implemented in INN first, I had > oriented to it. > > If someone gives me a description how to use it, I can implement it into > my own Hamster-Version... > > My idea: > --- > BTW: I don't really know, but perhaps we (server-programmer) could > implement a new command "CANCEL", which the servers can submit to each > other. The Message-ID should be crypt by the standard methods. But why would they send cancel commands to each other? Cancel messages already work fine. Long ago the idea of setting up an out-of-band channel for very quickly distributing pre-cancel information was talked about which ended up with the definition of the FILTER command. I haven't heard of anyone who actaully put that idea into use even though it seems to be implemented in some form in the highwind products. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Mode cancel
Author: Heiko Studt
Date: Thu, 13 Sep 2001 05:24
Date: Thu, 13 Sep 2001 05:24
31 lines
2785 bytes
2785 bytes
Das ward von Curt Welch geschrieben: > > BTW: I don't really know, but perhaps we (server-programmer) could > > implement a new command "CANCEL", which the servers can submit to each > > other. The Message-ID should be crypt by the standard methods. > But why would they send cancel commands to each other? Cancel messages > already work fine. Long ago the idea of setting up an out-of-band channel NoCeM and those PGP-Based scripts/procedures are CPU-intensive. There are people who needs 2/3 of their CPU-Speed for those Cancels. With those commands it should be easier to get it onto another computer. > for very quickly distributing pre-cancel information was talked about which > ended up with the definition of the FILTER command. I haven't heard of Where is it defined? > anyone who actaully put that idea into use even though it seems to be > implemented in some form in the highwind products. Today modt of the bandwidth at Cancels goes into the articles themself. If the "big" servers would peer MODE CANCEL et al, they could be even smaller and the bandwidth should be smaller. 2000-3000 Cancels are "normal". That should take 2000 * 2000 bytes less: 2MB per *day*. 'Cause also those servers cannot be trusted every time, the command should be implemented with encrypt/etc. MFG, HTH
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