🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
20 messages
20 total messages Started by Ian Hoyle Mon, 28 Jul 1997 00:00
Disabling "newnews"
#19741
Author: Ian Hoyle
Date: Mon, 28 Jul 1997 00:00
16 lines
1044 bytes
suck/slurp feeds can really drag down a news server, esp. the latter.

What impact would disabling the "newnews" command have? Do many (all ??)
newsreaders rely on this command, or could it safely be excluded ....

  Ian

-- 
Ian Hoyle                                 | connect.com.au Pty Ltd
Product Development and Marketing Manager | http://www.connect.com.au
Email: ianh@connect.com.au                | Level 9, 114 Albert Rd,
Phone: +61 3 9251 3673                    | South Melbourne, VIC, 3205
Fax:   +61 3 9251 3666                    | AUSTRALIA

Re: Disabling "newnews"
#19704
Author: aos
Date: Sun, 27 Jul 1997 00:00
15 lines
1161 bytes
Ian Hoyle <ianh@connect.com.au> wrote:
> What impact would disabling the "newnews" command have? Do many (all ??)
> newsreaders rely on this command, or could it safely be excluded ....

I keep newnews disabled on my server and it's had no ill effects as far as
I can see (no ill effects = no customer complaints).

-- 
 Andrew Smith -- Sysadmin, Insync Internet Services |    PGP Fingerprint:
----------------------------------------------------| 2A 50 AE 6D 51 53 18 77
"A lot of people are afraid to listen, because what | F7 6C E9 2E E9 E1 59 2C
 they hear may make them change."     --Gloria Gery |  (finger for full key)

Re: Disabling "newnews"
#19734
Author: Matt Dillon
Date: Mon, 28 Jul 1997 00:00
50 lines
2598 bytes
:In article <5rgmp5$11n$1@synthemesc.insync.net>,  <aos@insync.net> wrote:
:>Ian Hoyle <ianh@connect.com.au> wrote:
:>> What impact would disabling the "newnews" command have? Do many (all ??)
:>> newsreaders rely on this command, or could it safely be excluded ....
:>
:>I keep newnews disabled on my server and it's had no ill effects as far as
:>I can see (no ill effects = no customer complaints).
:>
:>-- 
:> Andrew Smith -- Sysadmin, Insync Internet Services |    PGP Fingerprint:
:>----------------------------------------------------| 2A 50 AE 6D 51 53 18 77
:>"A lot of people are afraid to listen, because what | F7 6C E9 2E E9 E1 59 2C
:> they hear may make them change."     --Gloria Gery |  (finger for full key)

    Me too... Frankly, I think newnews should be disabled on INN by default.

						-Matt


*** inn-1.5.1/nnrpd/nnrpd.c     Tue Dec 17 06:40:40 1996
--- inn-1.5.1-MATT/nnrpd/nnrpd.c        Wed Jun 11 15:52:54 1997
***************
*** 106,113 ****
        "reader" },
      { "newgroups",    CMDnewgroups,   TRUE,   3,      5,
        "yymmdd hhmmss [\"GMT\"] [<distributions>]" },
!     { "newnews",      CMDnewnews,     TRUE,   4,      6,
!       "newsgroups yymmdd hhmmss [\"GMT\"] [<distributions>]" },
      { "next",         CMDnextlast,    TRUE,   1,      1,
        NULL },
      { "post",         CMDpost,        TRUE,   1,      1,
--- 106,118 ----
        "reader" },
      { "newgroups",    CMDnewgroups,   TRUE,   3,      5,
        "yymmdd hhmmss [\"GMT\"] [<distributions>]" },
