Article View: news.software.nntp
Article #57150Re: news server
From: A Meowbot
Date: Sat, 09 Mar 2002 07:12
Date: Sat, 09 Mar 2002 07:12
42 lines
2364 bytes
2364 bytes
Kevin Devlin wrote:
> Hi
Hi.
> I am trying to write a newsgroup server, mainly because my damned ISP has a
> 3 day retention period, plus I want to implement an internet protocol from
> beginning to end (from scratch) as i havent done so yet.
Just beware that once you head down that path, there is no returning.
Doomed, doomed!
> The problem is
>
> The references in RFC 2980 dont exist! (in paricular the overview database
> thing)
<URL:http://members.verizon.net/~vze35rzk/nntpext/>
> I cant find any information about decoding attachments (maybe im stupid but
> i dont think so).
There are tons of MIME libraries out there, and you'll find that
browsers can do a fair bit of the work for you, but there is still
uuencoding and maybe binhex to grapple. Again, save yourself some pain
and find an existing uudecode program or library; what's good will
depend, of course, on your chosen language and maybe platform.
> When finished i want a web based client and not Outlook Express!
Be very, very careful here, that you do something to process stuff that
looks like HTML, so you don't open up the browser to exploits. I've
been sitting on k0deZ to help out in that area for a few years; now that
I've got permission to set them free, I seem to lack time to package
them up, but the idea is simple enough:
1. parse any HTML-like stuff in the source message.
2. discard all markup except for the parts you've determined in
advance isn't harmful, or just escape everything so it
appears as plain text.
3. regenerate into HTML.
Technical Details
Message-ID:
<MPG.16f37fea4aabcfbb989688@news.supernews.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!sn-xit-02!sn-post-01!supernews.com!news.supernews.com!not-for-mailReferences:
<1xai8.6746$kF6.416280@news-binary.blueyonder.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <MPG.16f37fea4aabcfbb989688@news.supernews.com> Subject: Re: news server Date: Sat, 9 Mar 2002 02:12:50 -0500 From: A Meowbot <meowbot@meowing.net> References: <1xai8.6746$kF6.416280@news-binary.blueyonder.co.uk> 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!sn-xit-02!sn-post-01!supernews.com!news.supernews.com!not-for-mail Newsgroups: news.software.nntp Organization: They X-Newsreader: MicroPlanet Gravity v2.60 X-Meow: Wouf X-No-Repost: yes Mail-Copies-To: nobody X-Complaints-To: newsabuse@supernews.com Lines: 41