Article View: news.software.nntp
Article #5977Re: How to make unknown syslog entries "known" ?
From: Earl Wallace
Date: Mon, 25 Mar 1996 00:00
Date: Mon, 25 Mar 1996 00:00
50 lines
2313 bytes
2313 bytes
>Syslog summary:
>Unknown entries from news log file:
>Mar 25 06:46:57 washington innd: nntpfeed.winternet.com:9 NCmode "mode stream" r
>eceived
>Mar 25 06:56:57 washington innd: nntpfeed.winternet.com:9 NCmode "mode stream" r
>eceived
>
>I get tons of these every day in my news.daily report. I haven't found in
>the faq where to tell scanlogs about messages I want it to ignore.
>
>Clue phone for me, anyone?
The remote process at the other end of your innd connection (probably innxmit)
has just requested that you enter into streams mode if you can. Your response
was "yes, I support it" as indicated by the NCmode message above.
This is the streams mode you hear so much about. To see if a site supports
the stream mode, try connecting to it's port 119 and issue the command
'mode stream' as in this example:
$ telnet news 119
Trying xxx.xxx.xxx.xxx...
Connected to news.abcd.ccom.
Escape character is '^]'.
200 news.abcd.com InterNetNews server INN 1.4unoff4 28-Feb-96 ready
mode stream <-- issue this command
203 StreamOK. <-- you get this if the site supports streams
quit
205
Connection closed by foreign host.
$
innlog.awk needs a small hack to get rid of the NCmode message, locate this
section at the very end of the file and add the '$7 == "NCmode" \' line
to it:
if ($7 == "inactive" || $7 == "descriptors" \
|| $7 == "outgoing" || $7 == "running" \
|| $7 == "lcsetup" || $7 == "ccsetup" \
|| $7 == "rcsetup" || $7 == "readclose" \
|| $7 == "flush_all" || $7 == "spooling" \
|| $7 == "restarted" || $7 == "exit" \
|| $7 == "spoolwake" || $7 == "NCmode" \
) {
## Skip; for now.
next;
}
Technical Details
Message-ID:
<4j8281$100@ns1.walltech.com>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-mailReferences:
<4j7jrq$p33@annapolis.capitol.net>Show Full Headers
Complete Article Headers
Message-ID: <4j8281$100@ns1.walltech.com> Subject: Re: How to make unknown syslog entries "known" ? Date: Mon, 25 Mar 1996 00:00:00 +0000 From: earlw@news.walltech.com (Earl Wallace) References: <4j7jrq$p33@annapolis.capitol.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: 144141518 Organization: Walltech Newsgroups: news.software.nntp