Thread View: news.software.nntp
50 messages
50 total messages
Started by Fluffy
Wed, 27 Jan 1999 00:00
NNTP and partisan politics, or something.
Author: Fluffy
Date: Wed, 27 Jan 1999 00:00
Date: Wed, 27 Jan 1999 00:00
15 lines
1419 bytes
1419 bytes
As in, 'be liberal in what you accept....' Article terminators, specifically. The good RFC tells us that it's going to be CRLF.CRLF, accept no substitutes. And it would make life really easy to take that literally. Are any real-life clients breaking the rules and doing it differently? That is, need I try to accommodate halfhearted efforts like LF.LF or LF.CRLF? I'd rather just leave broken stuff like that inoperable, but if it exists in any quantity... Oh yeah, and what's the opinion on articles containing NULs? Should they be Allowed or Not Allowed? -- "Meow." --me
Re: NNTP and partisan politics, or something.
Author: Sven Paulus
Date: Wed, 27 Jan 1999 00:00
Date: Wed, 27 Jan 1999 00:00
20 lines
1747 bytes
1747 bytes
Curt Welch <curt@kcwc.com> wrote: | Is it OK to fix Lines: headers that are wrong on articles that pass | through a server? You are talking about news transfer? No, don't touch the Lines: header ... | There are a lot of articles (maybe 10%) that have bogus Lines: headers | these days. Most are only off by 1 to 3 lines, but a good number are off | by a lot (like they report 1800 but only have 1000 lines etc.). ... since this might be a sign that the articles got corrupted (the last 800 lines might have been cut of by some stupid transfer host). I think, you shouldn't even accept these articles, just refuse them, so they don't propagate any further, giving a non-truncated version of this article a chance to reach the servers via a different path. Sven
Re: NNTP and partisan politics, or something.
Author: Curt Welch
Date: Wed, 27 Jan 1999 00:00
Date: Wed, 27 Jan 1999 00:00
29 lines
2009 bytes
2009 bytes
olaf@bigred.inka.de (Olaf Titz) wrote: > Curt Welch <curt@kcwc.com> wrote: > > Is it OK to fix Lines: headers that are wrong on articles that pass > > through a server? > > No. > > > There are a lot of articles (maybe 10%) that have bogus Lines: headers > > these days. Most are only off by 1 to 3 lines, but a good number are > > off by a lot (like they report 1800 but only have 1000 lines etc.). > > If the Lines header has any meaning, this is a clear indication that > the article has been damaged in transit. Reject them without > remembering their Message-ID, and let another peer offer you a > non-truncated version. _Every_ article I've taken the time to look at so far was fine - only the Lines: count was wrong. Rejecting articles with a bogus line count would not be the way to go... Well, if it became the "standard" way so lots of servers did that it would be fine because the authors would then start fixing their programs, but I'm not going to be the only server on the net doing that. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: NNTP and partisan politics, or something.
Author: Jeremy
Date: Wed, 27 Jan 1999 00:00
Date: Wed, 27 Jan 1999 00:00
12 lines
912 bytes
912 bytes
Fluffy <meowing@banet.net> wrote: > Oh yeah, and what's the opinion on articles containing NULs? Should > they be Allowed or Not Allowed? Nay. Off with their heads. -- Jeremy | jeremy@exit109.com "Who's scruffy-looking?" --Han Solo
Re: NNTP and partisan politics, or something.
Author: Curt Welch
Date: Wed, 27 Jan 1999 00:00
Date: Wed, 27 Jan 1999 00:00
55 lines
3423 bytes
3423 bytes
Sven Paulus <sven@karlsruhe.org> wrote: > Curt Welch <curt@kcwc.com> wrote: > | Is it OK to fix Lines: headers that are wrong on articles that pass > | through a server? > > You are talking about news transfer? No, don't touch the Lines: > header ... Yep, even in transfer. Well, actually, this server is designed as a reader box and not a transfer box, so in reality the "fixed" headers probably won't propagate elsewhere. But my question was really more related to the idea of propagating these "fixed" articles. > | There are a lot of articles (maybe 10%) that have bogus Lines: headers > | these days. Most are only off by 1 to 3 lines, but a good number are > | off by a lot (like they report 1800 but only have 1000 lines etc.). > > ... since this might be a sign that the articles got corrupted (the > last 800 lines might have been cut of by some stupid transfer host). I > think, you shouldn't even accept these articles, just refuse them, so > they don't propagate any further, giving a non-truncated version of > this article a chance to reach the servers via a different path. If you looked at the aritcles with bogus Lines: headers you wouldn't say that. I'd be throwing out a shitload of news and none that I've looked at so far seemed to be trucated or corrupted in any way. I just added some code to calculate stats on this and after a few minutes, I've seen 7090 articles with a Lines: header and of those 664 had the wrong value. That's over 9% of the articles. Looking at them, it just seems that there's a lot of agents that don't know how to count. For exmaple, it looks like lots of problems are coming out of talkway.com. Forte Agent seem to keep shoing up as the newsreader on posts as well. Maybe it (or some version of it) had a bug? For example, check out: <36af22cb.962594@news.bhm.bellsouth.net>. This is the first part of an 11 part mp3 posting. The Lines: header said 15762 but there are only 10009 lines in the article. The song plays fine so there's no missing data. All the parts seem to have this same line count problem. Another whole set I saw were moderated posts. On those, it looks like the orginal article might have had a valid Lines: count but when the moderator re-posted it he added a few extra blank lines but nothing "fixed" the old Lines: header. The more I look at this the more I think we need servers to fix this! -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: NNTP and partisan politics, or something.
Author: Curt Welch
Date: Wed, 27 Jan 1999 00:00
Date: Wed, 27 Jan 1999 00:00
39 lines
2330 bytes
2330 bytes
meowing@banet.net (Fluffy) wrote: > As in, 'be liberal in what you accept....' > > Article terminators, specifically. The good RFC tells us that it's > going to be CRLF.CRLF, accept no substitutes. And it would make life > really easy to take that literally. Are any real-life clients breaking > the rules and doing it differently? That is, need I try to accommodate > halfhearted efforts like LF.LF or LF.CRLF? I'd rather just leave > broken stuff like that inoperable, but if it exists in any quantity... I have no idea if there might be some major stupid newsreader that does that, but I'd strongly advise you to require CRLF.CRLF and then fix it later if it is _really_ a problem. That's what I'm doing. Otherwise, it will just encourage people writing clients to make that mistake in the future. > Oh yeah, and what's the opinion on articles containing NULs? Should > they be Allowed or Not Allowed? I'm allowing them for now - both on a transfer and a post. But I might change my mind about allowing them on a post. Ok, I've got one: Is it OK to fix Lines: headers that are wrong on articles that pass through a server? There are a lot of articles (maybe 10%) that have bogus Lines: headers these days. Most are only off by 1 to 3 lines, but a good number are off by a lot (like they report 1800 but only have 1000 lines etc.). Anyone have opinions about that? -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: NNTP and partisan politics, or something.
Author: Brian Edmonds
Date: Wed, 27 Jan 1999 00:00
Date: Wed, 27 Jan 1999 00:00
18 lines
2100 bytes
2100 bytes
Curt Welch <curt@kcwc.com> writes: > Is it OK to fix Lines: headers that are wrong on articles that pass > through a server? I'm not sure about fixing them; it doesn't change the content of the message, so I don't think it violates the spirit of the RFC. I wouldn't mind having an option available to simply drop any articles with Lines off by more than a certain fuzz factor, possibly not recording them in the history file either. The thought being that they may have been damaged somewhere in transit. -- o Brian Edmonds <bedmonds@cs.ubc.ca>, Team Jubal Mech Labs \\_/\_, Moderator: rec.arts.anime.creative, rec.music.info/reviews (*) (*) Are you tired of spam? Visit http://www.spam.abuse.net/spam/
Re: NNTP and partisan politics, or something.
Author: Curt Welch
Date: Thu, 28 Jan 1999 00:00
Date: Thu, 28 Jan 1999 00:00
91 lines
5306 bytes
5306 bytes
meowing@banet.net (Fluffy) wrote: > I'm worried about NUL because INN's rnews is documented to choke on > them. It would be easy to shrug off rnews as ancient history, except > that satellite feeds and XBATCH have brought the format back into > relatively common usage. Well, not all satellite feeds use that. Avi's www.isp-sat.com (which I use) sends the articles in a packet stream in NNTP wire format (which is why the latency on his feed is so low). There's no batching going on with his feed. I don't know however what his sofware would do with a NULL. > Now, about linefeeds. I know there has been talk of accommodating > more-or-less pure binary articles. My thought on pure binary is that it will never happen. It's just too hard to make work (because of the various EOL conventions and problems with NULL) and buys us to little for all the effort. However, as I write this new NNTP server, I'm making sure it can deal correctly with everything. The only limit the code (as structured) puts on articles are their maximum length. Anything that can be sent over NNTP can be stored and re-transmitted exactly as received. This includes being able to deal with embeded NULLs, CRs, and LFs. It also has no restrictions on the length of lines or headers. I will reject articles which don't meet certain requirements, but it won't be because my code can't deal with it - so those restrictions will be easy to change later. > Again, rnews (which, in my little > mind, is still the canonical representation even if we don't always > explicitly use it any more) presents a problem, since an end-of line is > always counted as one character no matter how it is represented. This > is documented in 1036 and the news.5 page from C News. son-of-1036 (and I think the latest rewrite of 1036) just avoid the problem by saying LF and CR and NULL are not allowed within lines - and that the line termination (EOL) will vary from system to system. In order to make pure-binary work, this standard would have to be changed. You have to define exactly what the EOL characters are (and the only two real options there are LF or CR LF). And then you have to define the mapping form this binary format to NNTP wire format. If the offical EOL is CR LF in the article, then the mapping is obvious (there is none other than the dot escaping) - but systems like old inn and Diablo which store articles in LF terminated line format would not be able to correctly pass the new "pure-binary" articles without corrupting them if it was done this way. The other option would be to make LF the "offical" article EOL format, and then define a mapping that says "all" LF's (including ones in a pure-binary section of an article) are translated to CR LF when sent over NNTP and the reverse is done to recover the "true" underlying "binary" article. This would be compatible with the current way Diablo works. But, if you just store the aritcle in raw NNTP write format like I'm doing with my new server, then either of those two conventions would work fine wihtout making any changes to my server. > The upshot is that for news, it would appear that the assumption that > NNTP wire format is the "true" representation of an article isn't at > all safe, and that in fact linefeeds are supposed to be munged > into some consistent representation regardless. If you are dealing with a "pure" NNTP server (i.e. the only way to get articles in and out of the server are though NNTP) then that's not an issue. You should store the articles in NNTP wire format (i.e. with the CR LF, and don't do any type of CR LF -> LF or LF -> CR LF translations. Then you will be able to support any possible future article format. It's only an issue if you need to support some other "view" of the articles - like a Unix one-article-per-file spool where lines are LF terminated. Or if you need to create or accept rnews batches. But then, the translation problem should be addresed when you create the batch or accept it if possible. On the NNTP side, I'd strongly advise you to structure things so you can receive and retransmit articles without changing them - even if they contain lone LFs or CRs in the lines. > Anyone else's head hurt yet too? All the time. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: NNTP and partisan politics, or something.
Author: Jeff Makey
Date: Thu, 28 Jan 1999 00:00
Date: Thu, 28 Jan 1999 00:00
17 lines
1415 bytes
1415 bytes
In article <19990128105515.347$7n@newsreader.com>,
Curt Welch <curt@kcwc.com> wrote:
>Another option to "fix" the header is to just fix it in the XOVER data
>and not in the article.
This idea seems to strike a good balance between being effective and
unobtrusive. Your news readers would be able to rely on the "Lines:"
header to help them decide what articles they want to see the bodies
of, and sites downstream from you will still see the original header
(to be used as they see fit).
:: Jeff Makey
jeff@sdsc.edu
Department of Tautological Pleonasms and Superfluous Redundancies Department
Re: NNTP and partisan politics, or something.
Author: Reality is a point of view
Date: Thu, 28 Jan 1999 00:00
Date: Thu, 28 Jan 1999 00:00
13 lines
1225 bytes
1225 bytes
+---- sven@karlsruhe.org wrote (28 Jan 1999 00:57:40 +0100): | But refusing to transport those articles would create some pressure on | authors of newsreaders (or "news posting agents") to fix their code. +---- Makes one wonder how admins would react to newsreaders that inform users of broken servers . . . -- Gary Johnson gjohnson@season.com Privacy on the net is still illegal.
Re: NNTP and partisan politics, or something.
Author: Brad Knowles
Date: Thu, 28 Jan 1999 00:00
Date: Thu, 28 Jan 1999 00:00
21 lines
1759 bytes
1759 bytes
In article <19990128105515.347$7n@newsreader.com>, curt@kcwc.com (Curt
Welch) wrote:
> Inn for example will add a Lines: header to any article that doesn't
> already have one - not just when posted, but when transmitted with
> IHAVE/TAKETHIS.
So, if you strip all bogus "Lines:" headers in articles that reach
your site, the next site down stream from you will probably add a correct
"Lines:" header, right?
So, what's the theoretical problem with simply stripping "Lines:"
headers if they're bogus?
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
<http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
If you wouldn't take out a one-page ad in the Wall Street
Journal to say something, then don't say it by email.
Re: NNTP and partisan politics, or something.
Author: Fluffy
Date: Thu, 28 Jan 1999 00:00
Date: Thu, 28 Jan 1999 00:00
16 lines
1706 bytes
1706 bytes
Reality is a point of view <gjohnson@dream.season.com> wrote: > +---- sven@karlsruhe.org wrote (28 Jan 1999 00:57:40 +0100): > | But refusing to transport those articles would create some pressure on > | authors of newsreaders (or "news posting agents") to fix their code. > > Makes one wonder how admins would react to newsreaders that > inform users of broken servers . . . If it's a core command that's missing, or an extension that isn't implemented according to the published specs, sure, it should say something. Half-implemented extensions would be better left out entirely so the client isn't given bogus results. -- "Meow." --me
Re: NNTP and partisan politics, or something.
Author: Curt Welch
Date: Thu, 28 Jan 1999 00:00
Date: Thu, 28 Jan 1999 00:00
109 lines
6071 bytes
6071 bytes
Sven Paulus <sven@karlsruhe.org> wrote: > But refusing to transport those articles would create some pressure on > authors of newsreaders (or "news posting agents") to fix their code. Yeah, that approach would make sense, and like I said in another message, if that became the standard approach, then that would work. But we have the situation today where nearly 7% of all news articles have invalid Lines: headers on them because nothing (it seems) has been checking them. So, even if the news servers had an option to reject articles with invalid Lines: headers, I suspect very view admins would be willing to turn the option on - they would end up rejecting lots of news for a reason that's not really causing anybody problems. We would somehow have to convince a majority of the net to turn on the option at the same time. And even that is a real problem, because it means that 7% of the users would end up having their postings rejected (or blocked) just becuse they happened to be using "bad" software. Of course it would be nice to get this fixed, but the reality is that few admins are willing to install a new server which will prevent 7% of their users from posting. It would just create more work for them and their tech support departments. > Fixing them will make the Lines: header as an indicator of the > integrity of an article worthless, since other sites don't even have a > chance to reject articles with wrong Lines: header because the original > Lines: header would be overwritten by your system. Well, yes, but.. They are worthless now. It's clear that no one is currently rejecting articles with invalid line counts and it's doubtfull that they will start doing that because they would have to be willing to throw out 7% of the news. If I started "fixing" Lines: headers, then sites downstream from me could at least use them as a transmission check for articles between me and them. > So it's a little > unfair towards other news administrators who want to do these checks. Actually, it looks to me like I would be doing the other admins more of a favor - of course some admins would tell me not to do them any favors. :). They could for the first time actually use the Lines: header as a transmission check, and more articles on their server would have accurate Lines: headers which would help their users. > Header lines should never be altered during transport (except Path and > Xref). Well, yes, that's a good general rule. But we do alter header lines (i.e Path and Xref). So what I'm really asking, is whether Lines: should be a header in the Path: and Xref: class instead of a header in the "do not touch" class. It seems clear to me (from the responses to my question), that people think Lines: is in the class of headers which are generated at Post time and should not be touched later. But that's not really true. Inn for example will add a Lines: header to any article that doesn't already have one - not just when posted, but when transmitted with IHAVE/TAKETHIS. The Lines: header is not "original content" from the author - or at least it shouldn't be. Just like the "bytes" field in XOVER data isn't orignal content from the author. The rule about "do not touch" should really only apply to content from the orignal author. Though, as people have pointed out in this thread, the Lines: header could in theory be used as a very weak article checksum to check for transmission errors - it's cleary not being used that way - and can't today be used that way. It is there to assist news readers (both the people and the software) in selecting and displaying news articles. If we wanted an article checksum of some type to check for transmission errors, we should add a real one. And in that light, it's more important for the header to accurately reflect true information about an article as it exists on a given server - even if it was corrupted in transmission. I want to know that the article I'm about to read is a 10 line article and not the 10000 line article the header says it is. > Of course you can fix the Lines: header of incoming articles on > your local system, but please don't propagate them to other hosts. yeah, that may end up being what happens anyway. Another option to "fix" the header is to just fix it in the XOVER data and not in the article. I wonder if other servers are currently doing this??? (I just tested inn 1.72 and it doesn't - i.e. XOVER returns the value of the Lines: header even if it's way off). > On the other hand: I think it's ok to fix the Lines: header when an > article is POSTed. You described your system as a leaf node, so this > might be the best approach. I'd like to reject posts if they had an invalid Lines: header. I suspect I might start that way and see how much of a problem it causes. I revert back to silently fixing the header on POST if it causes too much problems. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: NNTP and partisan politics, or something.
Author: Fluffy
Date: Thu, 28 Jan 1999 00:00
Date: Thu, 28 Jan 1999 00:00
36 lines
2308 bytes
2308 bytes
Jeremy <jeremy@exit109.com> wrote: > Fluffy <meowing@banet.net> wrote: > > > Oh yeah, and what's the opinion on articles containing NULs? Should > > they be Allowed or Not Allowed? > > Nay. Off with their heads. This was my inclination, but it's a relatively expensive check and all that... Now I see the Lines: thingy got brought into this too, so I should probably spell out the whole of what's been going through my head here. I'm worried about NUL because INN's rnews is documented to choke on them. It would be easy to shrug off rnews as ancient history, except that satellite feeds and XBATCH have brought the format back into relatively common usage. Now, about linefeeds. I know there has been talk of accommodating more-or-less pure binary articles. Again, rnews (which, in my little mind, is still the canonical representation even if we don't always explicitly use it any more) presents a problem, since an end-of line is always counted as one character no matter how it is represented. This is documented in 1036 and the news.5 page from C News. The upshot is that for news, it would appear that the assumption that NNTP wire format is the "true" representation of an article isn't at all safe, and that in fact linefeeds are supposed to be munged into some consistent representation regardless. Anyone else's head hurt yet too? -- "Meow." --me
Re: NNTP and partisan politics, or something.
Author: Sven Paulus
Date: Thu, 28 Jan 1999 00:00
Date: Thu, 28 Jan 1999 00:00
26 lines
2393 bytes
2393 bytes
Curt Welch <curt@kcwc.com> wrote: | Forte Agent seem to keep shoing up as the newsreader on posts as well. | Maybe it (or some version of it) had a bug? For example, check out: | <36af22cb.962594@news.bhm.bellsouth.net>. This is the first part of an 11 | part mp3 posting. The Lines: header said 15762 but there are only 10009 | lines in the article. The song plays fine so there's no missing data. All | the parts seem to have this same line count problem. But refusing to transport those articles would create some pressure on authors of newsreaders (or "news posting agents") to fix their code. Fixing them will make the Lines: header as an indicator of the integrity of an article worthless, since other sites don't even have a chance to reject articles with wrong Lines: header because the original Lines: header would be overwritten by your system. So it's a little unfair towards other news administrators who want to do these checks. Header lines should never be altered during transport (except Path and Xref). Of course you can fix the Lines: header of incoming articles on your local system, but please don't propagate them to other hosts. On the other hand: I think it's ok to fix the Lines: header when an article is POSTed. You described your system as a leaf node, so this might be the best approach. Sven
Re: NNTP and partisan politics, or something.
Author: Jeremy
Date: Thu, 28 Jan 1999 00:00
Date: Thu, 28 Jan 1999 00:00
22 lines
1835 bytes
1835 bytes
Sven Paulus <sven@karlsruhe.org> wrote:
> But refusing to transport those articles would create some pressure on
> authors of newsreaders (or "news posting agents") to fix their code.
> Fixing them will make the Lines: header as an indicator of the
> integrity of an article worthless, since other sites don't even have a
> chance to reject articles with wrong Lines: header because the original
> Lines: header would be overwritten by your system. So it's a little
> unfair towards other news administrators who want to do these checks.
> Header lines should never be altered during transport (except Path and
> Xref). Of course you can fix the Lines: header of incoming articles on
> your local system, but please don't propagate them to other hosts.
Indeed, spammers have been known to insert bogus Lines headers in order
to thwart filtering. Fixing them will defeat that detection criteria.
--
Jeremy | jeremy@exit109.com
"Who's the more foolish, the fool, or the fool who follows him?"
--Obi-Wan Kenobi
Re: NNTP and partisan politics, or something.
Author: Russ Allbery
Date: Thu, 28 Jan 1999 00:00
Date: Thu, 28 Jan 1999 00:00
13 lines
1179 bytes
1179 bytes
Jeremy <jeremy@exit109.com> writes: > Indeed, spammers have been known to insert bogus Lines headers in order > to thwart filtering. Fixing them will defeat that detection criteria. Personally, I turned on Lines checking a while back and never looked back. If the posting server can't generate a correct Lines header, the post doesn't appear on my server. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: NNTP and partisan politics, or something.
Author: BARRY BOUWSMA IS A PROUD MEMBER ...
Date: Fri, 29 Jan 1999 00:00
Date: Fri, 29 Jan 1999 00:00
23 lines
1843 bytes
1843 bytes
On 29 Jan 1999, Russ Allbery wrote: > >> optimizations in the filter based on the number of lines in the > >> message, and I wanted to just use the Lines header and not worry about > > > That's why I started counting body lines in Cleanfeed, rather than using > > the Lines header... > > It's faster in C code. INN has to do most of the work anyway as it reads > in the data. I hacked INN to pass not only the __BODY__ of a message, but also an actual count of __LINES__ and __BYTES__ to cleanfeeD, so as to not need to do an actual scan of the article body. Dunno if it helped much. I think it was like trying to get blood out of a stone at that point. Many of my peers do a count of article body lines and reject them what don't match the header. I can see it all.
Re: NNTP and partisan politics, or something.
Author: Fluffy
Date: Fri, 29 Jan 1999 00:00
Date: Fri, 29 Jan 1999 00:00
38 lines
2701 bytes
2701 bytes
Curt Welch <curt@kcwc.com> wrote: > If you are dealing with a "pure" NNTP server (i.e. the only way to get > articles in and out of the server are though NNTP) then that's not > an issue. You should store the articles in NNTP wire format (i.e. with > the CR LF, and don't do any type of CR LF -> LF or LF -> CR LF > translations. Then you will be able to support any possible future article > format. There's storage, and then there's retransmission. I'm wondering whether articles that have characters that don't belong there in the wire fromat should be propagated; sending them along may be nice for the top 1000 <spit> stats, but helping to propagating damage doesn't strike me as a great idea. A compromise that might work: If an article comes through NNTP with "wrong" characters, *and* it has a Content-Length: header that matches exactly, let it through; else drop it (and don't remember, in case another site offers an intact version). POST can get corresponding treatment. Articles received that way can get their linefeeds put into "proper" format (it turns out that there is indeed a problem child out there in some versions of gnus), unless there's a Content-Length: in which case the body gets injected verbatim in wire format. > It's only an issue if you need to support some other "view" of the > articles - like a Unix one-article-per-file spool where lines > are LF terminated. Or if you need to create or accept rnews batches. > But then, the translation problem should be addresed when you create > the batch or accept it if possible. <URL:www.glinx.com/users/hclsmith/tcltk/tcptrace/> Any servers out there that aren't fixing this at posting time? -- "Meow." --me
Re: NNTP and partisan politics, or something.
Author: Russ Allbery
Date: Fri, 29 Jan 1999 00:00
Date: Fri, 29 Jan 1999 00:00
19 lines
1355 bytes
1355 bytes
Jeremy <jeremy@exit109.com> writes: > What sort of fuzz are you using? Four or five, I forget. > When the bogus-Lines-bot first showed up, it was varying them mostly > within two or three of the real line count, except with binaries. That's not enough to screw with my spam filter, so I don't care. The reason why I turned it on originally was because I do various optimizations in the filter based on the number of lines in the message, and I wanted to just use the Lines header and not worry about it being fooled that way. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: NNTP and partisan politics, or something.
Author: Fluffy
Date: Fri, 29 Jan 1999 00:00
Date: Fri, 29 Jan 1999 00:00
21 lines
1938 bytes
1938 bytes
Brad Knowles <brad@shub-internet.org> wrote: > So, if you strip all bogus "Lines:" headers in articles that reach > your site, the next site down stream from you will probably add a correct > "Lines:" header, right? > > So, what's the theoretical problem with simply stripping "Lines:" > headers if they're bogus? I'm surprised Barry hasn't chimed in yet. Now and then there are waves of articles that get truncated in transit. If those line counts get "fixed" then the broken copies become somewhat validated and you've lost the opportunity to wait for a clean copy to come in from elsewhere. I'm not sure INN's habit of adding line counts when transferring articles that don't have them is a good one either, since again it can mask an article whose headers were broken in transit. -- "Meow." --me
Re: NNTP and partisan politics, or something.
Author: Brad Knowles
Date: Fri, 29 Jan 1999 00:00
Date: Fri, 29 Jan 1999 00:00
47 lines
3094 bytes
3094 bytes
In article <19990129100926.067$rP@newsreader.com>, curt@kcwc.com (Curt
Welch) wrote:
> If the new usenet format RFC redefined Lines: to be local content, and said
> it was OK to modify it, then it would be ok. But until then, I think it's
> best if we don't fix articles that pass through our servers.
Section 6.11 of
<http://www.ietf.org/internet-drafts/draft-ietf-usefor-article-01.txt>
defines only the following:
> 6.11 Lines
>
> The Lines header content indicates the number of lines in the
> body of the article:
>
> Lines-content = 1*digit
>
> The line count includes all body lines, including the
> signature if any, including empty lines (if any) at beginning
> or end of the body. (The single empty separator line between
> the headers and the body is not part of the body) . The "body"
> here is the body as found in the posted article as transmitted
> by the posting agent.
>
> Reading agents SHOULD NOT rely on the presence of this header,
> since it is optional (and some posting agents do not supply
> it). They MUST NOT rely on it being precise, since it
> frequently is not.
The wording "The 'body' here is the body as found in the posted
article as transmitted by the posting agent" seems to indicate that this
should be generated once by the injecting agent and not touched
afterwards. Likewise, the last paragraph seems to indicate that news
readers shouldn't rely on it, and in fact this means that news readers
should probably ignore it.
IMO, this sounds like something we need to take up with the editors of
this draft, because frankly I think you're right.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
<http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
If you wouldn't take out a one-page ad in the Wall Street
Journal to say something, then don't say it by email.
Re: NNTP and partisan politics, or something.
Author: Curt Welch
Date: Fri, 29 Jan 1999 00:00
Date: Fri, 29 Jan 1999 00:00
34 lines
2579 bytes
2579 bytes
Russ Allbery <rra@stanford.edu> wrote: > Curt Welch <curt@kcwc.com> writes: > > > Now that I've spent some time looking at the articles with the bad > > Lines: headers, I'm thinking that might be a good idea. A large > > percentage of them are "junk" to some extent anyway. Out of the past > > 946314 articles, 75716 had a bogus Lines: header (7.4%). So that's a > > lot of news. But I'm not sure if much of it was worth keeping... > > I'm using INN's default check, which has a fuzz factor of about 4 or 5 > lines. It'd be interesting to see how many still fall outside that; I'm > willing to bet most of those articles are within a line or two. Yes, the bulk of the errors are small errors withing that range. > To me, this is like articles with dates in the future. If it's just an > hour or two, then someone's clock is screwy and the fuzz should allow it > through. If it's off by a day, it's junk and I don't want it. But from my examination, the ones that were really far off, like reporting 1,500 but having only 1,000 lines, were not junk. They were valid binary postings where the line count was just way off. Most of what I was calling junk seemed to be the smaller articles that that were off by only a few lines. I'll try to do some more work on this and I might be able to set something up were people can look at the articles with problems... -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: NNTP and partisan politics, or something.
Author: Jeremy
Date: Fri, 29 Jan 1999 00:00
Date: Fri, 29 Jan 1999 00:00
17 lines
1368 bytes
1368 bytes
Russ Allbery <rra@stanford.edu> wrote:
> That's not enough to screw with my spam filter, so I don't care. The
> reason why I turned it on originally was because I do various
> optimizations in the filter based on the number of lines in the message,
> and I wanted to just use the Lines header and not worry about it being
> fooled that way.
That's why I started counting body lines in Cleanfeed, rather than using
the Lines header...
--
Jeremy | jeremy@exit109.com
"Who's the more foolish, the fool, or the fool who follows him?"
--Obi-Wan Kenobi
Re: NNTP and partisan politics, or something.
Author: Jeremy
Date: Fri, 29 Jan 1999 00:00
Date: Fri, 29 Jan 1999 00:00
21 lines
1526 bytes
1526 bytes
Russ Allbery <rra@stanford.edu> wrote: > Jeremy <jeremy@exit109.com> writes: > >> Indeed, spammers have been known to insert bogus Lines headers in >> order to thwart filtering. Fixing them will defeat that detection >> criteria. > > Personally, I turned on Lines checking a while back and never looked > back. If the posting server can't generate a correct Lines header, > the post doesn't appear on my server. What sort of fuzz are you using? When the bogus-Lines-bot first showed up, it was varying them mostly within two or three of the real line count, except with binaries. -- Jeremy | jeremy@exit109.com "No mystical energy field controls *my* destiny. It's all a lot of simple tricks and nonsense." --Han Solo
Re: NNTP and partisan politics, or something.
Author: Curt Welch
Date: Fri, 29 Jan 1999 00:00
Date: Fri, 29 Jan 1999 00:00
21 lines
1868 bytes
1868 bytes
Russ Allbery <rra@stanford.edu> wrote: > Jeremy <jeremy@exit109.com> writes: > > > Indeed, spammers have been known to insert bogus Lines headers in order > > to thwart filtering. Fixing them will defeat that detection criteria. > > Personally, I turned on Lines checking a while back and never looked > back. If the posting server can't generate a correct Lines header, the > post doesn't appear on my server. Now that I've spent some time looking at the articles with the bad Lines: headers, I'm thinking that might be a good idea. A large percentage of them are "junk" to some extent anyway. Out of the past 946314 articles, 75716 had a bogus Lines: header (7.4%). So that's a lot of news. But I'm not sure if much of it was worth keeping... -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: NNTP and partisan politics, or something.
Author: Russ Allbery
Date: Fri, 29 Jan 1999 00:00
Date: Fri, 29 Jan 1999 00:00
32 lines
2167 bytes
2167 bytes
Curt Welch <curt@kcwc.com> writes:
> Russ Allbery <rra@stanford.edu> wrote:
>> To me, this is like articles with dates in the future. If it's just an
>> hour or two, then someone's clock is screwy and the fuzz should allow
>> it through. If it's off by a day, it's junk and I don't want it.
> But from my examination, the ones that were really far off, like
> reporting 1,500 but having only 1,000 lines, were not junk. They were
> valid binary postings where the line count was just way off.
Except to me that makes the article junk.
2.2.12. Lines
This contains a count of the number of lines in the body of the
message.
If the server is putting junk in that header, they're generating a
malformatted article according to the RFCs. I'm of the opinion that a
malformatted article is junk by definition, regardless of content, and
that servers should properly reject them. Particularly since the more
servers reject them outright the better chance we have of getting the
broken software actually fixed.
It's possible to be *too* liberal in what one accepts, since being liberal
in what one accepts encourages people to be sloppy in what they generate.
--
Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: NNTP and partisan politics, or something.
Author: Curt Welch
Date: Fri, 29 Jan 1999 00:00
Date: Fri, 29 Jan 1999 00:00
61 lines
4112 bytes
4112 bytes
brad@shub-internet.org (Brad Knowles) wrote: > In article <19990128105515.347$7n@newsreader.com>, curt@kcwc.com (Curt > Welch) wrote: > > > Inn for example will add a Lines: header to any article that doesn't > > already have one - not just when posted, but when transmitted with > > IHAVE/TAKETHIS. > > So, if you strip all bogus "Lines:" headers in articles that reach > your site, the next site down stream from you will probably add a correct > "Lines:" header, right? > > So, what's the theoretical problem with simply stripping "Lines:" > headers if they're bogus? Well, I don't think that's bad - but if you are going to do that, why not replace them with a correct header instead so your users get the benefit? But the issue really is whether the Lines: header should be thought of as original content that should not be touched - like the Date:, Subject:, From:, etc, or whether it's "Local Content" like Xref: that should be updated to match the article as it is on the local server. I think it should be thought of as local content so it should be ok for any server to change it so their users will have the benefit of an accurate Lines: header for all articles. The only real reason the header is there is so readers will have more information about the article. And the primary thing the reader wants to know is how long the article is now, not how long it might have been somewhere else or how long the posting agent "said" it was. But, the reality is that the header is mostly an original content header as it exists today. In most cases, it's created by the posting agent or the posting server and most (if not all) current servers will not touch it as it's transported. So, because of this, people have started to use it in ways that require it not be changed - like using it to help detect and filter truncated posts. Or to use it as one more factor in identifying spam. And if I, or anyone else starts treating the Lines: header as local content and modifying it as it passes though my servers, then I will break the functionality the other admins are currently using. Doing someting that makes life harder (or easier) for our users is a choice we are all free to make, but doing something that makes life harder for our (free) peers is something none of us should do. If the new usenet format RFC redefined Lines: to be local content, and said it was OK to modify it, then it would be ok. But until then, I think it's best if we don't fix articles that pass through our servers. I suspect however that what I will do is to go head and fix the articles that I store on the server, but because it's a reader box, I won't be passing those articles to my peers. There is the danger that someone will start a suck feed from my reader box and send those "fixed" articles out into the world, but I suspect that's not likely to cause much problem even if it does happen. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: NNTP and partisan politics, or something.
Author: Russ Allbery
Date: Fri, 29 Jan 1999 00:00
Date: Fri, 29 Jan 1999 00:00
20 lines
1706 bytes
1706 bytes
Curt Welch <curt@kcwc.com> writes: > Now that I've spent some time looking at the articles with the bad > Lines: headers, I'm thinking that might be a good idea. A large > percentage of them are "junk" to some extent anyway. Out of the past > 946314 articles, 75716 had a bogus Lines: header (7.4%). So that's a > lot of news. But I'm not sure if much of it was worth keeping... I'm using INN's default check, which has a fuzz factor of about 4 or 5 lines. It'd be interesting to see how many still fall outside that; I'm willing to bet most of those articles are within a line or two. To me, this is like articles with dates in the future. If it's just an hour or two, then someone's clock is screwy and the fuzz should allow it through. If it's off by a day, it's junk and I don't want it. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: NNTP and partisan politics, or something.
Author: Brian Edmonds
Date: Fri, 29 Jan 1999 00:00
Date: Fri, 29 Jan 1999 00:00
20 lines
2337 bytes
2337 bytes
Curt Welch <curt@kcwc.com> writes: > Now that I've spent some time looking at the articles with the bad > Lines: headers, I'm thinking that [dropping them] might be a good > idea. I think it would be even more interesting to divide them into a couple buckets: those within, say 5% of the value in the header, and those that are completely whacked out. I'd hope those outside a reasonable fuzz factor would be 99%+ garbage, and could be summarily dropped without worries. But some empirical evidence would be nice to back up that wild assertion. :) -- o Brian Edmonds <bedmonds@cs.ubc.ca>, Team Jubal Mech Labs \\_/\_, Moderator: rec.arts.anime.creative, rec.music.info/reviews (*) (*) Are you tired of spam? Visit http://www.spam.abuse.net/spam/
Re: NNTP and partisan politics, or something.
Author: Russ Allbery
Date: Fri, 29 Jan 1999 00:00
Date: Fri, 29 Jan 1999 00:00
19 lines
1398 bytes
1398 bytes
Jeremy <jeremy@exit109.com> writes: > Russ Allbery <rra@stanford.edu> wrote: >> That's not enough to screw with my spam filter, so I don't care. The >> reason why I turned it on originally was because I do various >> optimizations in the filter based on the number of lines in the >> message, and I wanted to just use the Lines header and not worry about >> it being fooled that way. > That's why I started counting body lines in Cleanfeed, rather than using > the Lines header... It's faster in C code. INN has to do most of the work anyway as it reads in the data. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: NNTP and partisan politics, or something.
Author: Russ Allbery
Date: Fri, 29 Jan 1999 00:00
Date: Fri, 29 Jan 1999 00:00
15 lines
1138 bytes
1138 bytes
Jeremy <jeremy@exit109.com> writes:
> Russ Allbery <rra@stanford.edu> wrote:
>> It's faster in C code. INN has to do most of the work anyway as it
>> reads in the data.
> Okay, make INN give that to Perl and I'll use it instead. :)
Turn on Lines header checking and use $hdr{Lines}. :) (Yeah, yeah, I
know....)
--
Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: NNTP and partisan politics, or something.
Author: Fluffy
Date: Sat, 30 Jan 1999 00:00
Date: Sat, 30 Jan 1999 00:00
27 lines
1859 bytes
1859 bytes
Jeremy <jeremy@exit109.com> wrote: > Okay, make INN give that to Perl and I'll use it instead. :) But you'd still need to do it anyway for the Highwind interface, right? FWIW, I'm thinking it would be k3wl to have an extended version of that interface. Instead of starting right in with the article, send a pseudocommand like FILTERTHIS xxx yyyy <article...> . where xxx and yyy are the true line and byte counts. And expanding the response k0dez so there can be more actions than 'keep' or 'drop' -- like, file it in junk, keep but don't propagate, keep but mark hidden, etc. Might be best to append that kind of thing to the 435 line so that less goofy servers don't have to know how to deal with every case. But then again, I'm probably alone in thinking that accept/reject isn't enough. -- "Meow." --me
Re: NNTP and partisan politics, or something.
Author: Fluffy
Date: Sat, 30 Jan 1999 00:00
Date: Sat, 30 Jan 1999 00:00
18 lines
1544 bytes
1544 bytes
BARRY BOUWSMA IS A PROUD MEMBER OF NAMBLA <fluffy@vszbr.cz> wrote: > On 30 Jan 1999, Fluffy wrote: > > > But then again, I'm probably alone in thinking that accept/reject isn't > > enough. > > Are NOT. AM TOO!! And I've got the negatives to prove it. > but you probably are in actually using the code that i wrote... Could be. I run a lot of things of suspicious origin. Which chunk o'code? -- "Meow." --me
Re: NNTP and partisan politics, or something.
Author: Brad Knowles
Date: Sat, 30 Jan 1999 00:00
Date: Sat, 30 Jan 1999 00:00
27 lines
2234 bytes
2234 bytes
In article <19990130115032.667$FX@newsreader.com>, curt@kcwc.com (Curt
Welch) wrote:
> brad@shub-internet.org (Brad Knowles) wrote:
>
> > Then I would encourage you to get on the USEFOR mailing list ....
>
> Good idea, but I don't have the energy to deal with that. Been there, done
> that. I'm content with throwing out ideas but I'll let others debate their
> merits to death.
Then I'll try to carry the banner in USEFOR, at least for the moment.
However, I could use some help, especially from names they're more likely
to recognize than mine. ;-)
> I'd suggest they add a few comments along the lines (no pun intended) of:
I'm waiting to see what the other responses are before I come up with
any recommended text.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
<http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
If you wouldn't take out a one-page ad in the Wall Street
Journal to say something, then don't say it by email.
Re: NNTP and partisan politics, or something.
Author: Fluffy
Date: Sat, 30 Jan 1999 00:00
Date: Sat, 30 Jan 1999 00:00
43 lines
2602 bytes
2602 bytes
Russ Allbery <rra@stanford.edu> wrote: > 2.2.12. Lines > > This contains a count of the number of lines in the body of the > message. > > If the server is putting junk in that header, they're generating a > malformatted article according to the RFCs. Since 1036 is basically a description of B2.11, I find it helpful to keep a copy of those sources around for all these wacky ambiguities. This comment is in inews.c: /* * Check line count if there's already one attached to * the article. Could make this a fatal error - * throwing it away if it got chopped, in hopes that * another copy will come in later with a correct * line count. But that seems a bit much for now. */ The program does log a warning here, though. ---- C News doesn't appear to do any Lines: checking at all. It doesn't add it to articles in transit, and by default doesn't add them at posting time either -- with the following comment in pnews: # POLICY: don't generate Lines: because it is optional, munged in transit # by B News to make the count incorrect, and not pulling its weight. ---- INN likes to add Lines: in transit when missing, no comments in the source or patchlevel stuff as to why. And of course, it can drop articles with existing bad ones. ---- How delightfully inconsistent! My brane is hurting again. -- "Meow." --me
Re: NNTP and partisan politics, or something.
Author: Greg Andrews
Date: Sat, 30 Jan 1999 00:00
Date: Sat, 30 Jan 1999 00:00
15 lines
1040 bytes
1040 bytes
Jeremy <jeremy@exit109.com> writes: >Greg Andrews <gerg@shell1.ncal.verio.com> wrote: > >> There should be only one exception, and that's the empty line that >> separates the headers from the body. > >Since that's not part of the body, it's not an exception. > Agreed. I was trying to be as clear as I could, overstating the case redundantly. -Greg
Re: NNTP and partisan politics, or something.
Author: Brad Knowles
Date: Sat, 30 Jan 1999 00:00
Date: Sat, 30 Jan 1999 00:00
42 lines
2749 bytes
2749 bytes
In article <ylyaml4qd1.fsf@windlord.stanford.edu>, Russ Allbery
<rra@stanford.edu> wrote:
> Except to me that makes the article junk.
>
> 2.2.12. Lines
>
> This contains a count of the number of lines in the body of the
> message.
>
> If the server is putting junk in that header, they're generating a
> malformatted article according to the RFCs. I'm of the opinion that a
> malformatted article is junk by definition, regardless of content, and
> that servers should properly reject them.
Then I would encourage you to get on the USEFOR mailing list (which is
working on the upcoming grandson-of-1036 standards) and make your opinions
known. I've recently brought this issue up there, but I haven't seen any
responses yet.
> It's possible to be *too* liberal in what one accepts, since being liberal
> in what one accepts encourages people to be sloppy in what they generate.
Agreed.
Myself, I don't really care too much what happens with the "Lines:"
header -- I just want to have the standard say that everything that
doesn't match should be rejected, or the header should be corrected, or
everyone should ignore it.
What I don't want is some wishy-washy statement about what the header
SHOULD be interpreted to mean, but that no one SHOULD depend on it, and
have it say nothing more.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
<http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
If you wouldn't take out a one-page ad in the Wall Street
Journal to say something, then don't say it by email.
Re: NNTP and partisan politics, or something.
Author: Jeremy
Date: Sat, 30 Jan 1999 00:00
Date: Sat, 30 Jan 1999 00:00
15 lines
1224 bytes
1224 bytes
Fluffy <meowing@banet.net> wrote: > But then again, I'm probably alone in thinking that accept/reject isn't > enough. No, I think that too. I would like to be able to "tag" articles differently, for example to accept misplaced binaries but only send them out to certain feeds. -- Jeremy | jeremy@exit109.com "How extravagant you are, throwing away women like that. Someday they may be scarce." (Casablanca)
Re: NNTP and partisan politics, or something.
Author: Jeremy
Date: Sat, 30 Jan 1999 00:00
Date: Sat, 30 Jan 1999 00:00
12 lines
1083 bytes
1083 bytes
Greg Andrews <gerg@shell1.ncal.verio.com> wrote: > There should be only one exception, and that's the empty line that > separates the headers from the body. Since that's not part of the body, it's not an exception. -- Jeremy | jeremy@exit109.com "Never tell me the odds." --Han Solo
Re: NNTP and partisan politics, or something.
Author: Fluffy
Date: Sat, 30 Jan 1999 00:00
Date: Sat, 30 Jan 1999 00:00
23 lines
1936 bytes
1936 bytes
Jeremy <jeremy@exit109.com> wrote: > Greg Andrews <gerg@shell1.ncal.verio.com> wrote: > > > There should be only one exception, and that's the empty line that > > separates the headers from the body. > > Since that's not part of the body, it's not an exception. There was some old stuff that would chop multiple blank lines between header and body to one, and truncate trailing blank lines. In transit. And then subtract 2 (or something like that) from the total just for the heck of it. Lots of these stupid tricks were attempts by newer servers to make up for the sins of older releases. Now, the goal there is a good one, to avoid propagating damaged articles; but dropping instead of "fixing" seems to be the way to go, since a server can't know it's fixing the right kind of damage. Or just ignore it, if the article isn't clearly damaged. -- "Meow." --me
Re: NNTP and partisan politics, or something.
Author: Jeremy
Date: Sat, 30 Jan 1999 00:00
Date: Sat, 30 Jan 1999 00:00
17 lines
1176 bytes
1176 bytes
Fluffy <meowing@banet.net> wrote:
>>> But then again, I'm probably alone in thinking that accept/reject isn't
>>> enough.
>>
>> Are NOT.
>
> AM TOO!! And I've got the negatives to prove it.
The lurkers reject you in email?
--
Jeremy | jeremy@exit109.com
"...by God I *KNOW* what this network is for, and you can't have it."
--Russ Allbery
Re: NNTP and partisan politics, or something.
Author: Greg Andrews
Date: Sat, 30 Jan 1999 00:00
Date: Sat, 30 Jan 1999 00:00
26 lines
1718 bytes
1718 bytes
curt@kcwc.com (Curt Welch) writes: > >The real problem here isn't whether a server should or should not fix >the header. The problem is that so many clients are adding bogus headers. >So lets get people used to the idea that the header, if present, is >expected to be _exactly_ correct (not +- some fuzz factor). > I agree with that. Further, the Lines: header is the count of ALL the lines in the body. The quote earlier tried to say that empty lines at the start and end of the body wouldn't be counted. It seems absurd to have that kind of exception in the definition of which lines to count. It's extremely vulnerable to confusion on the part of newsreader authors, and produces the kind of situation being discussed in this thread. A line is a line is a line, and should be counted whether or not it's empty, and whether or not it's at the top, bottom, or somewhere in the middle. There should be only one exception, and that's the empty line that separates the headers from the body. -Greg
Re: NNTP and partisan politics, or something.
Author: Curt Welch
Date: Sat, 30 Jan 1999 00:00
Date: Sat, 30 Jan 1999 00:00
57 lines
3614 bytes
3614 bytes
brad@shub-internet.org (Brad Knowles) wrote: > In article <ylyaml4qd1.fsf@windlord.stanford.edu>, Russ Allbery > <rra@stanford.edu> wrote: > Then I would encourage you to get on the USEFOR mailing list .... Good idea, but I don't have the energy to deal with that. Been there, done that. I'm content with throwing out ideas but I'll let others debate their merits to death. What you quoted from their work looks like it was lifted straight out of son-of-1036 so it looks like they haven't added anything new - which isn't surprising. This isn't one of the hot spots of the standard. (It's not even a warm spot). I'd suggest they add a few comments along the lines (no pun intended) of: Some news servers will reject articles which have a Lines: header with an invalid count. If the client can't accurately calculate the number of lines in the body, then it should not add the Lines: header. Let the news server do it. And they should reword the stuff about it not being very accurate so people don't mistake that to mean it's OK for this header to be only an estimate of the number of lines. The real problem here isn't whether a server should or should not fix the header. The problem is that so many clients are adding bogus headers. So lets get people used to the idea that the header, if present, is expected to be _exactly_ correct (not +- some fuzz factor). It should be OK for servers to add the header if it's not present, but if it's wrong they shouldn't remove it or change it. They should either reject/drop the article or ignore the problem. > > It's possible to be *too* liberal in what one accepts, since being > > liberal in what one accepts encourages people to be sloppy in what they > > generate. Good point. > Myself, I don't really care too much what happens with the "Lines:" > header -- I just want to have the standard say that everything that > doesn't match should be rejected, or the header should be corrected, or > everyone should ignore it. > What I don't want is some wishy-washy statement about what the header > SHOULD be interpreted to mean, but that no one SHOULD depend on it, and > have it say nothing more. I suspect that's how most people would feel if they thought about it. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: NNTP and partisan politics, or something.
Author: Jeremy
Date: Sat, 30 Jan 1999 00:00
Date: Sat, 30 Jan 1999 00:00
16 lines
1215 bytes
1215 bytes
Russ Allbery <rra@stanford.edu> wrote: > Jeremy <jeremy@exit109.com> writes: > >> That's why I started counting body lines in Cleanfeed, rather than >> using the Lines header... > > It's faster in C code. INN has to do most of the work anyway as it > reads in the data. Okay, make INN give that to Perl and I'll use it instead. :) -- Jeremy | jeremy@exit109.com Here's a nickel, kid. Go buy yourself a real computer.
Re: NNTP and partisan politics, or something.
Author: BARRY BOUWSMA IS A PROUD MEMBER ...
Date: Sat, 30 Jan 1999 00:00
Date: Sat, 30 Jan 1999 00:00
12 lines
1226 bytes
1226 bytes
On 30 Jan 1999, Fluffy wrote: > But then again, I'm probably alone in thinking that accept/reject isn't > enough. Are NOT. but you probably are in actually using the code that i wrote...
Re: NNTP and partisan politics, or something.
Author: Fluffy
Date: Sun, 31 Jan 1999 00:00
Date: Sun, 31 Jan 1999 00:00
17 lines
1559 bytes
1559 bytes
Jeremy <jeremy@exit109.com> wrote: > Fluffy <meowing@banet.net> wrote: > > > But then again, I'm probably alone in thinking that accept/reject isn't > > enough. > > No, I think that too. I would like to be able to "tag" articles differently, > for example to accept misplaced binaries but only send them out to certain > feeds. Right, that kind of thing. News servers aren't really made to think that way right now; the filtering interfaces aren't really integrated and it shows. -- The lurkers reject me in email.
Re: NNTP and partisan politics, or something.
Author: please post pix of naked pre-tee...
Date: Tue, 02 Feb 1999 00:00
Date: Tue, 02 Feb 1999 00:00
26 lines
2005 bytes
2005 bytes
On 29 Jan 1999, Fluffy wrote: > whether articles that have characters that don't belong there in the > wire fromat should be propagated; sending them along may be nice for > the top 1000 <spit> stats, but helping to propagating damage doesn't > strike me as a great idea. Bah, who cares what you propagate, so long as you are able to propagate it? There's only one thing that matters, and that's where our rankness is today. If it means truncating binariez after ten lines and propagating them faster than someone else who tries to send the whole thing, then that's what I'll do. If it means munging message IDs to create a whole bunch of new messages that all have my pathhost, so be it. Of course, you know, this is war. Given that INN earlier than 2.x is guaranteed to propagate raw binary posts chopped off after the first NUL character in their true damaged format, I'm not at all concerned with perpetuating a long-standing tradition for the sake of the only thing that matters anymore. Or something like that. Is my beer ready yet?
Re: NNTP and partisan politics, or something.
Author: hipQrimE
Date: Sat, 06 Feb 1999 00:00
Date: Sat, 06 Feb 1999 00:00
15 lines
1724 bytes
1724 bytes
please post pix of naked pre-teen boys <barry@post.tele.dk> wrote: Supersedes: Given that INN earlier than 2.x is guaranteed to propagate raw Supersedes: binary posts chopped off after the first NUL character in their Supersedes: true damaged format, I'm not at all concerned with perpetuating Supersedes: a long-standing tradition for the sake of the only thing that Supersedes: matters anymore. Okay. I'll transmit everything in 5 bits to speed it up. Supersedes: Or something like that. Is my beer ready yet? I'd never even heard of this Rebel stuff 'til this week.
Re: NNTP and partisan politics, or something.
Author: BARRY BOUWSMA IS A PEDOPHILE
Date: Sun, 14 Feb 1999 00:00
Date: Sun, 14 Feb 1999 00:00
53 lines
3188 bytes
3188 bytes
On 11 Feb 1999, fluffY wrote: > WHOA, HOW'D WE END UP HERE?!!!@@!!!1! SORRY, I'LL PUT IT BACK WHERE I GOT IT!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! AN' MY MOMMA TAUGHT ME TO WASH MY HANDS AFTER PUTTING THE TOILET SEAT DOWN TOO, SO 'TS OKIE-DOKIE F'R YA TA SHAKE MY HANDS, RIGHT? > > Rebel stuff? Ha, I've got Black Death Beer, what else? > The stuff the guy next door makes. It doesn't have a name, for the > same reason the critters that are destined to become dinner don't get > names. IF RONALD REAGAN WERE STILL ALIVE, CHOCOLATE WOULD BE A VEGETABLE TOO. AND I WOULDN'T BE MALNOURISHED! BUILDS STRONG HEALTHY TEETH WITHOUT GETTING THAT NASTY GREEN GUNK CAUGHT BETWEEN THEM UNDER THE MISTLETOE!!!@!!! All *my* cats done got names. Hrmmph. > > at the BVV in Brno, Czechistan (see http://www.bvv.cz/ ) > > afraid I'd be filtered out of existence at the city line. WELL THAT'S OKAY TOO BECAUSE YOU CAN GO TO VINEX AND DIG THROUGH THE DREGGY BARREL BOTTOM FOR EVERYTHING THEY DON'T WANT TO LET INTO THE BOTTLE, OLD CLOGS, CIGARETTE BUTTS, WOODEN LEGS, SMALL CHILDREN, LEFTOVERS FR'M THE GRAPE STOMPIN' HAY, DID S'MEONE SAY SMALL CHILDREN... > I'll go alert customs. SEEMS T'BE MORE OF A PROBLEM GETTING BACK FROM CZECHISTAN INTO THE CIVILZED COUNTRIES, AT LEAST FOR ME, BUT THAT'S OKIE CUZ THIS TIME I'M BOOKED MESELF ONTO AN EARLY TRAIN. CAN I SLEEP YET, HUH? OR DO I HAVE TO LISTEN TO MORE OF THIS SO-CALLED DANCE MUSIC, EH? HAY WAIT, THEM GRAPES ARE ... LIKE ... PURPLE!!!!!@!!! AN' THEM WINE GLASSES, THEM LOOKS LIKE... UM.... OH NO! I'M CARRYING AROUND A BIG MAGIC BAG, I MUST BE A MENACE TO YOUR CHILDREN!!!! MUAHAHA!!!!!!!!!!!!!!!!!!!!!! hello? this thing on?
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