! #ifdef NOTDEF
!     {   "newnews",      CMDnewnews,     TRUE,   4,      6,
!         "newsgroups yymmdd hhmmss [\"GMT\"] [<distributions>]" },
! #else
!     {   "newnews",      CMD_unimp,      TRUE,   1,      1,
!         "newnews is not implemented in this server due to abuse/overloading" }
,
! #endif 
      { "next",         CMDnextlast,    TRUE,   1,      1,
        NULL },
      { "post",         CMDpost,        TRUE,   1,      1,


Re: Disabling "newnews"
#19750
Author: Forrest J. Cavalier III
Date: Mon, 28 Jul 1997 00:00
24 lines
1425 bytes
In article <5rhgrm$7ie$1@flea.best.net>, dillon@best.net wrote...
>
>:In article <5rgmp5$11n$1@synthemesc.insync.net>,  <aos@insync.net> wrote:
>:>Ian Hoyle <ianh@connect.com.au> wrote:
>:>> What impact would disabling the "newnews" command have? Do many (all ??)
>:>> newsreaders rely on this command, or could it safely be excluded ....
>:>
>:>I keep newnews disabled on my server and it's had no ill effects as far as
>:>I can see (no ill effects = no customer complaints).
[snip]

Matt's patch removes the command from the HELP command response,
as well as disabling it.

There is an inn-1.5.1 config entry: ALLOW_NEWNEWS which disables
the command also: returning a failure response code and message
about the command being disabled.

Forrest Cavalier, Mib Software, INN customization and consulting



Re: Disabling "newnews"
#19779
Author: Matt Dillon
Date: Tue, 29 Jul 1997 00:00
31 lines
1792 bytes
:In article <5rkdoj$mr5$1@snert.pilhuhn.de>,
:Heiko W.Rupp <hwr@pilhuhn.de> wrote:
:>In <5rgmp5$11n$1@synthemesc.insync.net>, aos@insync.net wrote:
:>|I keep newnews disabled on my server and it's had no ill effects as far as
:>|I can see (no ill effects = no customer complaints).
:>
:>I had one customer with a Lotus Notes client that needed the newnews
:>command. 
:>
:>-- 
:>Heiko W.Rupp hwr@pilhuhn.de
:>  INN FAQ can be found in ftp://ftp.xlink.net/pub/news/docs/
:>     It is also posted regularly to news.software.{b,nntp} and news.answers.

    It's up to you, of course, but keep in mind that it only takes a handful
    of people using newnews to destroy a newsreader box.

    Many news admins disable newnews and Lotus will almost certainly have
    to fix their client to not use it.

    Also, a number of PC and (unix) SHELL based slurpers use newnews.  I was
    forced to disable newnews almost on the first day we offered news
    due to porn lusers running slurpers.  It forced them to
    use less obnoxious means (read: other slurpers that didn't use newnews)
    but at least it wasn't destroying our servers any more.

						-Matt


Re: Disabling "newnews"
#19785
Author: Jonathan I. Kamens
Date: Tue, 29 Jul 1997 00:00
33 lines
2066 bytes
In article <gergEE3I73.1M3@netcom.com>, gerg@netcom.com (Greg Andrews) writes:
|> jik@cam.ov.com (Jonathan I. Kamens) writes:
|> >In article <33DBD738.4617@connect.com.au>, Ian Hoyle <ianh@connect.com.au> writes:
|> >|> suck/slurp feeds can really drag down a news server, esp. the latter.
|> >
|> >Suck doesn't use NEWNEWS.
|> 
|> I interpreted the use of the term "suck/slurp feeds" as purely a description
|> of the *type* of feed, not a list of the programs employed on the client end
|> of them.

That would be a plausible interpretation if the original poster hadn't
ended his first sentence with "esp. the latter."  If he was using
"suck/slurp feeds" as a term to denote a particular type of feed, then
it's a collective term, with no "former" and "latter" for him to refer
to.

By referring to "the latter," he indicated that he was talking about
either (a) two different kinds of feeds, or (b) feeds pulled down by
two different packages, "Suck" and "Slurp".

As far as I know, the only substantive difference between how "suck"
and "slurp" work, in terms of their effect on the NNTP server, is that
the latter uses NEWNEWS and the former does not.  But the rest of his
posting related to how to disable NEWNEWS, so that means (a) doesn't
make any sense.  That leaves only (b), which is why I felt it
appropriate to defend the "Suck" package.

-- 
Jonathan Kamens  |   Veritas Software Corporation  |   jik@cam.ov.com

Re: Disabling "newnews"
#19789
Author: Richard Kettlewell
Date: Tue, 29 Jul 1997 00:00
31 lines
1809 bytes
hwr@pilhuhn.de (Heiko W.Rupp) writes:

> I had one customer with a Lotus Notes client that needed the newnews
> command. 

So do we.  I don't suppose anyone has a patch to INN to do NEWNEWS
efficiently - or ideas about how best to do it?

Is looking at the history adequate to do it well or could one improve
matters by precomputing some of the information as articles are
received?  Is it expensive in terms of CPU, memory or disc?  Does the
load come from computing the article list or the many history lookups
when the articles are actually downloaded?

As you can probably tell I haven't had time to investigate this as
much as I'd like; I just have the received wisdom that NEWNEWS is a
performance drain.

(Our NNRP server currently has adequate resources for the
load it's under, but it'll surely need upgrading one day, and I'm
wondering how much that can be put back just by improving the
software.)

-- 
Richard Kettlewell               http://www.elmail.co.uk/~richard/
  If I write a program that will spawn a root shell only if Goldbach's
  conjecture is false, will you please classify that into either an
  actual security hole or not one?  -Nick Maclaren

Re: Disabling "newnews"
#19792
Author: Jonathan I. Kamens
Date: Tue, 29 Jul 1997 00:00
20 lines
1310 bytes
In article <33DBD738.4617@connect.com.au>, Ian Hoyle <ianh@connect.com.au> writes:
|> suck/slurp feeds can really drag down a news server, esp. the latter.
|> 
|> What impact would disabling the "newnews" command have? Do many (all ??)
|> newsreaders rely on this command, or could it safely be excluded ....

Suck doesn't use NEWNEWS.

I appreciate the problem you're reporting, and I know that even Suck
can cause load problems on an NNTP server, but please don't malign it
by implying it uses NEWNEWS when it doesn't (and thus implying that the
load problems it causes are worse than they really are).

I'm just a satisfied Suck user, not its author or maintainer :-).

-- 
Jonathan Kamens  |   Veritas Software Corporation  |   jik@cam.ov.com

Re: Disabling "newnews"
#19796
Author: Heiko Schlichting
Date: Tue, 29 Jul 1997 00:00
13 lines
1105 bytes
mibsoft@epix.net (Forrest J. Cavalier III) writes:
>There is an inn-1.5.1 config entry: ALLOW_NEWNEWS which disables
>the command also: returning a failure response code and message
>about the command being disabled.

But that's also a hack.  Using compile time flags is not a very good
solution. It would be better if this can be configured with an
additional flag in 'nnrp.access' on a per client basis.

Heiko

Re: Disabling "newnews"
#19811
Author: Christopher D Dukes
Date: Tue, 29 Jul 1997 00:00
18 lines
1327 bytes
In article <5rkdoj$mr5$1@snert.pilhuhn.de>,
Heiko W.Rupp <hwr@pilhuhn.de> wrote:
>In <5rgmp5$11n$1@synthemesc.insync.net>, aos@insync.net wrote:
>|I keep newnews disabled on my server and it's had no ill effects as far as
>|I can see (no ill effects = no customer complaints).
>
>I had one customer with a Lotus Notes client that needed the newnews
>command. 

In short, disabling newnews is a good thing.
-- 
The following must be destroyed.  Microsoft, Lyons Partnership, CyberPromo.
Balkanize USENET!  Vote from the rooftops!! The best thing in RTP is now SMOG!
Sending unsolicited commercial massmail to this account may result
in a network outage for your site.  Have a nice day.

Re: Disabling "newnews"
#19819
Author: Ron Echeverri
Date: Tue, 29 Jul 1997 00:00
19 lines
1402 bytes
In article <5rlurt$2pg@info.noc.demon.net>, Ade Lovett <ade@demon.net> wrote:
>In article <5rlcro$ma4$1@flea.best.net>, Matt Dillon <dillon@best.net> wrote:
>>    It's up to you, of course, but keep in mind that it only takes a handful
>>    of people using newnews to destroy a newsreader box.
>Cobblers.  All it takes is a little lateral thinking and it's trivial
>to make 'newnews' only as resource intensive as, say, xover.

Well, if you've got a way to tame newnews, why don't you share it with
the rest of us?  Or is it a "coolness" thing?

rone
-- 
rone's rules:							  Ron Echeverri
- I don't care.					  Systems/Usenet Administration
- It's not important.				   Best Internet Communications
- Leave me alone.						  rone@best.net

Re: Disabling "newnews"
#19832
Author: Ade Lovett
Date: Tue, 29 Jul 1997 00:00
23 lines
1445 bytes
In article <5rlcro$ma4$1@flea.best.net>, Matt Dillon <dillon@best.net> wrote:
>    It's up to you, of course, but keep in mind that it only takes a handful
>    of people using newnews to destroy a newsreader box.

Cobblers.  All it takes is a little lateral thinking and it's trivial
to make 'newnews' only as resource intensive as, say, xover.

news.demon.co.uk and news.demon.nl takes, between them, 2000 or so
simultaneous connections, the vast majority using newnews -- and
that on a relatively minor day (average 15 nntp connects a second, with
around 2Tb of news transferred per week down modem lines).

Disabling a perfectly valid NNTP command, simply because the reference
implementation(s) are too brain-dead to deal with it, is bogosity
in the extreme.

-aDe 

-- 
Ade Lovett, Demon Internet Ltd.

Re: Disabling "newnews"
#19846
Author: Heiko W.Rupp
Date: Tue, 29 Jul 1997 00:00
14 lines
1049 bytes
In <5rgmp5$11n$1@synthemesc.insync.net>, aos@insync.net wrote:
|I keep newnews disabled on my server and it's had no ill effects as far as
|I can see (no ill effects = no customer complaints).

I had one customer with a Lotus Notes client that needed the newnews
command. 

-- 
Heiko W.Rupp hwr@pilhuhn.de
  INN FAQ can be found in ftp://ftp.xlink.net/pub/news/docs/
     It is also posted regularly to news.software.{b,nntp} and news.answers.

Re: Disabling "newnews"
#19851
Author: Heiko Schlichting
Date: Tue, 29 Jul 1997 00:00
13 lines
1143 bytes
mibsoft@epix.net (Forrest J. Cavalier III) writes:
>There is an inn-1.5.1 config entry: ALLOW_NEWNEWS which disables
>the command also: returning a failure response code and message
>about the command being disabled.

But that's also a hack.  Using compile time flags is not a very good
solution. It would be better if this can be configured with an
additional flag in 'nnrp.access' on a per client base.

Heiko

Re: Disabling "newnews"
#19863
Author: David Carmean
Date: Wed, 30 Jul 1997 00:00
24 lines
1485 bytes
Ade Lovett <ade@demon.net> wrote:

: In article <5rlcro$ma4$1@flea.best.net>, Matt Dillon <dillon@best.net> wrote:
: >    It's up to you, of course, but keep in mind that it only takes a handful
: >    of people using newnews to destroy a newsreader box.

: Cobblers.  All it takes is a little lateral thinking and it's trivial
: to make 'newnews' only as resource intensive as, say, xover.


Then since you don't have that much work invested in your solution, 
you won't mind sharing it with us, right?


-- 
David Carmean                                           <dlc@avtel.net>
Avtel Communications, Santa Barbara, CA			+1-805-730-7740
  Opinions herein are those of the author only, unless otherwise noted

		"Karma Police, arrest this man!"
						--Radiohead

Re: Disabling "newnews"
#19883
Author: Christopher D Dukes
Date: Wed, 30 Jul 1997 00:00
30 lines
2063 bytes
In article <5rlurt$2pg@info.noc.demon.net>, Ade Lovett <ade@demon.net> wrote:
>Cobblers.  All it takes is a little lateral thinking and it's trivial
>to make 'newnews' only as resource intensive as, say, xover.
>
>news.demon.co.uk and news.demon.nl takes, between them, 2000 or so
>simultaneous connections, the vast majority using newnews -- and
>that on a relatively minor day (average 15 nntp connects a second, with
>around 2Tb of news transferred per week down modem lines).
>
>Disabling a perfectly valid NNTP command, simply because the reference
>implementation(s) are too brain-dead to deal with it, is bogosity
>in the extreme.

Considering that the first (and ONLY) complaint I have had about turning
off NEWNEWS was from some twit that wanted to run an NNTP to Lotus Notes
gateway, I do not feel at all bad about turning it off.

Considering that the scmuck never got back to me on the questions
"Can this gateway handle my server connecting to the NNTP port and
sending it the new news?  And by the way what is the name of the machine
used for the gateway?" I don't feel bad about it either.

-- 
The following must be destroyed.  Microsoft, Lyons Partnership, CyberPromo.
Balkanize USENET!  Vote from the rooftops!! The best thing in RTP is now SMOG!
Sending unsolicited commercial massmail to this account may result
in a network outage for your site.  Have a nice day.

Re: Disabling "newnews"
#19898
Author: A. Reichert
Date: Wed, 30 Jul 1997 00:00
16 lines
1228 bytes
On 29 Jul 1997 23:37:33 -0000, Ade Lovett <ade@demon.net> wrote:
: In article <5rlcro$ma4$1@flea.best.net>, Matt Dillon <dillon@best.net> wrote:
: >    It's up to you, of course, but keep in mind that it only takes a handful
: >    of people using newnews to destroy a newsreader box.

: Cobblers.  All it takes is a little lateral thinking and it's trivial
: to make 'newnews' only as resource intensive as, say, xover.

Since you apparently have this ability to think laterally, care to share with
the rest of us?  I'd like to hear your solution.

- Alan


Re: Disabling "newnews"
#19997
Author: Avi Freedman
Date: Thu, 31 Jul 1997 00:00
27 lines
1578 bytes
Ade Lovett (ade@demon.net) wrote:
: In article <5rlcro$ma4$1@flea.best.net>, Matt Dillon <dillon@best.net> wrote:
: >    It's up to you, of course, but keep in mind that it only takes a handful
: >    of people using newnews to destroy a newsreader box.
: 
: Cobblers.  All it takes is a little lateral thinking and it's trivial
: to make 'newnews' only as resource intensive as, say, xover.
: 
: news.demon.co.uk and news.demon.nl takes, between them, 2000 or so
: simultaneous connections, the vast majority using newnews -- and
: that on a relatively minor day (average 15 nntp connects a second, with
: around 2Tb of news transferred per week down modem lines).

Are these single machines?  What kind - or how many and what kind of
smaller boxes do you have.

News admins afraid of having to support 2000 simultaneous news readers
RSN want to know :)

