🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
68 messages
68 total messages Page 2 of 2 Started by Andrew Gierth Sat, 26 Feb 2000 00:00
Page 2 of 2 • 68 total messages
Re: [NNTP Draft] 9.4 The LIST Keyword (includes OVER & PAT)
#44763
Author: Jeremy
Date: Fri, 03 Mar 2000 00:00
44 lines
2640 bytes
Andrew <andrew@supernews.com> wrote:

> So instead you want the server to devote more resources, in order to be
> able to handle HEADERS (or XHDR or XPAT) on arbitrary headers without
> thrashing itself to death fetching articles.

Well, yes; only allowing XHDR on overview headers significantly reduces
the functionality available via NNTP.

> Doing HEAD on every article in the group could well be less strain on the
> server than doing HEADERS X-Meow *? where there are few matches, unless
> the X-Meow headers have been pre-indexed as the overview headers are.

Really?  I'll take your word on that; you would know better than I.

But it's still slower, and uses more resources, and is more annoying to
the user.

> Pre-indexing all the headers in turn impacts on the performance of XOVER
> (or XHDR, XPAT or HEADERS on overview headers), or alternatively impacts
> on the performance of the incoming article spooler, depending on how the
> indexes are organized.

As a tradeoff, I'll take it.  The added functionality would be worth it.
The thing is, I'm seeing *reduced* functionality (XHDR only on overview
headers) for the sake of making things easier at the server side, and I
don't think that's a good thing, going forward.

>> My theory is that if HEADERS were required to return any arbitrary header,
> 
> My theory is that such a requirement will be ignored by at least some
> implementors.

But if it were, then at least when someone does it and starts breaking
newsreaders, there will be something to point to when yelling at them,
which isn't quite the case with limiting XHDR to overview headers.
(Which caused at least one newsreader to crash -- a problem with the
client, certainly, but caused by the assumption that if XHDR worked,
it would work no matter what header was being asked for.)

-- 
Jeremy  (  jeremy@exit109.com  |  bofh@netscum.dk  )

Re: [NNTP Draft] 9.4 The LIST Keyword (includes OVER & PAT)
#44776
Author: Chunk Light Fluffy
Date: Fri, 03 Mar 2000 00:00
46 lines
2400 bytes
Jeremy wrote:
> Chunk Light Fluffy <meowing@banet.net> wrote:
> Not really -- we're talking overview-like responses, so you have the whole
> response on one line in the returned data.  If you concat them with
> whitespace, you won't be able to tell the difference between two instances
> of a header, and one header with two things in it.

It can be done but it needs a continuation character of some sort. 
Let's say for the hell of it that the continuificationalizer is a
colon:

[warning: totally bogus headers follow]
	xref: meowhost sci.meow:45
	from: pedophile@example.net
	message-id: <1@1.1>
	x-meow: first
	   second
	x-meow: :honk:
	x-meow: woof
	
	=-=-=-=
	
	xref: meowhost sci.meow:46
	from: netscum@cabal.invalid
	message-id: <2@2.2>
	x-meow: Meow
	
[warning: totally bogus syntax follows]
	HEADERS from,x-meow,message-id 45-46
	299 from,x-meow.message-id headers follow\r\n
	45\tpedophile@example.net\tfirst second\r\n
	::honk:\r\n
	:woof\t<1@1.1>\r\n
	46\tnetscum@cabal.invalid\tMeow\t<2@2.2>\r\n
	.\r\n

[...]
> My theory is that if HEADERS were required to return any arbitrary header,
> then server implementations wouldn't bother restricting XHDR anymore either,
> and life would be better all around both for people using HEADERS commands
> and for people not using them.

Okay, but I want all the headers on this thing or I'll stamp my feet
and hold my breath 'til I turn purple.

Re: [NNTP Draft] 9.4 The LIST Keyword (includes OVER & PAT)
#44778
Author: Andrew Gierth
Date: Fri, 03 Mar 2000 00:00
31 lines
2081 bytes
>>>>> "Chunk" == Chunk Light Fluffy <meowing@banet.net> writes:

 Chunk> It can be done but it needs a continuation character of some sort. 
 [...]
 Chunk> [warning: totally bogus syntax follows]
 Chunk> 	HEADERS from,x-meow,message-id 45-46
 Chunk> 	299 from,x-meow.message-id headers follow\r\n
 Chunk> 	45\tpedophile@example.net\tfirst second\r\n
 Chunk> 	::honk:\r\n
 Chunk> 	:woof\t<1@1.1>\r\n
 Chunk> 	46\tnetscum@cabal.invalid\tMeow\t<2@2.2>\r\n
 Chunk> 	.\r\n

