🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #60685

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

#60685
From: Andrew Gabriel
Date: Thu, 26 Sep 2002 00:38
23 lines
2080 bytes
In article <slrnap4hgd.lq1.ese002@spica.exile.org>,
	ese002@news9.exile.org (Eric Edwards) writes:
> 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

Yes - lo0 is an internal feature of IP - there is no real interface
or device you can snoop.

> 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.

Traffic sent to interface addresses is looped through lo0.

Try using the -r and -w options on truss.

-- 
Andrew Gabriel
Consultant Software Engineer
Technical Details
Message-ID: <amtkuo$gnn$1@new-usenet.uk.sun.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-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.stueberl.de!newsr1.ipcore.viaginterkom.de!btnet-peer1!btnet-feed3!btnet!carbon.eu.sun.com!new-usenet.uk.sun.com!not-for-mail
References: <slrnap4e2m.lq1.ese002@spica.exile.org> <Xns99B65332EB3D8nothing@209.98.50.131> <slrnap4hgd.lq1.ese002@spica.exile.org>

Show Full Headers
Complete Article Headers
Message-ID: <amtkuo$gnn$1@new-usenet.uk.sun.com>
Subject: Re: How to tap into an NNTP session for debugging?
Date: Thu, 26 Sep 2002 00:38:48 +0000
From: andrew@cucumber.demon.co.uk (Andrew Gabriel)
References: <slrnap4e2m.lq1.ese002@spica.exile.org> <Xns99B65332EB3D8nothing@209.98.50.131> <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!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.stueberl.de!newsr1.ipcore.viaginterkom.de!btnet-peer1!btnet-feed3!btnet!carbon.eu.sun.com!new-usenet.uk.sun.com!not-for-mail
Newsgroups: comp.lang.perl.modules,news.software.nntp,comp.unix.solaris
Organization: Sun Microsystems
Lines: 22
NNTP-Posting-Host: vpn-129-156-96-12.emea.sun.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: new-usenet.uk.sun.com 1033000728 17143 129.156.96.12 (26 Sep 2002 00:38:48 GMT)
X-Complaints-To: usenet@new-usenet.uk.sun.com
NNTP-Posting-Date: 26 Sep 2002 00:38:48 GMT
X-Newsreader: knews 1.0b.1