🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #60681

How to tap into an NNTP session for debugging?

#60681
From: Eric Edwards
Date: Wed, 25 Sep 2002 22:27
17 lines
1672 bytes
I'm trying to debug a Net::NNTP script that talks to INN on localhost.
Something strange is happening after submitting an article but I can't
figure out what.  

When talking to remote servers, I can use snoop (Solaris packet sniffer)
to watch the transaction.  I've squashed many a bug that way.  
Unfortunately, snoop doesn't seem to have any way of watching local
traffic.

Does anyone know how a tap might be implemented?  I've tried just
debugging Net::NNTP, but it is convoluted enough that I couldn't my tap
to work reliably and without screens full of scrolling errors.

-- 
Use the From: header.  Sending mail to ese002@news8.exile.org 
or ese002@news7.exile.org will only result in frustration.
Technical Details
Message-ID: <slrnap4e2m.lq1.ese002@spica.exile.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.lang.perl.modules.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!HSNX.atgi.net!news.exile.org!ese002

Show Full Headers
Complete Article Headers
Message-ID: <slrnap4e2m.lq1.ese002@spica.exile.org>
Subject: How to tap into an NNTP session for debugging?
Date: Wed, 25 Sep 2002 22:27:35 +0000
From: ese002@news9.exile.org (Eric Edwards)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.lang.perl.modules.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!HSNX.atgi.net!news.exile.org!ese002
Newsgroups: comp.lang.perl.modules,news.software.nntp,comp.unix.solaris
Organization: Engineers in Exile
Lines: 16
NNTP-Posting-Host: localhost
X-Trace: spica.exile.org 1032992855 23190 127.0.0.1 (25 Sep 2002 22:27:35 GMT)
X-Complaints-To: usenet@spica.exile.org
NNTP-Posting-Date: Wed, 25 Sep 2002 22:27:35 +0000 (UTC)
User-Agent: slrn/0.9.6.2 (SunOS)