I think my reaction to that can best be summed up as "Ewwwww".

How about another option: if there are multiple copies of a header,
return the first one that matches.

Or another option: allow the client to specify whether it is
interested in multiple values. e.g.

 C: HEADERS from,x-meow,,,message-id 45-46
 S: 299 from,x-meow,,,message-id headers follow
 S: 45\tpedophile@example.net\tfirst second\t:honk:\twoof\t<1@1.1>
 S: 46\ttnetscum@cabal.invalid\tMeow\t\t\t<2@2.2>\r\n
 S: .

-- 
Andrew.

Re: Headers command (was: [NNTP Draft] 9.4 The LIST Keyword (includes OVER & PAT))
#44788
Author: J. Moreno
Date: Sat, 04 Mar 2000 00:00
44 lines
2663 bytes
In article <20000304003223.202$fO@newsreader.com>, Curt Welch
<curt@kcwc.com> wrote:

> "J. Moreno" <planb@newsreaders.com> wrote:
> > In article <20000228025703.219$Yt@newsreader.com>, Curt Welch
> > <curt@kcwc.com> wrote:
> >
> > > But, in writing this, I came up with this syntax by accident
> > > which even I think is kinda neat:
> > >
> > >   HEADERS 1- Message-ID From:*Jeremy* Subject:*NNTP* X-Meow
> >
> > Is there an implementation reason to make the pattern case sensitive?
> > At least for a-zA-Z I think insensitive would be a lot better.
> 
> It's the wildmat standard which is used everywhere else in NNTP
> currently.

I guess it's good to stick with established standards, and as you say
below, it's easy enough for a client to modify it.
 
> Though it's a bitch to type, you can always do it like this:
> 
>    HEADERS 1- From:*[Jj][Ee][Rr][Ee][Mm][Yy]*
> 
> And that's easy for a client to generate to turn a user query into a
> case insensitive search.  You were the one that posted the output of
> a newsreader which was doing this right?

Yeah.  YANW, doing it for an XPAT search.

> If you make it always case insensitive then they could never do a case
> sensitive search.

I'd consider that a good trade for being able to easily do searches by
hand using telnet -- but possibly that's just because I'm doing it by
hand using telnet.  If the newsreader supported it, I'd probably fill
different.

-- 
J. B. Moreno
Pessimist: Half empty      Optimist: Half full     Engineer: Wrong size glass

Re: Headers command (was: [NNTP Draft] 9.4 The LIST Keyword (includes OVER & PAT))
#44798
Author: Curt Welch
Date: Sat, 04 Mar 2000 00:00
31 lines
2144 bytes
"J. Moreno" <planb@newsreaders.com> wrote:
> In article <20000228025703.219$Yt@newsreader.com>, Curt Welch
> <curt@kcwc.com> wrote:
>
> > But, in writing this, I came up with this syntax by accident
> > which even I think is kinda neat:
> >
> >   HEADERS 1- Message-ID From:*Jeremy* Subject:*NNTP* X-Meow
>
> Is there an implementation reason to make the pattern case sensitive?
> At least for a-zA-Z I think insensitive would be a lot better.

It's the wildmat standard which is used everywhere else in NNTP
currently.

Though it's a bitch to type, you can always do it like this:

   HEADERS 1- From:*[Jj][Ee][Rr][Ee][Mm][Yy]*

And that's easy for a client to generate to turn a user query into a case
insensitive search.  You were the one that posted the output of a
newsreader which was doing this right?

If you make it always case insensitive then they could never do a case
sensitive search.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: Technical Issue on Header Indexing (was: [NNTP Draft] 9.4 The LIST Keyword (includes OVER & PAT))
#44810
Author: Cabal Watcher
Date: Sun, 05 Mar 2000 00:00
43 lines
2723 bytes
On 1 Mar 2000 22:28:42 -0600, "Buff�rd L. H�tchett" <bufford@hattchett.net> wrote:

