🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #5558

Re: INN streaming?

#5558
From: Michael Hucka
Date: Mon, 11 Mar 1996 00:00
56 lines
2725 bytes
>>>>> On 10 Mar 1996, barr@math.psu.edu (Dave Barr) wrote:

  barr> In article <JOE.96Mar10113709@mustang.via.net>, Joe McGuckin
  barr> <joe@mustang.via.net> wrote:
  >> Ok, I just upgraded to Unoff1.4.  How can I tell if a newsfeed NNTP site
  >> is negotiating streaming connections?

  barr> for feeding, connect to it and type 'mode stream' and see if it says
  barr> "StreamOK".  For receiving, see if your news server syslogs '"mode
  barr> stream" received'

Speaking of the logs and the 'NCmode "mode stream" received' messages: do
other sites also, like us, end up with a large number of these messages in
their daily summary (in the section on "unknown entries from the news log")?
We get so many that other messages get obscured.  Is there an important
reason to keep the messages in the summary, or are they really only useful to
tell you that a site is or is not using streaming?

I'm currently experimenting with removing those messages by modifying
innlog.awk to ignore them.  The trivial patch is this (note that the line
numbers are only approximate):

diff -c innlog.awk.orig innlog.awk
*** innlog.awk.orig     Wed Dec 13 16:56:53 1995
--- innlog.awk  Sat Mar  9 17:11:22 1996
***************
*** 375,385 ****
       || $7 == "rcsetup"               || $7 == "readclose"    \
       || $7 == "flush_all"     || $7 == "spooling"     \
       || $7 == "restarted"     || $7 == "exit"         \
!      || $7 == "spoolwake" \
      ) {
        ##  Skip; for now.
        next;
      }
  }
  
  
--- 381,392 ----
       || $7 == "rcsetup"               || $7 == "readclose"    \
       || $7 == "flush_all"     || $7 == "spooling"     \
       || $7 == "restarted"     || $7 == "exit"         \
!      || $7 == "spoolwake"     || $7 == "NCmode"       \
      ) {
        ##  Skip; for now.
        next;
      }
+ 
  }
  
  
-- 
Mike Hucka     hucka@umich.edu     http://ai.eecs.umich.edu/people/hucka
University of Michigan AI Lab & EECS Departmental Computing Organization

Technical Details
Message-ID: <82g2bfvdko.fsf@robin.eecs.umich.edu>
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
References: <JOE.96Mar10113709@mustang.via.net>

Show Full Headers
Complete Article Headers
Message-ID: <82g2bfvdko.fsf@robin.eecs.umich.edu>
Subject: Re: INN streaming?
Date: Mon, 11 Mar 1996 00:00:00 +0000
From: hucka@eecs.umich.edu (Michael Hucka)
References: <JOE.96Mar10113709@mustang.via.net>
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: 142353787
Distribution: usa
Sender: hucka@robin.eecs.umich.edu
Organization: University of Michigan EECS, Ann Arbor, Mich., USA
X-attribution: Mike Hucka
Reply-to: hucka@eecs.umich.edu
Newsgroups: news.software.nntp