🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #33837

Re: Freenix?

#33837
From: Kjetil Torgrim Homme
Date: Wed, 16 Dec 1998 00:00
46 lines
2799 bytes
[Chris Sedore]

>   I patched TCP dump to output clear text on the connections (with
>   its timestamps).

Those of us who us Solaris can use its snoop which will usually output
the relevant highlevel info for a given protocol.  Try to capture to a
file, and use snoop's verbose mode.  Keep in mind that more than one
NNTP command can be sent in one packet when processing the output.

Example:

# snoop -s 512 -c 256 -o /tmp/foo.cap -tr port nntp
Using device /dev/hme (promiscuous mode)
256 snoop: 256 packets captured
# snoop -v -i /tmp/foo.cap | egrep '^(NNTP:  "|ETHER:.*arrived|IP:   Source)'
ETHER:  Packet 1 arrived at 22:38:22.00
IP:   Source address = 128.39.3.166, snipp.uninett.no
NNTP:  "CHECK <AutoNCM-AstroRoadkillN19981216213804.125730@bofh.int>"
ETHER:  Packet 2 arrived at 22:38:22.00
IP:   Source address = 129.240.64.27, gymir.ifi.uio.no
NNTP:  "438 <AutoNCM-AstroRoadkillN19981216213804.125730@bofh.int>\r\n"
ETHER:  Packet 3 arrived at 22:38:22.00
IP:   Source address = 148.122.208.67, newsfeed1.online.no
NNTP:  "check <AutoNCM-AstroRoadkillN19981216213804.125730@bofh.int>"
[...]

(You may want to add "dst yourhost" to watch just incoming traffic.)

Notice that snoop outputs time rather inaccurately in this mode.

# snoop -tr -i /tmp/foo.cap
  1   0.00000 snipp.uninett.no -> gymir.ifi.uio.no NNTP C port=49147 CHECK <AutoNCM-Astro
  2   0.00086 gymir.ifi.uio.no -> snipp.uninett.no NNTP R port=49147 438 <AutoNCM-AstroRo
  3   0.00142 newsfeed1.online.no -> gymir.ifi.uio.no NNTP C port=41570 check <AutoNCM-Astro
[...]

This mode has the disadvantage that the text string is chopped.

One problem with using snoop for this is that you can't tell it that
port 433 is NNTP as well.


Kjetil T.

Technical Details
Message-ID: <1rlnk792j9.fsf@haey.ifi.uio.no>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <74nahf$4a7@darkmere.gen.nz> <366F4C2C.DC9DC20A@flash.net> <981210102926.AA18801@dojo.mi.org> <brad-1512982005560001@brad.techos.skyn et.be> <981215203309.AA3833@dojo.mi.org> <Pine.LNX.4.00.9812160029170.202-100000@coredump.int.tele.dk> <brad-1612981210490001@brad.techos.skynet.be> <9138138011869055937-1@dp-news.maxwell.syr.edu>

Show Full Headers
Complete Article Headers
Message-ID: <1rlnk792j9.fsf@haey.ifi.uio.no>
Subject: Re: Freenix?
Date: Wed, 16 Dec 1998 00:00:00 +0000
From: Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no>
References: <74nahf$4a7@darkmere.gen.nz> <366F4C2C.DC9DC20A@flash.net> <981210102926.AA18801@dojo.mi.org> <brad-1512982005560001@brad.techos.skyn et.be> <981215203309.AA3833@dojo.mi.org> <Pine.LNX.4.00.9812160029170.202-100000@coredump.int.tele.dk> <brad-1612981210490001@brad.techos.skynet.be> <9138138011869055937-1@dp-news.maxwell.syr.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 423019286
X-Complaints-To: usenet@mimir.ifi.uio.no
X-Trace: mimir.ifi.uio.no 913845229 6170 129.240.64.139 (16 Dec 1998 21:53:49 GMT)
Organization: Dept. of Informatics, University of Oslo, Norway
NNTP-Posting-Date: 16 Dec 1998 21:53:49 GMT
Newsgroups: news.software.nntp