>STEVEN GUY POLIS DOWNLOADS KIDDIE PORN FROM EXILED CZECH PEDOPHILE BARRY
>BOUWSMA wrote:
>> 
>> On 1 Mar 2000 12:15:47 -0600, Earl Camembert
>> <camembert@falbo.sctv.org> wrote:
>> 
>> >Concerned Meower wrote:
>> >>
>> >> In article <87r9dw1yqz.fsf@erlenstar.demon.co.uk>, Andrew Gierth mewled:
>> >> >
>> >> >>>>>> "Curt" == Curt Welch <curt@kcwc.com> writes:
>> >> >
>> >> > >> A server would actually be better off indexing *all* the headers
>> >> > >> in an article,
>> >> >
>> >> > Curt> I think this HEADERS command will encourage future designs to
>> >> > Curt> do just that.
>> >> >
>> >> >How do you suggest multiple instances of a header be handled?
>> >> >
>> >> >(As a server implementor, I personally don't feel that the overhead of
>> >> >indexing 24kbytes per post of meower vanity headers is really worth it
>> >> >just to support HEADERS X-Fuckkkhead * or whatever.)
>> >>
>> >> That would be X-FucKKKhead when Stan KKKalisch is mentioned.
>> >> Any others come to mind?
>> >
>> >Andrew seems to be working on it.
>> 
>> He does seem the type to think of "k" as a letter
>> which is best presented with 2 other uniquely identical
>> letters, e.g. KKK.  It must give him something to do
>> in between his NAMBLA officer board meetings.
>
>Is a known bottom like Andrew allowed to be an officer
>of anything?

He served in the Army under Sargeant Gaylord.


Re: [NNTP Draft] 9.4 The LIST Keyword (includes OVER & PAT)
#44834
Author: J. Moreno
Date: Mon, 06 Mar 2000 00:00
37 lines
2468 bytes
In article <1r1z5naffa.fsf@haey.ifi.uio.no>, Kjetil Torgrim Homme
<kjetilho@haey.ifi.uio.no> wrote:

> (apologies for the late reply)

S'Okay.

> [J. Moreno]
> 
> >   <0000012C< XPAT From 39137-41292
> >   *[Ww][Ee�83��8E��8F��90��91�][Ll][Cc�82��8D�
> >   <00000159< ][Hh]*  
> 
> [Kjetil T. Homme]
> 
> >   The character set seems completely broken, though.  Should the
> >   server normalise the headers into a specific character set?  That
> >   is, de-RFC1522 them into UTF-8?
> 
> [J. Moreno]
> 
> >   I don't see why, the client could/should have a better idea of
> >   what is being used and can do any conversion that is necessary.
> 
> No, the client has no idea of what is being used.  The articles on
> the server has Subject headers coded by a zillion different
> newsreaders, configured differently by a similar amount of users.

