Article View: news.software.nntp
Article #59895Re: Extracting info from a NNTP
From: J.B. Moreno
Date: Fri, 16 Aug 2002 05:50
Date: Fri, 16 Aug 2002 05:50
25 lines
2157 bytes
2157 bytes
In article <3D5C4F5E.1010105@phonecontrol.com.au>, Dhaval Shah <dhaval@phonecontrol.com.au> wrote: > Hi all, > I'm developing a software in Delphi6 that "sniffs" the NNTP session on a > PC and want to report the newsgroup name, contents that the user sent. > I've got the logic of getting the dump of the session but it contains > lot of "junk". > Could anybody pls. help me identifying the positions of the newsgroup > headers (where it was sent) and the contents (message body) only?? > Best regards Not sure what you mean -- if you're watching a NNTP session (traffic on port 119) then you'll have to do the same as the client and server; recognize what commands have been given and their responses. If you want to record what was posted, you'll have to watch and know when a POST command has been given (and not just appearing in the body of a message being read or posted) and then pull it out of the headers sent (you'll probably also want to see what response is given, so that you can record whether the server accepted the post or not). -- J.B. Moreno
Technical Details
Message-ID:
<160820020150348154%planb@newsreaders.com>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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.telusplanet.net!peer1-sjc1.usenetserver.com.MISMATCH!ps01-sjc1!news.webusenet.com!newsfeed1.cidera.com!Cidera!feed1.newsreader.com!news2.newsreader.com!flame.newsreader.com!planbReferences:
<3D5C4F5E.1010105@phonecontrol.com.au>Show Full Headers
Complete Article Headers
Message-ID: <160820020150348154%planb@newsreaders.com> Subject: Re: Extracting info from a NNTP Date: Fri, 16 Aug 2002 01:50:34 -0400 From: "J.B. Moreno" <planb@newsreaders.com> References: <3D5C4F5E.1010105@phonecontrol.com.au> 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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.telusplanet.net!peer1-sjc1.usenetserver.com.MISMATCH!ps01-sjc1!news.webusenet.com!newsfeed1.cidera.com!Cidera!feed1.newsreader.com!news2.newsreader.com!flame.newsreader.com!planb Newsgroups: news.software.nntp MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 8bit User-Agent: Thoth/1.6.0 (Carbon/OS X) X-Face: ]lUBtDImSD_`E"<*ZgyJUoCT\=CdRLFX4qCMLK[xy^L7v|uX|f8`cFDd*PaH8 N*x>d^h X-Trace: flame.newsreader.com JV1a+H.2H9gX/l4Ni0lxQR3Gx+rs,VfvI0zskZREENWxYsMC= Lines: 24