Thread View: news.software.nntp
21 messages
21 total messages
Started by DS
Fri, 17 Jan 2003 15:29
Msg Sizes in Bytes
Author: DS
Date: Fri, 17 Jan 2003 15:29
Date: Fri, 17 Jan 2003 15:29
29 lines
1719 bytes
1719 bytes
Hello again, I have decided to continue my effort for writing a binary nntp d/l program and come across another issue that I have a question for. In regards to cross-posted multi-part binaries msgs, here is my question/issue/scenario/theory: File x was posted in group 1, and cross-posted to group 2. I d/l headers, join the parts and display a single msg/file to d/l. The size of the single displayed msg is determined by adding the sizes of each part together, the size being set in the XOVER transfer. What I see is that the size differs between groups. One is larger than the other. In this specific instance, it was a 30 part file and the difference was 5 kbytes per part. Obviously this was due to it being cross-posted. I assume that extra info in the headers for the x-posting is behind this. Is this correct? TIA, DS
Re: Msg Sizes in Bytes
Author: Juergen Helbing
Date: Fri, 17 Jan 2003 17:58
Date: Fri, 17 Jan 2003 17:58
34 lines
1750 bytes
1750 bytes
DS <t.h.i.s.n.t.h.a.t@a.d.e.l.p.h.i.a..n.e.t> wrote: >The size of the single displayed msg is determined by adding the sizes of >each part together, the size being set in the XOVER transfer. The size is usually the size of the entire message. Headers+Body. >What I see is that the size differs between groups. One is larger than the >other. In this specific instance, it was a 30 part file and the difference >was 5 kbytes per part. 5 kBytes would be too much. This is not caused by the headers. The PATH header would be the one with the biggest deviation. Obviously you've found a yEncoded message. There the size per body is not fixed but floating by 1-5% However the total bytes the users needs to downlaod is the still the sum of the 'sizes'. >Obviously this was due to it being cross-posted. I dont believe this. The only difference between an xpost and a single group post would be a longer NEWSGROUP header (but still identical) and a longer reference (and still the same). HTH -- Juergen
Re: Msg Sizes in Bytes
Author: Curt Welch
Date: Fri, 17 Jan 2003 18:27
Date: Fri, 17 Jan 2003 18:27
42 lines
2548 bytes
2548 bytes
DS <t.h.i.s.n.t.h.a.t@a.d.e.l.p.h.i.a..n.e.t> wrote: > Hello again, > > I have decided to continue my effort for writing a binary nntp d/l > program and come across another issue that I have a question for. > > In regards to cross-posted multi-part binaries msgs, here is my > question/issue/scenario/theory: > > File x was posted in group 1, and cross-posted to group 2. > I d/l headers, join the parts and display a single msg/file to d/l. > > The size of the single displayed msg is determined by adding the sizes of > each part together, the size being set in the XOVER transfer. > > What I see is that the size differs between groups. One is larger than > the other. In this specific instance, it was a 30 part file and the > difference was 5 kbytes per part. > > Obviously this was due to it being cross-posted. > > I assume that extra info in the headers for the x-posting is behind this. > > Is this correct? Nope. Something is broken. Check all the data and figure out what it is. Either the server you are looking at is broken or your software, or some assumption you are making. The article should be the same size in both groups down to the byte. Look at the XOVER data, download the articles and check there sizes and check that they are in fact the same when downloaded from different groups, and figure out what's going on. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Msg Sizes in Bytes
Author: DS
Date: Fri, 17 Jan 2003 23:05
Date: Fri, 17 Jan 2003 23:05
62 lines
3546 bytes
3546 bytes
> > Look at the XOVER data, download the articles and check there sizes > and check that they are in fact the same when downloaded from > different groups, and figure out what's going on. > So this is what I did. Capture text of the XOVER stream. Indeed, across 4 servers, none of the reported 'byte' value is identical. These are cut and pastes from the text file. mammoth.usenet-access.com - <3e2820d4_18@news.ultrafeed.com> 370685 <3e2820f8_18@news.ultrafeed.com> 370571 <3e282104_18@news.ultrafeed.com> 370653 <3e28211b_18@news.ultrafeed.com> 370616 <3e282128_18@news.ultrafeed.com> 370812 binaries.usenet-access.com - <3e2820d4_18@news.ultrafeed.com> 370569 <3e2820f8_18@news.ultrafeed.com> 370474 <3e282104_18@news.ultrafeed.com> 370555 <3e28211b_18@news.ultrafeed.com> 370591 <3e282128_18@news.ultrafeed.com> 370874 news4.sucknews.com - <3e2820d4_18@news.ultrafeed.com> 370616 <3e2820f8_18@news.ultrafeed.com> 370502 <3e282104_18@news.ultrafeed.com> 370602 <3e28211b_18@news.ultrafeed.com> 370655 <3e282128_18@news.ultrafeed.com> 370701 nntp.buf.adelphia.net- <3e2820d4_18@news.ultrafeed.com> 373359 <3e2820f8_18@news.ultrafeed.com> 373244 <3e282104_18@news.ultrafeed.com> 373345 <3e28211b_18@news.ultrafeed.com> 373390 <3e282128_18@news.ultrafeed.com> 373487 It is totally obvious to me that one......they are being reported at different sizes, and two........I now know why I'm seeing a 5k difference in size. The bottom server is my ISP server, on a cable connection. The others are pay servers. For some reason, my ISP server is grossly misreporting the msg size. The way I am working it is storing the msg info, then if another server has the same msg, by ID, only the server msg number is saved, instead of the entire msg, again. In regards to being cross-posted, the final reason why the msg size was grossly different for the same msg in one of the cross-posted messages was because they were being taken from different groups AND servers. So now how to combat it....hmmmmmm. DS
Re: Msg Sizes in Bytes
Author: Andrew - Supernews
Date: Fri, 17 Jan 2003 23:29
Date: Fri, 17 Jan 2003 23:29
26 lines
2359 bytes
2359 bytes
In article <Xns9306B935FAF06idispcom@209.189.89.243>, DS wrote: > So this is what I did. Capture text of the XOVER stream. Indeed, across 4 > servers, none of the reported 'byte' value is identical. that's across different _servers_, not just different groups. There are some known ambiguities in the calculation of byte counts in the overview header. The most obvious one is that between different servers, the Path and Xref headers may be different lengths (and some servers add bogus local headers like "X-Received-Date"). The more subtle one is that existing servers disagree over how to count line endings; many of them count them when stored in Unix local format (one byte), whereas when transferred by NNTP they are two bytes. (Another small difference is whether the final delimiter line is counted or not, but that's a minor one.) Your two sets of results are consistent with differences over counting line endings; article <3e2820d4_18@news.ultrafeed.com>, for example, has 2868 lines, and if you add one byte per line to the lower number you found, then it matches up pretty well with the higher number. (We count line ends as two bytes, and our overview shows 373421 bytes for that article, so that's also consistent.) -- Andrew, Supernews http://www.supernews.com - individual and corporate NNTP services
Re: Msg Sizes in Bytes
Author: Dufus Systems
Date: Sat, 18 Jan 2003 00:19
Date: Sat, 18 Jan 2003 00:19
13 lines
1569 bytes
1569 bytes
I always assumed that the size from XOver is at best a rough estimate. How's it derived? Is it the actual size of the post as it sits on disk? Andrew - Supernews <andrew+nonews@supernews.com> wrote in <slrnb2h4e3.9l6.andrew+nonews@trinity.supernews.net>: >In article <Xns9306B935FAF06idispcom@209.189.89.243>, DS wrote: >> So this is what I did. Capture text of the XOVER stream. Indeed, >> across 4 servers, none of the reported 'byte' value is identical. > >
Re: Msg Sizes in Bytes
Author: Andrew - Supernews
Date: Sat, 18 Jan 2003 00:33
Date: Sat, 18 Jan 2003 00:33
16 lines
1797 bytes
1797 bytes
In article <Xns9306C3D55BCB3peonsomecompanycomin@127.0.0.1>, Dufus Systems wrote: > I always assumed that the size from XOver is at best a rough estimate. that is a wise assumption. > How's it derived? Is it the actual size of the post as it sits on disk? usually, yes. I think the NNTP spec will try to clarify it to make it the size of the article on the wire, but it will still be only an approximation (just a better one). -- Andrew, Supernews http://www.supernews.com - individual and corporate NNTP services
Re: Msg Sizes in Bytes
Author: Curt Welch
Date: Sat, 18 Jan 2003 02:37
Date: Sat, 18 Jan 2003 02:37
15 lines
1902 bytes
1902 bytes
peon@somecompany.com.invalid (Dufus Systems) wrote: > I always assumed that the size from XOver is at best a rough estimate. It's never a rough estimate, it's always an exact number, you just don't know "which" exact number. > How's it derived? Is it the actual size of the post as it sits on disk? Most the time. So the answer to how it's calculated will mostly depend on what format the news server has decided to store the article in. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Msg Sizes in Bytes
Author: Andrew - Supernews
Date: Sat, 18 Jan 2003 02:58
Date: Sat, 18 Jan 2003 02:58
43 lines
3099 bytes
3099 bytes
In article <ksfh2v0llckj3d41fl2foervs9evgq6497@4ax.com>, Jango Fett's Clone wrote: [Bytes field in overview] > Why isn't this simply established by the sending newsreader program, because it's not (usually) passed around with the message - the server is assumed to be able to tell how big the message is. Furthermore, the size varies as the message propagates. > as lines (generally) are supposed to be. The Lines value in the _overview_ is not supposed to be taken from the (possibly client-supplied) Lines: header, but to be the actual line count. > Is it just because there > hasn't been a standardized header defined for this? In these days of > large binary posts and different encodings (which lead to any number > of different "estimated" sizes for posts), this seems to be almost a > necessity now. quite the reverse - relying on the client to provide important info about the article is _STUPID_, since the client will either screw it up, or (more importantly) freely lie about it if the author percieves an advantage in doing so. > As it is, there are a few programs out there that > royally screw up line counts by always putting the same number, no > matter how many lines are really in the post (I think we all know > which program I'm referring to). Lines never have been a very good > way to determine post size, and trying to estimate them with lines now > with yEnc is (nearly) pointless. this is just a better argument to stick with the (server-generated) Bytes field rather than rely on clients. FWIW, we forcibly attach a correct Lines: header to local posts, but we don't currently make any attempt to fix Lines: headers in incoming feed traffic (and I don't plan to do so). -- Andrew, Supernews http://www.supernews.com - individual and corporate NNTP services
Re: Msg Sizes in Bytes
Author: Andrew - Supernews
Date: Sat, 18 Jan 2003 05:51
Date: Sat, 18 Jan 2003 05:51
22 lines
2278 bytes
2278 bytes
In article <0moh2v8fq0r0ep46ssaor7hv2o5ngdv215@4ax.com>, Jango Fett's Clone wrote: > While you may be right that in some cases a "bytes" header wouldn't be > any more reliable than the "lines" header (such as a program giving > false information), at least it would, if implemented by the majority > of newsreaders, be a more accurate representation of post size. no, it wouldn't, especially since the same ambiguities would apply to a client-supplied value as currently apply to the overview. > It dosen't seem that adding this one header would be that huge of an > issue, and news servers could pick which of the two (lines or bytes) > they wanted to rely on. News _servers_ rarely use either; the only use we make of the Lines header is for a couple of filter rules, most stuff uses the actual line count and byte count as determined from the article. -- Andrew, Supernews http://www.supernews.com - individual and corporate NNTP services
Re: Msg Sizes in Bytes
Author: ZoSo
Date: Sat, 18 Jan 2003 19:27
Date: Sat, 18 Jan 2003 19:27
34 lines
2883 bytes
2883 bytes
begin 666ing all you want, 'cause in news:0moh2v8fq0r0ep46ssaor7hv2o5ngdv215@4ax.com, Jango Fett's Clone scribbled: > begin 664 oeblocker.exe On Sat, 18 Jan 2003 02:58:04 -0000, Andrew - > Supernews <andrew+nonews@supernews.com> wrote: > >>FWIW, we forcibly attach a correct Lines: header to local posts, but we >>don't currently make any attempt to fix Lines: headers in incoming feed >>traffic (and I don't plan to do so). > > One case where fixing Lines headers WOULD be preferable is the case > of that one stupid program I mentioned that ALWAYS identifies posts as > 10 lines per part, in most other cases I don't really see where it would > help much. I believe that may be a trojan of sorts inserted by NewsBin Pro's author, asserting itself only in 'cracked' versions (e.g. to make a cracked version's use easily detectable). If you look in its support forums (<http://www.inettools.com/>), you won't find a single mention of the bug, and you'd think people who purchased valid registrations would report it (over the last year, I've personally informed at least a dozen NewsBin Pro users that the copy they were using was putting "Lines: 10" in every article's header they posted). Too bad NewsBin Pro doesn't report the version# in headers it produces. -- "[insert problem here] due to yEnc!" - gyspy and Cisco Ducks (aka Chicken Little and Turkey Lurkey)
Re: Msg Sizes in Bytes
Author: Bas Ruiter
Date: Sun, 19 Jan 2003 11:09
Date: Sun, 19 Jan 2003 11:09
26 lines
2144 bytes
2144 bytes
> I believe that may be a trojan of sorts A *trojan* ?? By your description it sounds more like a flag of sorts, to indicate that the copy of NBP that's used is cracked / unregistered. > If you look in its support forums (<http://www.inettools.com/>), > you won't find a single mention of the bug The URL you specify doesn't excist (any more?). Did you mean: http://www.djii.com/cgi-bin/dcforum/dcboard.cgi ? Bas Ruiter -- [ l o r d s n o w @home.nl http://members.home.nl/ l o r d s n o w ] Only when the population of 50 mysteriously dropped to 7 did the remainder start to suspect Hungry.
Re: Msg Sizes in Bytes
Author: ZoSo
Date: Sun, 19 Jan 2003 15:23
Date: Sun, 19 Jan 2003 15:23
18 lines
2163 bytes
2163 bytes
begin 666ing all you want, 'cause in news:gl1l2vop5ktkalfkd3qlbnljadjnbbdgb4@4ax.com, Bas Ruiter scribed: > The URL you specify doesn't excist (any more?). > > Did you mean: http://www.djii.com/cgi-bin/dcforum/dcboard.cgi ? NewsBin's support forums are hosted on djii.com (209.249.177.33), yes - but <http://www.inettools.com> does exist... try <http://209.249.177.34> and see if you get there; both methods worked fine, from where I am, just a minute ago. (?) -- "[insert problem here] due to yEnc!" - gyspy and Cisco Ducks (aka Chicken Little and Turkey Lurkey)
Re: Msg Sizes in Bytes
Author: Dufus Systems
Date: Sun, 19 Jan 2003 16:07
Date: Sun, 19 Jan 2003 16:07
24 lines
2756 bytes
2756 bytes
> >>I believe that may be a trojan of sorts inserted by NewsBin Pro's >>author, asserting itself only in 'cracked' versions (e.g. to make a >>cracked version's use easily detectable). If you look in its support >>forums (<http://www.inettools.com/>) , you won't find a single mention >>of the bug, and you'd think people who purchased >> valid registrations would report it (over the last year, I've >> personally informed at least a dozen NewsBin Pro users that the copy >> they were using was putting "Lines: 10" in every article's header they >> posted). Too bad NewsBin Pro doesn't report the version# in headers >> it produces. > >But the fact remains that I've NEVER seen a post from NewsBin Pro that >didn't do this, and I doubt that EVERY person using it is using a >cracked version. Plus, many people using it many not even be aware of >it, since many people that it affects (people on newsreader that >report the number of lines instead of the byte size of a post, such as >Agent) may not have mentioned it to the posters. I should just pull my posting support altogether. I really make no effort to update it and I know it sucks. It's not a trojan, just lazyness. I'd actually hoped "Lines" was one of the fields the server could fill in by itself but, not all servers will accept a post without a "Lines" field.
Re: Msg Sizes in Bytes
Author: Andrew - Supernews
Date: Sun, 19 Jan 2003 16:27
Date: Sun, 19 Jan 2003 16:27
14 lines
1991 bytes
1991 bytes
In article <Xns93087069CF839peonsomecompanycomin@127.0.0.1>, Dufus Systems wrote: > I should just pull my posting support altogether. I really make no effort to > update it and I know it sucks. It's not a trojan, just lazyness. I'd > actually hoped "Lines" was one of the fields the server could fill in by > itself but, not all servers will accept a post without a "Lines" field. a server that doesn't accept a post without a Lines: field is broken. Clients should certainly not have to supply it. -- Andrew, Supernews http://www.supernews.com - individual and corporate NNTP services
Re: Msg Sizes in Bytes
Author: dexter
Date: Sun, 19 Jan 2003 16:44
Date: Sun, 19 Jan 2003 16:44
21 lines
2363 bytes
2363 bytes
On Sun, 19 Jan 2003 10:23:58 -0500, "ZoSo" <zoso@voyager.net> wrote: >begin 666ing all you want, >'cause in news:gl1l2vop5ktkalfkd3qlbnljadjnbbdgb4@4ax.com, >Bas Ruiter scribed: > >> The URL you specify doesn't excist (any more?). >> >> Did you mean: http://www.djii.com/cgi-bin/dcforum/dcboard.cgi ? > >NewsBin's support forums are hosted on djii.com (209.249.177.33), yes - but <http://www.inettools.com> does exist... try <http://209.249.177.34> and see if you get there; both methods worked fine, from where I am, just a minute ago. (?) www.inettools should be alive, it points to www.newsbin.com. I have the domain but never really did anything with it. The actual forum SW runs under the djii.com domain because that is the domain I used to register the SW. In case anyone cares. - dexter NewsBin Technical Support http://www.newsbin.com
Re: Msg Sizes in Bytes
Author: Dufus Systems
Date: Sun, 19 Jan 2003 17:25
Date: Sun, 19 Jan 2003 17:25
10 lines
1754 bytes
1754 bytes
Andrew - Supernews <andrew+nonews@supernews.com> wrote in >a server that doesn't accept a post without a Lines: field is broken. >Clients should certainly not have to supply it. > I'll pull the "lines" field and just fail the posts that aren't accepted then.
Re: Msg Sizes in Bytes
Author: Bas Ruiter
Date: Sun, 19 Jan 2003 17:43
Date: Sun, 19 Jan 2003 17:43
25 lines
2297 bytes
2297 bytes
> >> The URL you specify doesn't excist (any more?). > >> > >> Did you mean: http://www.djii.com/cgi-bin/dcforum/dcboard.cgi ? > > but <http://www.inettools.com> does exist. try <http://209.249.177.34> The latter works. The former still doesn't, from where I am. Maybe it's just @home acting up again. They were having network 'upgrades' *cough cough* from the 13th till the 17th or so.. btw, nice to see you pop in too, dexter :) Bas Bas Ruiter -- [ l o r d s n o w @home.nl http://members.home.nl/ l o r d s n o w ] Only when the population of 50 mysteriously dropped to 7 did the remainder start to suspect Hungry.
Re: Msg Sizes in Bytes
Author: ZoSo
Date: Sun, 19 Jan 2003 19:55
Date: Sun, 19 Jan 2003 19:55
19 lines
2353 bytes
2353 bytes
begin 666ing all you want, 'cause in news:slrnb2lkgb.9l6.andrew+nonews@trinity.supernews.net, Andrew - Supernews scribed: > a server that doesn't accept a post without a Lines: field is broken. > Clients should certainly not have to supply it. Since it's an optional header, leaving it out's probably better than supplying incorrect data. Think anyone can reach MS programmers about Outlook Express 5.x & 6 ? They put the *total* lines in every segment of multi-parts binaries. e.g. If a file splits to 40-parts of 5500-lines each, OE 5 & 6 will put "Lines: 220000" in every segment when it's posted. :-) -- ... in FidoNet®, we called this a "tag line"
Re: Msg Sizes in Bytes
Author: Curt Welch
Date: Mon, 20 Jan 2003 00:35
Date: Mon, 20 Jan 2003 00:35
20 lines
2466 bytes
2466 bytes
peon@somecompany.com.invalid (Dufus Systems) wrote: > Andrew - Supernews <andrew+nonews@supernews.com> wrote in > >a server that doesn't accept a post without a Lines: field is broken. > >Clients should certainly not have to supply it. > > > > I'll pull the "lines" field and just fail the posts that aren't accepted > then. What's so hard about counting the lines correctly and putting in a valid number? Is it really more than 10 lines of code you would have to add? However, not including the Lines: header I agree is better than putting in any form of "a guess". Many servers will add it for you and I've never heard of one rejecting a post because it was missing. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Msg Sizes in Bytes
Author: Dufus Systems
Date: Mon, 20 Jan 2003 04:26
Date: Mon, 20 Jan 2003 04:26
27 lines
2743 bytes
2743 bytes
curt@kcwc.com (Curt Welch) wrote in <20030119193556.913$wS@newsreader.com>: >> I'll pull the "lines" field and just fail the posts that aren't accepted >> then. > >What's so hard about counting the lines correctly and putting in a valid >number? Is it really more than 10 lines of code you would have to add? > >However, not including the Lines: header I agree is better than putting in >any form of "a guess". Many servers will add it for you and I've never >heard of one rejecting a post because it was missing. > My reading of the draft-ietf docs which discussed XOVER for one thing and is probably long since superceded, recommends posting with the minimum set of headers and letting the server fill in the rest. That was my intention here. The "Lines: 10" was simply a reaction to the fact that some servers failed to accept the post without it. I'd hoped that the server would fill in the actual lines of the post in this case too. I should have realized this wasn't the case by all the claimed 60k JPG files that in fact contain a 5K JPG. The spammers were spoofing the lines field and it turns out I was too.
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