The client can get that info from the user (which is what I meant, and
the user can know what is being used (or supposed to be used) in a
group.

-- 
J. B. Moreno
Pessimist: Half empty      Optimist: Half full     Engineer: Wrong size glass

Re: [NNTP Draft] 9.4 The LIST Keyword (includes OVER & PAT)
#44848
Author: Kjetil Torgrim Homme
Date: Mon, 06 Mar 2000 00:00
42 lines
2367 bytes
(apologies for the late reply)

[J. Moreno]

>   <0000012C< XPAT From 39137-41292
>   *[Ww][Ee�83��8E��8F��90��91�][Ll][Cc�82��8D�
>   <00000159< ][Hh]*  

[Kjetil T. Homme]

>   The character set seems completely broken, though.  Should the
>   server normalise the headers into a specific character set?  That
>   is, de-RFC1522 them into UTF-8?

[J. Moreno]

>   I don't see why, the client could/should have a better idea of
>   what is being used and can do any conversion that is necessary.

No, the client has no idea of what is being used.  The articles on the
server has Subject headers coded by a zillion different newsreaders,
configured differently by a similar amount of users.

just send 8-bits:  (not conformant, but widely in use)
  Subject: bl�b�rsyltet�y

quoted-printable:
  Subject: =?ISO-8859-1?Q?bl=E5b=E6rsyltet=F8y?=

base64:
  Subject: =?ISO-8859-1?B?YmzlYuZyc3lsdGV0+Hk?=

utf-8:
  Subject: blåbærsyltetøy

It is not practical for a client to emit all the possible wildmats to
cover these encodings.


Kjetil T.

Re: [NNTP Draft] 9.4 The LIST Keyword (includes OVER & PAT)
#44866
Author: Kjetil Torgrim Homme
Date: Tue, 07 Mar 2000 00:00
13 lines
1638 bytes
[J. Moreno]

>   The client can get that info from the user (which is what I meant,
>   and the user can know what is being used (or supposed to be used)
>   in a group.

I submit that this is not workable.  All these encodings (well, except
UTF-8) are in use on no.* today, for example.


Kjetil T.

Re: [NNTP Draft] 9.4 The LIST Keyword (includes OVER & PAT)
#44945
Author: Marshmallow Fluffy
Date: Thu, 09 Mar 2000 00:00
71 lines
4172 bytes
[playing with odd lynx options here, so advance apologies if formatting goes
to hell.]

Curt Welch wrote:
> Or you could just use some other control character to separate
> the multiple headers (say \01 - ASCII Start of Header :)):
>
>   HEADERS 45-46 from x-meow
>   221 From X-meow headers follow
>   45\tpedophile@example.net\tWoff1\01Woff2\01Woff3
>   46\tnetscum@cabal.invalid\tMeow
>   .

This has good potential.  It also stands a better chance of offering
backward compatibility with older score code that gets retrofitted to the
newer commands (the typical application I foresee on this kind of thing is
"I want to score down anything that has an X-Meow: containing a woof.") The
primary headers usually used in article list displays are already more or
less guaranteed to be unique so the duplicate issue doesn't apply to them.

(This reader really does include X-Meow: in its default header displays, but
it's a pretty safe bet that feature won't be propagated too widely; and at
that point it's using "real" headers rather than anything from an
overview-ish command anyway.)

> You would want to pick a control character that had the least possible
> chance of being used in a header. I don't know much about all the other
> character sets used, or proposed, so I don't know of ^A would be best.

It can always be doubled in the odd case that one actually does appear in
the wild, so it shouldn't matter too too much.  UTF-8 avoids the control
range, so pretty much any uncommon control char should work.

> \r or \n are options here as well but I suspect that would cause too
> many problems.

Way too many, since so many libraries take "be liberal in what you accept"
to heart when it comes to line endings.

> I think the wildmat pattern would be applied to each header separately and
> if it matched any of the multiple headers, it would be counted as a match.
>
> So

YM "Zo." HTH HAND M.

>   HEADERS 45-46 from x-meow:Woff2
>
> would match article 45 from the example above.

Okay, but "Woff2" is a really strange thing to put into a header.

> My first thought on whether you should support duplicate headers is that
> it's not needed for the "real" headers in use on Usenet today, and doing so
> would only encourage people to use duplicates in the future.

They happen, particularly in moderated groups.  Also, we're going to have
some ugly chained proxy arrangements out there for a long time to come, with
variations on X-NNTP-Posting-Host well after the newfangled paths with @
and , and % (oh my!) appear.

> But my second thought is if we don't support it, then one day down the
> road we will be back here again talking about adding the ALLHEADERS command
> to deal with the fact that HEADERS doesn't work right.  So now I'm thinking
> it might be the right thing to do.

That's just it.  The X command problem shows how anything that catches on
will be effectively set in stone, so we might not even be able to really fix
it later.

Re: [NNTP Draft] 9.4 The LIST Keyword (includes OVER & PAT)
#44947
Author: Andrew Gierth
Date: Thu, 09 Mar 2000 00:00
27 lines
2222 bytes
>>>>> "Curt" == Curt Welch <curt@kcwc.com> writes:

 Curt> Or you could just use some other control character to separate
 Curt> the multiple headers (say \01 - ASCII Start of Header :)):

 Curt>   HEADERS 45-46 from x-meow
 Curt>   221 From X-meow headers follow
 Curt>   45\tpedophile@example.net\tWoff1\01Woff2\01Woff3
 Curt>   46\tnetscum@cabal.invalid\tMeow
 Curt>   .

 Curt> You would want to pick a control character that had the least
 Curt> possible chance of being used in a header.

That's not an issue, because control characters in headers are
converted to whitespace anyway. Any character other than NUL,TAB,CR or
LF could be used. Good candidates might be 28-31 (28=field separator,
29=group separator, 30=record separator, 31=unit separator).

I think it would be useful, though, for the client to be able to
specify whether or not it wants all the headers or just the first one;
consider an article with 100 X-Meow headers for example.

-- 
Andrew.

