🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #59893

Extracting info from a NNTP

#59893
From: Dhaval Shah
Date: Fri, 16 Aug 2002 01:01
13 lines
1575 bytes
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

Dhaval Shah
Sr. software Developer

Technical Details
Message-ID: <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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!intgwpad.nntp.telstra.net!news.telstra.net!news-server.bigpond.net.au!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <3D5C4F5E.1010105@phonecontrol.com.au>
Subject: Extracting info from a NNTP
Date: Fri, 16 Aug 2002 01:01:50 GMT
From: Dhaval Shah <dhaval@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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!intgwpad.nntp.telstra.net!news.telstra.net!news-server.bigpond.net.au!not-for-mail
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.0) Gecko/20020530
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: news.software.nntp
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 12
NNTP-Posting-Host: 144.137.226.73
X-Complaints-To: news@bigpond.net.au
X-Trace: news-server.bigpond.net.au 1029459710 144.137.226.73 (Fri, 16 Aug 2002 11:01:50 EST)
NNTP-Posting-Date: Fri, 16 Aug 2002 11:01:50 EST
Organization: BigPond Internet Services (http://www.bigpond.net.au)