Article View: news.software.nntp
Article #60688Re: How to tap into an NNTP session for debugging?
From: Klaas
Date: Thu, 26 Sep 2002 00:51
Date: Thu, 26 Sep 2002 00:51
32 lines
2434 bytes
2434 bytes
After careful consideration, Eric Edwards muttered: > 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. > If you're willing to allow external connections, I could set up a redirect on my system. Email is klaas at cs dot dal dot ca -Mike
Technical Details
Message-ID:
<Xns99B6649A73897nothing@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!newsfeed-east.nntpserver.com!nntpserver.com!priapus.visi.com!zeus.visi.com!news-out.visi.com!green.readfreenews.net!news.readfreenews.net!authen.yellow.readfreenews.net.POSTED!not-for-mailReferences:
<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: <Xns99B6649A73897nothing@209.98.50.131> Subject: Re: How to tap into an NNTP session for debugging? Date: Thu, 26 Sep 2002 00:51:00 +0000 From: Klaas <spamhole@klaas.ca> 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-east.nntpserver.com!nntpserver.com!priapus.visi.com!zeus.visi.com!news-out.visi.com!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: 31 NNTP-Posting-Date: 25 Sep 2002 19:51:00 CDT NNTP-Posting-Host: ee34b8ee.authen.yellow.readfreenews.net X-Trace: DXC=`I>g\5EPFQ>ZObA6@CjDn8bQ9W<K20`32O6Gh9bA988>:ROWYVDYYP4>3<iUF]eFC9O<B2fJ^`8i=VTHL:Tcnd:; X-Complaints-To: abuse@readfreenews.com