Re: [NNTP Draft] 9.4 The LIST Keyword (includes OVER & PAT)
#44956
Author: Curt Welch
Date: Thu, 09 Mar 2000 00:00
40 lines
2706 bytes
Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote:
> >>>>> "Curt" == Curt Welch <curt@kcwc.com> writes:
>
>  Curt> Or you could just use some other control character to separate
>  Curt> the multiple headers (say \01 - ASCII Start of Header :)):
>
>  Curt>   HEADERS 45-46 from x-meow
>  Curt>   221 From X-meow headers follow
>  Curt>   45\tpedophile@example.net\tWoff1\01Woff2\01Woff3
>  Curt>   46\tnetscum@cabal.invalid\tMeow
>  Curt>   .
>
>  Curt> You would want to pick a control character that had the least
>  Curt> possible chance of being used in a header.
>
> That's not an issue, because control characters in headers are
> converted to whitespace anyway.

Good point.  So any character set in use today or in the future which
tried to use control characters wouldn't work with XOVER anyway so
it's not likely that any character sets like that are used.

> I think it would be useful, though, for the client to be able to
> specify whether or not it wants all the headers or just the first one;
> consider an article with 100 X-Meow headers for example.

Useful maybe, but I don't think it's really needed.  Consider for example
one X-Meow: header with 100 Meow-Woufs.  Would you also want a way to limit
the max number of characters in any one header?

There's no limit to the size of a single header now -- it can be folded
to as many lines as required.  So you are just as likely to be bitten by
someone playing games with very long headers as you are with someone
playing games with lots of dups.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: [NNTP Draft] 9.4 The LIST Keyword (includes OVER & PAT)
#44963
Author: Chunk Light Fluffy
Date: Thu, 09 Mar 2000 00:00
27 lines
1943 bytes
Andrew Gierth wrote:

[weird escape scmeme]
> I think my reaction to that can best be summed up as "Ewwwww".

Yeah, I tend to have that effect on people.

> How about another option: if there are multiple copies of a header,
> return the first one that matches.

No good if the second occurence has whatever it is I'm hoping to use in
my score file.

> Or another option: allow the client to specify whether it is
> interested in multiple values. e.g.
> 
>  C: HEADERS from,x-meow,,,message-id 45-46
>  S: 299 from,x-meow,,,message-id headers follow
>  S: 45\tpedophile@example.net\tfirst second\t:honk:\twoof\t<1@1.1>
>  S: 46\ttnetscum@cabal.invalid\tMeow\t\t\t<2@2.2>\r\n
>  S: .

Better, but I'm bothered by the idea that the client needs to be sort
of clairvoyant; that is, you need to know the header is going to show
up x times before you see it.  Sigh.

Re: [NNTP Draft] 9.4 The LIST Keyword (includes OVER & PAT)
#44968
Author: Curt Welch
Date: Thu, 09 Mar 2000 00:00
55 lines
3219 bytes
meowing@banet.net (Chunk Light Fluffy) wrote:
> Andrew Gierth wrote:

> > Or another option: allow the client to specify whether it is
> > interested in multiple values. e.g.
> >
> >  C: HEADERS from,x-meow,,,message-id 45-46
> >  S: 299 from,x-meow,,,message-id headers follow
> >  S: 45\tpedophile@example.net\tfirst second\t:honk:\twoof\t<1@1.1>
> >  S: 46\ttnetscum@cabal.invalid\tMeow\t\t\t<2@2.2>\r\n
> >  S: .
>
> Better, but I'm bothered by the idea that the client needs to be sort
> of clairvoyant; that is, you need to know the header is going to show
> up x times before you see it.  Sigh.

Or you could just use some other control character to separate
the multiple headers (say \01 - ASCII Start of Header :)):

  HEADERS 45-46 from x-meow
  221 From X-meow headers follow
  45\tpedophile@example.net\tWoff1\01Woff2\01Woff3
  46\tnetscum@cabal.invalid\tMeow
  .

You would want to pick a control character that had the least possible
chance of being used in a header. I don't know much about all the other
character sets used, or proposed, so I don't know of ^A would be best.

\r or \n are options here as well but I suspect that would cause too
many problems.

I think the wildmat pattern would be applied to each header separately and
if it matched any of the multiple headers, it would be counted as a match.

So

  HEADERS 45-46 from x-meow:Woff2

would match article 45 from the example above.

My first thought on whether you should support duplicate headers is that
it's not needed for the "real" headers in use on Usenet today, and doing so
would only encourage people to use duplicates in the future.

