🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #60687

Re: How to tap into an NNTP session for debugging?

#60687
From: Curt Welch
Date: Thu, 26 Sep 2002 00:43
26 lines
2254 bytes
ese002@news9.exile.org (Eric Edwards) wrote:
> 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.

Add printfs?

Write your own proxy and run it though that on the same box and add printfs
to your own proxy?

Stop using your own server and use one on the net and try to reproduce the
problem and then use snoop to look at the trafic?

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20020925204320.065$KS@newsreader.com>
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!news.uchicago.edu!newsswitch.lcs.mit.edu!snoopy.risq.qc.ca!newsfeed.news2me.com!newshosting.com!news-xfer1.atl.newshosting.com!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <slrnap4e2m.lq1.ese002@spica.exile.org>

Show Full Headers
Complete Article Headers
Message-ID: <20020925204320.065$KS@newsreader.com>
Subject: Re: How to tap into an NNTP session for debugging?
Date: Thu, 26 Sep 2002 00:43:20 +0000
From: curt@kcwc.com (Curt Welch)
References: <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!news.uchicago.edu!newsswitch.lcs.mit.edu!snoopy.risq.qc.ca!newsfeed.news2me.com!newshosting.com!news-xfer1.atl.newshosting.com!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: comp.lang.perl.modules,news.software.nntp,comp.unix.solaris
X-Trace: NewsReader.Com RwYKt,TiG0lPzFr3Mp,NFi64N4qHKxK9R6ZXZ8K6.nK@isF
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
  %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 25