Proposed patch: cancel channel
Russ Allbery
rra at stanford.edu
Wed Apr 12 20:19:28 UTC 2000
Matus \"fantomas\" Uhlar <uhlar at fantomas.sk> writes:
> -> > The idea is that for sending local cancels in bulk, the NNTP
> -> > (unix-domain) socket is used. The client connects, sends the new
> -> > command MODE CANCEL, waits for response (new code 284) and after
> -> > that it simply sends all Message-IDs it wants to be cancelled. For
> -> > each one it gets a response code 289 for success and 484 for
> -> > failure. Other than the command protocol, this works exactly like
> -> > "ctlinnd cancel". On a TCP/IP socket, the MODE CANCEL command is
> -> > refused, so only locally installed programs under the news UID can
> -> > use it.
> can't this be done already by connecting innd socket ?
ctlinnd cancel, you mean? Yes, but the advantage of the above protocol
over that (apart from the fact that anything that goes through ctlinnd has
too much of a setup and teardown overhead since it requires creating
temporary sockets) is that down the road we can add a key to incoming.conf
that allows remote systems to use MODE CANCEL. And then we're much closer
to an effective distributed filtering system that doesn't have the
authorization problems that cancels do....
This was a proposal (I think of Joe Greco's, and probably other people as
well) a while back.
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
More information about the inn-workers
mailing list