🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #60682

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

#60682
From: Eric Edwards
Date: Wed, 25 Sep 2002 23:26
25 lines
2194 bytes
On 25 Sep 2002 23:08:22 GMT, Klaas <spamhole@klaas.ca> wrote:
>> 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.
>
>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. 

I think loopback is implemented differently in Solaris.  Although 
netstat shows lo0 existing:

root@myhost~ snoop -d lo0
snoop: /dev/lo: No such file or directory

I've also tried snooping directing my script to talk to the network card
(le0).  It runs but but only external traffic is displayed.  There is
probably a bypass for local traffic.

-- 
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: <slrnap4hgd.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!news-in.nuthinbutnews.com!news.exile.org!ese002
References: <slrnap4e2m.lq1.ese002@spica.exile.org> <Xns99B65332EB3D8nothing@209.98.50.131>

Show Full Headers
Complete Article Headers
Message-ID: <slrnap4hgd.lq1.ese002@spica.exile.org>
Subject: Re: How to tap into an NNTP session for debugging?
Date: Wed, 25 Sep 2002 23:26:05 +0000
From: ese002@news9.exile.org (Eric Edwards)
References: <slrnap4e2m.lq1.ese002@spica.exile.org> <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!news-in.nuthinbutnews.com!news.exile.org!ese002
Newsgroups: comp.lang.perl.modules,news.software.nntp,comp.unix.solaris
Organization: Engineers in Exile
Lines: 24
NNTP-Posting-Host: localhost
X-Trace: spica.exile.org 1032996365 25017 127.0.0.1 (25 Sep 2002 23:26:05 GMT)
X-Complaints-To: usenet@spica.exile.org
NNTP-Posting-Date: Wed, 25 Sep 2002 23:26:05 +0000 (UTC)
User-Agent: slrn/0.9.6.2 (SunOS)