Article View: news.software.nntp
Article #54283Re: Message-ID header ?
From: Curt Welch
Date: Wed, 19 Sep 2001 13:52
Date: Wed, 19 Sep 2001 13:52
56 lines
3918 bytes
3918 bytes
noselasd@frisurf.no (Nils O. Sel�sdal) wrote: > On Tue, 18 Sep 2001 05:53:42 -0700, J�hnny F�v�r�t� wrote: > > Nils O. Sel�sdal wrote: > > My newsreader generates its own message-IDs and none of my users has > > EVER posted the same message more than once. > So what happens when user John Nice post a message to server A > and John Hacker posts a message to server B, predicting the message > IDs that the other John generates? And A and B are to exchenge news? Are you trying to make a point or are you really asking the question? The answer is that no server will get copies of both messages. All servers on Usenet will end up with one message or the other, but not both. If the hacker message is posted before the Nice message, then the hacker message prevents the Nice message from being posted. The user will simply get an error when he tries to post. Some news readers will probably let the user re-post the same message again with a different ID. Others will probaly end up forcing the user to re-create the message from scratch and try again. This is an issue for all messages no matter who is generating the Message-ID. News servers however do have the advantage of being able to check the validity of the ID and generate one that it knows is not currently in use. I'm not sure however how many news servers actually have code to check that. It's very likely that many news servers generate the ID without checking, and if a conflict shows up later, the post is just rejected. But this problem is easilly dealt with. Most Message-IDs include a time stamp down to at least the 1 second level, and sometimes down to millisecond or better leveles. Then on top of that, they add many bits of random data. For a hacker to predict the ID, they have to guess when the article will be posted, and what the random bits will be. To block all possible posts withing say a 5 minute window, they can simply generate articles with all possible Message-IDs. But with a millisecond timestamp, and 10 bits of random data, that means the Hacker has to generate 2^10 * 1000 * 5 * 60 or 307200000 articles in order to simply cause one user to get an error when they post their message in that single 5 minute window. Flooding usenet with millions of bogus articles is something that gets spotted and cut off very quickly. If you don't generate message-ids correctly, then DOS attacks by predicting Messages-IDs can be a problem. But if you generate them correctly, then it's not a problem, so it makes no difference who (client or server) is generating the Message-ID. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20010919095239.315$QX@newsreader.com>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!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!portc03.blue.aol.com!feed1.newsreader.com!feed2.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<gMDp7.19226$1T5.225265@news1.oke.nextra.no> <PM00038E3D02DCF901@minion.pacbell.net> <CXWp7.20080$1T5.238133@news1.oke.nextra.no>Show Full Headers
Complete Article Headers
Message-ID: <20010919095239.315$QX@newsreader.com>
Subject: Re: Message-ID header ?
Date: Wed, 19 Sep 2001 13:52:39 +0000
From: curt@kcwc.com (Curt Welch)
References: <gMDp7.19226$1T5.225265@news1.oke.nextra.no> <PM00038E3D02DCF901@minion.pacbell.net> <CXWp7.20080$1T5.238133@news1.oke.nextra.no>
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!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!portc03.blue.aol.com!feed1.newsreader.com!feed2.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com O.P,tl.EjF=F+rJNfyqa07Td033/ovnrGaLiFW9EDsd@YN
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
%IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 55