Article View: news.software.nntp
Article #60680Re: How to tap into an NNTP session for debugging?
From: Klaas
Date: Wed, 25 Sep 2002 23:08
Date: Wed, 25 Sep 2002 23:08
22 lines
2159 bytes
2159 bytes
After careful consideration, Eric Edwards muttered: > 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. I don't know what the loopback interface is called in Solaris, but in FreeBSD I can use 'tcpdump -i lo0' successfully. tcpdump can be used to view the contents of packets, if snoop doesn't support specification of the loopback interface. -Mike
Technical Details
Message-ID:
<Xns99B65332EB3D8nothing@209.98.50.131>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-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator2-sterling!news-in-sterling.newsfeed.com!triton.net!smallfeed.triton.net!green.readfreenews.net!news.readfreenews.net!authen.yellow.readfreenews.net.POSTED!not-for-mailReferences:
<slrnap4e2m.lq1.ese002@spica.exile.org>Show Full Headers
Complete Article Headers
Message-ID: <Xns99B65332EB3D8nothing@209.98.50.131> Subject: Re: How to tap into an NNTP session for debugging? Date: Wed, 25 Sep 2002 23:08:22 +0000 From: Klaas <spamhole@klaas.ca> 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-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator2-sterling!news-in-sterling.newsfeed.com!triton.net!smallfeed.triton.net!green.readfreenews.net!news.readfreenews.net!authen.yellow.readfreenews.net.POSTED!not-for-mail Newsgroups: comp.lang.perl.modules,news.software.nntp,comp.unix.solaris Organization: This is a valid email address User-Agent: Xnews/5.04.25 Lines: 21 NNTP-Posting-Date: 25 Sep 2002 18:08:22 CDT NNTP-Posting-Host: b1505167.authen.yellow.readfreenews.net X-Trace: DXC=CP3Ca5C@PYSlJcZj<2PD\WbQ9W<K20`3RO6Gh9bA988^:ROWYVDYYPT>3<iUF]eFCYO<B2fJ^`8i]VTHL:Tcnd:[ X-Complaints-To: abuse@readfreenews.com