Thread View: news.software.nntp
7 messages
7 total messages
Started by Nils O. Selåsdal
Tue, 18 Sep 2001 08:40
Message-ID header ?
Author: Nils O. Selåsdal
Date: Tue, 18 Sep 2001 08:40
Date: Tue, 18 Sep 2001 08:40
4 lines
997 bytes
997 bytes
Do nntp servers in general add their own Message-Id header, or do they use the one from the client(if it sent one) ?
Re: Message-ID header ?
Author: Curt Welch
Date: Tue, 18 Sep 2001 12:25
Date: Tue, 18 Sep 2001 12:25
12 lines
1509 bytes
1509 bytes
noselasd@frisurf.no (Nils O. Sel�sdal) wrote: > Do nntp servers in general add their own Message-Id header, > or do they use the one from the client(if it sent one) ? Most will use the one sent by the client. But all will add the header if the client doesn't send it. A few servers however will not use the one sent by the client. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Message-ID header ?
Author: Jøhnny Fävòrítê (it means "techn...
Date: Tue, 18 Sep 2001 12:53
Date: Tue, 18 Sep 2001 12:53
16 lines
1806 bytes
1806 bytes
Nils O. Sel�sdal wrote: > Do nntp servers in general add their own Message-Id header, > or do they use the one from the client(if it sent one) ? If the client sent one, they will use it. If not, they will generate one of their own. Personally I am in the "client should generate it" camp. Think how many thousands of times you've seen somebody post the same message four or five times in a row. It's not just newbies this happens to. If the client generates a message-ID to go with the body then the second time a user tried to post it the server would reject it for being a duplicate. My newsreader generates its own message-IDs and none of my users has EVER posted the same message more than once.
Re: Message-ID header ?
Author: Curt Welch
Date: Tue, 18 Sep 2001 14:18
Date: Tue, 18 Sep 2001 14:18
44 lines
3057 bytes
3057 bytes
J�hnny_F�v�r�t�_(it_means_"techno-shaman_screensaver") <allen@snakebite.com> wrote: > Nils O. Sel�sdal wrote: > > Do nntp servers in general add their own Message-Id header, > > or do they use the one from the client(if it sent one) ? > > If the client sent one, they will use it. That's not true for all servers. There are a few servers which will ingore the message-ID sent by the client and overwrite it with their own. I belive the airnews server is one such example. > If not, they will generate > one of their own. > > Personally I am in the "client should generate it" camp. Think how many > thousands of times you've seen somebody post the same message four or > five times in a row. It's not just newbies this happens to. If the > client generates a message-ID to go with the body then the second time a > user tried to post it the server would reject it for being a duplicate. A newsreader that allows users to post the same message multiple times is broken. Period. And it has nothing to do with client vs server Message-ID generation. If the newsreader is assuming the server will prevent duplicate posts just because the newsreader generates the message-id, then it's broken. A newsreader like that will allow duplicate posts when used with a news server that overwrites Message-IDs. Newsreaders should not pass the job of preventing duplicate posts to the news server. It should have systems in place to preven duplicate posts no matter what the news server does. > My newsreader generates its own message-IDs and none of my users has > EVER posted the same message more than once. And just how sure are you about that now that you know there are some servers which overwrite the Message-ID? -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Message-ID header ?
Author: Russ Allbery
Date: Tue, 18 Sep 2001 19:10
Date: Tue, 18 Sep 2001 19:10
15 lines
1587 bytes
1587 bytes
Curt Welch <curt@kcwc.com> writes:
> That's not true for all servers. There are a few servers which will
> ingore the message-ID sent by the client and overwrite it with their
> own. I belive the airnews server is one such example.
This behavior is explicitly outlawed in the USEFOR draft because it can
lead to loops and duplicate messages via reinjecting suck feeds.
--
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: Message-ID header ?
Author: Nils O. Selåsdal
Date: Wed, 19 Sep 2001 06:29
Date: Wed, 19 Sep 2001 06:29
21 lines
2115 bytes
2115 bytes
On Tue, 18 Sep 2001 05:53:42 -0700, J�hnny F�v�r�t� wrote: > Nils O. Sel�sdal wrote: >> Do nntp servers in general add their own Message-Id header, >> or do they use the one from the client(if it sent one) ? > > If the client sent one, they will use it. If not, they will generate > one of their own. > > Personally I am in the "client should generate it" camp. Think how many > thousands of times you've seen somebody post the same message four or > five times in a row. It's not just newbies this happens to. If the > client generates a message-ID to go with the body then the second time a > user tried to post it the server would reject it for being a duplicate. > > 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?
Re: Message-ID header ?
Author: 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/
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