Article View: alt.free.newsservers
Article #124510Re: More microsoft usenet spam (another proposed filtering rule)
From: Matija Nalis
Date: Mon, 01 Mar 2010 14:20
Date: Mon, 01 Mar 2010 14:20
129 lines
8204 bytes
8204 bytes
On 2010-02-27, Frank Slootweg <this@ddress.is.invalid> wrote: > Matija Nalis <mnalis-news@voyager.hr> wrote: > [...] > >> situation (1): >> there is finite number of hosts 's', each completely independently >> generating the random numbers of fixed lengths of 'b' bits. > > [More of the same deleted.] > > All your four situations talk about generating random numbers. However > the issue is not about generating *random* numbers, but about generating > *unique* 'numbers'. A MID neither does not have to be, nor is, *random*, This is not correct, please reread my post. In (4) I explicitly said it does NOT use random numbers (as first three), but some non-random algorithm that produces uniqueness. > it has to be, and is, *unique*. Random was mentioned as an algorithm that does the most random distribution, and as such gives you "average" collision probability, yes. It is not required for understanding the problem, you could use any other algorithm with pretty much the same results. As host A and host B and all the hosts up to 's'-th (as specified in examples) has no knowledge of what the other host will do (ie. the internal state of their algorithm), *whatever* the algorithm you choose, they *will* have a chance of collisions. It is mathematically impossible to design such algorithm that will have no collisions unless hosts have internal knowledge of each other state (which they, in NNTP/Usenet news world, they do NOT have). To analyze: Suppose you have 's' systems, and each system does not know the value of 's'. Each generates (using whatever algorithm you want) a number that is supposed to be unique across all systems, in a space of limited length of 'b' bits. To be able to do that, it has at least have knowledge of what the other hosts will use, so it can avoid using that combinations. And for that, it *MUST* know exactly the number of 's', and furthermore *MUST* know exactly what IDs used to seed the algorithm have been used so far. So if you assume all hosts will generate the unique numbers at same speed, each will have at most 2^b/s combinations available. And as even the 's' (and much less the exact IDs used so far!) is unknown to the any NNTP system, it is simply mathematically not possible to produce algorithm that will avoid collisions without that information. And as current Usenet systems using NNTP are not able to exchange that information about all host IDs, LHS-only uniqueness is not possible, you absolutely *require* knowledge of *all* existing hosts IDs (commonly called RHS, although you could put it anywhere in MID) to be able to guarantee uniqueness. Without that knowledge, you can only depend on chance, and as that chance is non-zero (although it is small) - the collisions will happen eventually. The current system (RFC1036 for example) solves this mathematical problem in only way possible -- by *KNOWING* (*not* guessing) that his ID will NOT be used by any other system ! As clients/servers cannot not know that IDs over NNTP (it has no such feature), they simply delegate the hard work of getting unique IDs for his hosts to the DNS subsystem, requiring of *DNS* to make a *guarantee* that each host ID is unique. As DNS has shared central authority (the root servers), it can easily make such guarantee (and in fact does it every day for billions of times), and so can guarantee that each MID namespace given to some host will not be stomped upon the others adhering to same protocol (using DNS name as RHS, and thus giving unique context to play withing to each host). Alternatively, hosts could for example also use IPv4/IPv6 addressspace for RHS ID guarantee, as it also has central authorities (ARIN/RIPE/APNIC/...), but it is not what current RFCs say (and remember, the hosts must use same algorithm if they are to guarantee non-collisions). > As long as agents :-) and servers which generate MIDs, make sure that > the MIDs are unique within *their* context, the MIDs will be unique > world-wide and forever. Do you mean "RHS" by "their context" ? Because it is exactly what it is: RHS defines the context in which each client/server if free to manipulate LHS at will. If you do; than yes, that is exactly what I've been talking about. Of course you could integrate that context anywhere (including LHS), as long you require all hosts to adhere to such a standard (and current RFC standards says the "context" is put on RHS of "@"). > We have seen no proof whatsoever that there actually *are* agents/ > servers which have broken MID-generating algorithms. We've only seen Mr. > Stussy - implicitly - claim that it's impossible to generate unique LHSs It is impossible to guarantee uniqueness between different entities without having information about them. Imagine a group of 'n' people which have never met before (and do not even know how much of them there are), each thinking up a number between 1 and 1000 (or a gazillion billion). No matter what algorithm they use (shared or non-shared) on generating that number, there is a chance that two or more of them will think up the same number. Only way to *guarantee* that they will never be such a chance is for them to *know* exactly what numbers the other will generate, and not to use that numbers. For example, if n=10, they could draw an 'ID' from 0-9 for each person and agree beforehand that each will use only numbers starting with their ID... so person which got ID=6 would use only numbers from 600-699 and be safe in knowledge that whatever number they think up absolutely *MUST* (as it is mathematically proven) be different from any number any other person generates using the same algorithm. But to be able to do that, each person must have a knowledge of allowed values for him/her, which requires some shared central authority for individual person IDs. (in this case, the shared central authority was a hat with nine papers with number 0-9 on them; in NNTP case the shared central authority is DNS system which generates RHS). Without that knowledge, there *is* a non-zero chance the two or more people will get the same number; no matter what algorithm they use. > for fixed RHSs. I'm quite sure that actual algorithms are not influenced > by Mr. Stussy's opinion. They are, however, influenced by basic mathematics. -- Opinions above are GNU-copylefted.
Technical Details
Message-ID:
<slrnhonj8n.df4.mnalis-news@bukavac.carpriv.carnet.hr>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.CARNet.hr!not-for-mailReferences:
<4B781124.5D1CB4EB@Guy.com> <hlhskh$ga7$1@snarked.org> <7u52ogF2c7U1@mid.individual.net> <hlkga9$fhp$1@snarked.org> <hlkqqv$meo$1@speranza.aioe.org> <hll8ni$iod$1@snarked.org> <hllg48$hi5$1@speranza.aioe.org> <hllmlk$lr7$1@snarked.org> <slrnho78vk.sb9.mnalis-news@bukavac.carpriv.carnet.hr> <7ui5dgFdvtU1@mid.individual.net> <slrnho7ufk.sb9.mnalis-news@bukavac.carpriv.carnet.hr> <slrnho8bt5.8kc.catwheezel@ID-107770.user.individual.net> <slrnhodc4g.5b5.mnalis-news@bukavac.carpriv.carnet.hr> <7ut8ouFij1U1@mid.individual.net>Show Full Headers
Complete Article Headers
Message-ID: <slrnhonj8n.df4.mnalis-news@bukavac.carpriv.carnet.hr> Subject: Re: More microsoft usenet spam (another proposed filtering rule) Date: Mon, 01 Mar 2010 14:20:07 +0000 From: Matija Nalis <mnalis-news@voyager.hr> References: <4B781124.5D1CB4EB@Guy.com> <hlhskh$ga7$1@snarked.org> <7u52ogF2c7U1@mid.individual.net> <hlkga9$fhp$1@snarked.org> <hlkqqv$meo$1@speranza.aioe.org> <hll8ni$iod$1@snarked.org> <hllg48$hi5$1@speranza.aioe.org> <hllmlk$lr7$1@snarked.org> <slrnho78vk.sb9.mnalis-news@bukavac.carpriv.carnet.hr> <7ui5dgFdvtU1@mid.individual.net> <slrnho7ufk.sb9.mnalis-news@bukavac.carpriv.carnet.hr> <slrnho8bt5.8kc.catwheezel@ID-107770.user.individual.net> <slrnhodc4g.5b5.mnalis-news@bukavac.carpriv.carnet.hr> <7ut8ouFij1U1@mid.individual.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.CARNet.hr!not-for-mail Newsgroups: alt.free.newsservers,news.admin.net-abuse.usenet Organization: CARNet, Croatia Lines: 129 NNTP-Posting-Host: 2001:b68:ff:12:21c:25ff:fe97:5f8c Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news1.carnet.hr 1267453207 9259 2001:b68:ff:12:21c:25ff:fe97:5f8c (1 X-Complaints-To: abuse@CARNet.hr NNTP-Posting-Date: Mon, 1 Mar 2010 14:20:07 +0000 (UTC) User-Agent: slrn/pre0.9.9-111 (Linux) X-Original-Bytes: 8061