Thanks,

: -aDe 

Avi

Re: Disabling "newnews"
#20077
Author: Ade Lovett
Date: Fri, 01 Aug 1997 00:00
38 lines
2077 bytes
In article <5rqrb9$qv7@netaxs.com>, Avi Freedman <freedman@netaxs.com> wrote:
>Ade Lovett (ade@demon.net) wrote:
>: news.demon.co.uk and news.demon.nl takes, between them, 2000 or so
>: simultaneous connections, the vast majority using newnews -- and
>: that on a relatively minor day (average 15 nntp connects a second, with
>: around 2Tb of news transferred per week down modem lines).
>
>Are these single machines?  What kind - or how many and what kind of
>smaller boxes do you have.
>
>News admins afraid of having to support 2000 simultaneous news readers
>RSN want to know :)

They're all relatively small machines..  the UK cluster is made up
of 8 (soon to be 9) dual-cpu SS20 clones with 512Mb of memory running
Solaris 2.5.1, the Nederland cluster (being a much smaller operation)
runs with 3 single-cpu SS20 clones with 256Mb of memory.

Then we add on the peering machines (1 dual-cpu Ultra with 1Gb of
memory), and 1 single-cpu SS20 with 256Mb, and a few extra bits
and pieces which commercial confidentiality agreements prevent me
from mentioning here (sorry).

The vast majority of our customer base use high-intensity offline
news slurpers (metered phone calls - even local ones - mean online
reading is somewhat cost-ineffective).

Simulations would suggest that, with the much reduced server loading
of online news readers, the cluster would easily support 5-6000
connections.

-aDe

-- 
Ade Lovett, Demon Internet Ltd.

Re: Disabling "newnews"
#20200
Author: Ade Lovett
Date: Mon, 04 Aug 1997 00:00
22 lines
1206 bytes
In article <5rm0u7$6c7$1@bofh.noc.best.net>,
Ron Echeverri <rone@bofh.noc.best.net> wrote:
>
>Well, if you've got a way to tame newnews, why don't you share it with
>the rest of us?  Or is it a "coolness" thing?

It's not a 'coolness' thing.  It's lateral thinking.  How does "xover"
work, in terms of basic data flow (one of those antiquated and
unfashionable Computer Science concepts), that makes it far better than
"newnews" (as implemented in the reference implementation or INN)

Killer Hint:  "per-group history files".

:)

-aDe

-- 
Ade Lovett, Demon Internet Ltd.

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