But my second thought is if we don't support it, then one day down the
road we will be back here again talking about adding the ALLHEADERS command
to deal with the fact that HEADERS doesn't work right.  So now I'm thinking
it might be the right thing to do.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: [NNTP Draft] 9.4 The LIST Keyword (includes OVER & PAT)
#45111
Author: Clayton O'Neill
Date: Sat, 18 Mar 2000 00:00
29 lines
2294 bytes
On 3 Mar 2000 05:22:21 GMT, Jeremy <bofh@netscum.dk> wrote:
|Andrew <andrew@supernews.com> wrote:
|>> My theory is that if HEADERS were required to return any arbitrary header,
|> 
|> My theory is that such a requirement will be ignored by at least some
|> implementors.
|
|But if it were, then at least when someone does it and starts breaking
|newsreaders, there will be something to point to when yelling at them,
|which isn't quite the case with limiting XHDR to overview headers.
|(Which caused at least one newsreader to crash -- a problem with the
|client, certainly, but caused by the assumption that if XHDR worked,
|it would work no matter what header was being asked for.)

I suspect you'll see it implemented by 3 people:

1) Curt, because his implementation supports it easily
2) Microsoft, because they probably would use it for groupware type stuff
3) DNews, because they typically support smaller installations and can
   afford the overhead.

I imagine you'll see an implementation in INN also, but what percentage of
the users out there are reading off of an INN box that is anywhere near in
sync with the main INN code tree?  And how many of the people out there
would turn this on if they knew it's going to drop the box to it's knees if
someone uses it?  There is an enormous overhead for all obvious
implementations of this I can think of.

Re: [NNTP Draft] 9.4 The LIST Keyword (includes OVER & PAT)
#45113
Author: Clayton O'Neill
Date: Sat, 18 Mar 2000 00:00
30 lines
2504 bytes
On 02 Mar 2000 03:13:40 GMT, Curt Welch <curt@kcwc.com> wrote:
|That's about what I expected to hear.  Didn't realize that INN lost the
|ability to do XPAT on other headers in the 2.0 migration.  Do you know if
|it was taken out on purpose, or just not re-implemented?

I took it out directly in response to the fact that we had a small number of
customers that would use it (5-6) that would eat 4-5% of cpu each while the
command was executing, and liked to do it on, say, every newsgroup.  On a
box with 2500+ readers, that just wasn't going to last.  

Honestly, searchs on arbitary headers are almost impossible to implement in
a fast and/or low cpu method on high cap servers.   I checked how Diablo and
Typhoon handled it, and ISTR that neither of them supported XPAT on
arbitrary headers, so I ripped out the support, and it made the code a lot
simpler to boot.

|I don't really see any need to support the duplicate header thing in the
|the HEADERS command if no one else ever supported it in any of the XHDR
|or XPAT type commands.
|
|Does anyone know of any newsreaders that actually use XPAT?  Any details
|about how they use it?

NFILTER uses it, and some mac newsreaders.  NFILTER is a local nntp proxy
that does spam filters for windows.  NFILTER users were the only people that
complained when we removed support for XPAT on arbitrary headers and they
got over it pretty quickly.


Re: [NNTP Draft] 9.4 The LIST Keyword (includes OVER & PAT)
#45120
Author: Curt Welch
Date: Sun, 19 Mar 2000 00:00
37 lines
2867 bytes
usenet@oneill.net (Clayton O'Neill) wrote:
> There is an enormous overhead for all obvious
> implementations of
  [the HEADERS command that]
> I can think of.

I see a few possible options here.

Most usenet pay services have now switched to download/bandwidth
limits per user account.  For searching headers you could "charge"/limit
a user based on the total header bytes fetched from the spool/overview
even it almost nothing was actually sent to the user.  The CPU usage
for doing the search isn't as much of a problem as just the shear volume
of data that's scanned.  That could lead to some complex issues
with the users on why they were "charged" so much.  "hey - I couldn't have
download 25 Gigs today, I only have a modem!" :).  But anyhow, if you rate
limit the speed of the search, then it won't bring the system to it's
knees.  And it will be too slow to do something "stupid" liking trying
to write a script which will search all articles in the spool looking for
some unique header.

Or, you could implement the HEADERS command but not the wildmat search
option.  That has plenty of use just in the fact that it allows the
newsreader to get only the headers they want.  Even if you spport all
headers (not just the standard XOVER headers), the user at least will be
downloading something for each article so they are getting "charged"
something in the way of bandwidth that's not too out of line with the
amount of data the server is forced to processes.  It might still cause
probelms on a very large heavilly loaded server, but it won't at least
bring it completely to it's knees like an unlimited "HEADERS 1-
X-Meow:Meow" could do.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Page 2 of 2 • 68 total messages
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