🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #26407

inn1.7.2.insync 1.1d and nnrp

#26407
From: Gael MARTINEZ
Date: Thu, 19 Feb 1998 00:00
61 lines
2785 bytes

Hi

we are using inn-1.7.2insyc.1.1d on sun solaris 2.5.1.

after few tests, tests showed us than when you send a 

GROUP name

to the server, nnrp do a listing of the directory to count news ...
why it didn't use the actived daemon  ? It's kinda heavy when you have a
lot of connexions and a nfs server ... if i'm not wrong this number of
news don't have to be exact.. right ?

Any solution to stop this flooding operation ?

Following the test:

telnet front2 119
Connected to front2
200 grolier InterNetNews NNRP server INN 1.7.2 08-Dec-1997 ready (posting
ok).
group fr.bienvenue
211 7 98 104 fr.bienvenue

The truss of the nnrp process

29657:  poll(0x08043ABC, 1, 600000)                     = 1
29657:  read(0, " g r o u p   f r . b i e".., 1024)     = 20
29657:  time()                                          = 887917687
29657:  gettimeofday(0x080458D4)                        = 0
29657:  time()                                          = 887917687
29657:  putmsg(6, 0x0804580C, 0x08045770, 0)            = 0
29657:  poll(0x08043880, 1, 1000)                       = 1
29657:  getmsg(6, 0x08045810, 0x0804581C, 0x080457FC)   = 0
29657:  time()                                          = 887917687
29657:  chdir("/opt/news/data/articles")                = 0
29657:  chdir("fr/bienvenue")                           = 0
29657:  open(".", O_RDONLY|O_NDELAY)                    = 7
29657:  fcntl(7, F_SETFD, 0x00000001)                   = 0
29657:  fxstat(2, 7, 0x080458F4)                        = 0
29657:  getdents(7, 0x080EA814, 1048)                   = 168
29657:  getdents(7, 0x080EA814, 1048)                   = 0
29657:  close(7)                                        = 0
29657:  write(1, " 2 1 1   7   9 8   1 0 4".., 27)      = 27
29657:  poll(0x08043ABC, 1, 600000)     (sleeping...)


Gael

----------------------------------------------------------------------- 
Gael MARTINEZ                                Mailto:mgc@lena.grolier.fr
Grolier Interactive Europe / Club-Internet 
Responsable Exploitation du Centre Serveur
Tel: +33 1 55 45 47 92  /  Fax: +33 1 55 45 47 10  

Restez Zen .... UniX peut le faire. 


Technical Details
Message-ID: <Pine.GSO.3.96.980219204645.1492A-100000@lena.grolier.fr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <Pine.GSO.3.96.980219204645.1492A-100000@lena.grolier.fr>
Subject: inn1.7.2.insync 1.1d and nnrp
Date: Thu, 19 Feb 1998 00:00:00 +0000
From: Gael MARTINEZ <mgc@lena.grolier.fr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 326693718
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Organization: Grolier Interactive Europe
Newsgroups: news.software.nntp