Article View: news.software.nntp
Article #57219Re: Cancelling usenet messages in a reliable way (a proposal)
From: Alex Birj
Date: Thu, 14 Mar 2002 05:16
Date: Thu, 14 Mar 2002 05:16
184 lines
9448 bytes
9448 bytes
Corrections: should be message-id+padding and not padding+message-id, since in the latter case we would have the same MD5 when hash comes to message-id (padding should be some predefined random data of sufficient length - at least 16 bytes, maybe 24 or 32). instead of where key=RC5(MD5(function2(message-id))) with 16 byte "password" should be where key=RC5(MD5(function2(message-id))) (RC5 is invoked with the 16 byte "password" as the encryption key). function1 is message-id+padding1 function2 is message-id+padding2 Alex Birj <alexande_nospam@tx.technion.ac.il> wrote: >I'll reply to both Juergen's and your message. > >Combining 16 byte password (random data) with the message-id would work too, >it >looks better since we don't need to keep keys for all messages, MD5 hash is >only 16 bytes, 22 byte base64 header. But we have a problem here: > >http://www.rsasecurity.com/rsalabs/faq/3-6-6.html > >"Van Oorschot and Wiener [VW94] have considered a brute-force search for >collisions (see Question 2.1.6) in hash functions, and they estimate a >collision search machine designed specifically for MD5 (costing $10 million in > >1994) could find a collision for MD5 in 24 days on average. The general >techniques can be applied to other hash functions." > >Not so good if it is applicable to our case (I don't know for sure but it >looks >so, we just need a collision). > >If it is a problem maybe to have a 16 byte password, to generate MD5 from the >padding+message-id and encrypt it with the password to get the symmetric key - > >likewise any other safe method can be used to prevent keeping keys for every >message, in this scheme password won't be compromised through MD5 and will be >isolated through encryption. > >The symmetric key will be used like I described earlier, and as the text to >use >MD5 from another padding+message-id, so we end with 16 bytes but then we >should >break 128 bit cipher and not just to find a collision. > >Then we have both advantages - computing text from the message id - not >keeping >it in the Cancel-ID headers and not keeping the key for every message. > >It all should be checked, but now for me it looks safe. > >So now we add in the message headers: > >Cancel-ID: Base64(ciphertext) > >where text=MD5(function1(message-id)) > >and in the control cancel: > >Cancel-Key: Base64(key) > >where key=RC5(MD5(function2(message-id))) with 16 byte "password" > >Compatibility with the current state of things: > >I don't want to change anything in the current system, just to use it as an >additional option by including one more header among article headers, if the >header is not included - all remains like it is now, if it is included - the >'strict' server will accept the article (since it doesn't accept cancels >anyway), but then if there is a cancel it will delete the article, so >bandwidth >won't be affected comparing to the current state of things, but if option >would >become common probably something could be added to save bandwidth and reject >it >on the negotiation stage. > >So to cancel a message we send a usual control cancel message just we >optionally add one more header for servers that understand it. > >Also no change in newsreader software is required since the feature is >optional, but I guess if the option will be implemented in servers newsreaders > >will include it. > >The option would be especially valuable for the text newsgroups, since >deleting >is very basic function. > >Then there will be no reason why such cancels won't be honored, for now the >motivation for not respecting cancels is like that (teranews): > >"Why can't I cancel a message I posted? >There is no real way to delete something from Usenet once it has been posted. >From the moment you posted your articles it was transferred to our peering >machine and propagated to 40 other servers. Each one of these servers did the >same thing and within 60 seconds your article had been stored on 10,000 news >servers around the world. Some servers allow what is called a cancel message. >It's a message that requests that a certain article be removed. This cancel >message has to propagate just like the original message. It idea is that it >will follow the same paths as the original message. Our server, as do many >others, does not accept cancel messages due to the huge amount of abuse caused > >by these. Had we accepted the cancel message your posting would have only been > >deleted on our server and other servers that accept cancel messages. Your >message would still have still been available on many other servers. Cancel >messages are a waste of resources due to the high amount of abuse (anyone can >cancel any post) and the low amount of effectiveness. We will never support >cancel messages." > >curt@kcwc.com (Curt Welch) wrote: >>Alex Birj <alexande_nospam@tx.technion.ac.il> wrote: >>> Some considerations about cancelling Usenet messages: >>> >>> I think Usenet need simple mechanism to support verifyable cancels that >>> will force servers to cancel messages, I have a simple solution (should >>> be supported on the server side) that will be achieved by adding a >>> relatively short header field using symmetric cipher. Currently many >>> servers don't support cancels because of possible forged cancels. >> >>Your system is one of many variations all called "Cancel Locks". These >>systems have been debated for at least 10 years now and I believe have >>even made it into the code of some servers and some newsreaders. Search >>for it on Google. >> >>You don't need to use encryption. Any strong hash like MD5 will >>work fine. When the article is posted, a key is generated. The MD5 of >>of the key is calculated and included as the cancel lock on the article. >>To get servers to cancel the article, you simply send the key along with >>the cancel. If the md5 of the key matches the lock, then the server will >>cancel the article. >> >>To prevent having to store keys for all your articles, you can use a simple >>password combined with the message ID. calculate an MD5 of your password >>combined with the message-ID and use that as the key. Run that through MD5 >>again to create the cancel lock. To cancel any of your articles in the >>future, all you have to know is your password and the message-id of the >>article. >> >>Some people didn't like the idea because they said it would stop other >>people from canceling the article - like the admin of the server it came >>from, or a copyright holder when copyrighted material was illegally posted, >>or the moderator of a group. A spammer for example could make up a random >>cancel-lock to prevent anyone from canceling it. >> >>The admin problem however can be solved by having the posting server add a >>second cancel lock and defining the algorithm to work in a way which will >>allow a cancel when a key is provided for any of the locks. >> >>Servers get bit complex as well. Not only do they need the cancel lock >>code (which is simple and straight forward), but when they receive a cancel >>for an article which does not exist on the server, it has to save the >>cancel information and wait for the article to show up to see if it is >>locked. This is something unlike anything the servers currently have to >>do. And it means that pre-cancles with cancle-locks don't prevent you from >>having to receive the article. So you are forced to waste the bandwidth to >>get the article and then just throw it away. >> >>Of course now, becuase people didn't like cancel locks, we have a world >>were all cancels are mostly broken and not even the author of the article >>has the power to cancel it anymore. >> >>Mostly however, I think people just don't see the need to cancel an article >>as being that important. If you think you might want to cancel your >>article, you should never have posted it on Usenet in the first place. Or >>at least I think that's what people end up thinking and why cancel-locks >>have not become a widely adopted standard. >> >>-- >>Curt Welch http://CurtWelch.Com/ >>curt@kcwc.com Webmaster for http://NewsReader.Com/ >
Technical Details
Message-ID:
<2nWj8.913$sk1.152787@news.uswest.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.visi.com!hermes.visi.com!feed.news.qwest.net!news.uswest.net.POSTED!not-for-mailReferences:
<MQFj8.183836$a_1.18013001@amsnews03.chello.com> <20020313095339.070$Re@newsreader.com> <4oLj8.12$sk1.35910@news.uswest.net>Show Full Headers
Complete Article Headers
Message-ID: <2nWj8.913$sk1.152787@news.uswest.net> Subject: Re: Cancelling usenet messages in a reliable way (a proposal) Date: Thu, 14 Mar 2002 05:16:46 GMT From: Alex Birj <alexande_nospam@tx.technion.ac.il> References: <MQFj8.183836$a_1.18013001@amsnews03.chello.com> <20020313095339.070$Re@newsreader.com> <4oLj8.12$sk1.35910@news.uswest.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.visi.com!hermes.visi.com!feed.news.qwest.net!news.uswest.net.POSTED!not-for-mail Newsgroups: news.software.readers,news.software.nntp Lines: 183 NNTP-Posting-Host: 216.207.251.2 X-Trace: news.uswest.net 1016083006 216.207.251.2 (Wed, 13 Mar 2002 23:16:46 CST) NNTP-Posting-Date: Wed, 13 Mar 2002 23:16:46 CST