🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Kevin Devlin Fri, 08 Mar 2002 22:01
news server
#57141
Author: Kevin Devlin
Date: Fri, 08 Mar 2002 22:01
19 lines
1771 bytes
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.  The problem is

The references in RFC 2980 dont exist! (in paricular the overview database
thing)

I cant find any information about decoding attachments (maybe im stupid but
i dont think so).

When finished i want a web based client and not Outlook Express!

Thanks for your help
Kevin


Re: news server
#57150
Author: A Meowbot
Date: Sat, 09 Mar 2002 07:12
42 lines
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.
Re: news server
#57154
Author: Kevin Devlin
Date: Sat, 09 Mar 2002 11:27
52 lines
3169 bytes
in case ur intrested the platform will be Microsoft .NET

"A Meowbot" <meowbot@meowing.net> wrote in message
news:MPG.16f37fea4aabcfbb989688@news.supernews.com...
> 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.


Re: news server
#57603
Author: Jeffrey M. Vinocur
Date: Sun, 24 Mar 2002 19:19
14 lines
1473 bytes
In article <1xai8.6746$kF6.416280@news-binary.blueyonder.co.uk>,
Kevin Devlin <kevin@kevin.com> wrote:
>
>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.

By the way, it might be educational to try running a server for a
while first.  (That will also get around your retention problem.)

-- 
Jeffrey M. Vinocur
jeff@litech.org
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads