Thread View: news.software.nntp
10 messages
10 total messages
Started by Roger Dingledine
Fri, 14 Aug 1998 00:00
Lightweight news server for Linux News Project?
Author: Roger Dingledine
Date: Fri, 14 Aug 1998 00:00
Date: Fri, 14 Aug 1998 00:00
37 lines
2560 bytes
2560 bytes
I'm working on the Linux News Project, and I'm hoping to get advice on lightweight, robust, and simple nntp servers. Our project's goal is to create a more structured environment for reading and submitting Linux news (such as information about new software releases, or articles about Linux advocacy), through standardization of news storage/sharing format and a fast robust mechanism for sharing news between participating sites. So far, Freshmeat (http://freshmeat.net), Threepoint (http://threepoint.com), Linux Weekly News (http://lwn.net), and several smaller news services are very interested in participating if we can get it to work well, and they're interested in putting some time into designing it as well. I have decided that an NNTP-based mechanism to keep news synchronized between the servers is the way to go. However, most news servers I've looked at are either too bulky and intensive (eg INN, C News) or too specific or fragile (eg Leafnode). What we want is a simple NNTP-based transfer method (such as the Net::NNTP perl module) combined with a simple server that spools, expires, maintains several distinct newsgroups (perhaps several dozen), supports pgp authentication, and figures out which news items should be sent to which other servers and does it. Ideally, it would also have hooks to call scripts when new news arrives. It doesn't need to be very configurable, but it needs to be lightweight and secure. In our case, it won't be connected at all to the rest of Usenet. I feel certain that something like this has already been created, or at the least is currently being worked on. I would very much prefer to use existing software on this, since it will have authors and a user base who has presumably tested much of it already. Our website is at http://linuxunited.org/projects/news/ where you'll find a lot more information about our plans and discussions. Please let me know if you can help out in any way. Thanks, --Roger (arma@mit.edu)
Re: Lightweight news server for Linux News Project?
Author: Forrest J. Cavalier III
Date: Fri, 14 Aug 1998 00:00
Date: Fri, 14 Aug 1998 00:00
61 lines
3273 bytes
3273 bytes
In article <6r0rra$eh1@senator-bedfellow.MIT.EDU>, arma@belegost.mit.edu wrote...
>
[snip]
>
>I have decided that an NNTP-based mechanism to keep news synchronized
>between the servers is the way to go. However, most news servers I've
>looked at are either too bulky and intensive (eg INN, C News) or too
>specific or fragile (eg Leafnode). What we want is a simple NNTP-based
>transfer method (such as the Net::NNTP perl module) combined with a simple
>server that spools, expires, maintains several distinct newsgroups (perhaps
>several dozen), supports pgp authentication, and figures out which news
>items should be sent to which other servers and does it. Ideally, it
>would also have hooks to call scripts when new news arrives. It doesn't
>need to be very configurable, but it needs to be lightweight and secure.
>In our case, it won't be connected at all to the rest of Usenet.
Uh, you want something not bulky which does all that? PaperAndPencil(tm)
comes to mind.
- very simple, needs no installation instructions.
- very low profile, low resource utilization
- Multi-lingual. Works in Swahili and Cantonese as well English,
for example.
Downsides:
- The PGP calculations by hand are a bit time-consuming.
If you want software, get INN 1.7.2, compile with MMAP off, and you
have a great local-only server which does all of the above, only
takes up a couple of meg of resident memory, and sits idle most
of the time. You have complete control over transfers, can run
a script for every arriving article which is stored in its own
file.
INN 1.7.2 is extremely well documented and very, very stable.
(Make sure you use the config.data from INN 1.5.1 though. See
the installation instructions at:
http://www.mibsoftware.com/userkt/inn/
) Or just install it using a recent RedHat rpm.
Forrest J. Cavalier III, Mib Software, INN customization and consulting
'Pay-as-you-go' commercial support for INN: Only $64/hour!
Searchable hypertext INN docs, FAQ, RFCs, etc: 650+ pages: Free access!
http://www.mibsoftware.com/innsup.htm
>
>I feel certain that something like this has already been created, or at
>the least is currently being worked on. I would very much prefer to use
>existing software on this, since it will have authors and a user base
>who has presumably tested much of it already. Our website is at
>http://linuxunited.org/projects/news/ where you'll find a lot more
>information about our plans and discussions. Please let me know if you can
>help out in any way.
>
>Thanks,
>--Roger (arma@mit.edu)
>
Re: Lightweight news server for Linux News Project?
Author: Alex French
Date: Mon, 17 Aug 1998 00:00
Date: Mon, 17 Aug 1998 00:00
23 lines
1792 bytes
1792 bytes
On 17 Aug 1998 17:50:56 GMT, davidsen@tmr.com (bill davidsen) wrote: >In article <6r0rra$eh1@senator-bedfellow.MIT.EDU>, >Roger Dingledine <arma@belegost.mit.edu> wrote: >| I'm working on the Linux News Project, and I'm hoping to get advice on >| lightweight, robust, and simple nntp servers. Our project's goal is to >Use INN and stop trying to get something for nothing. I would use 2.1, >but if you really want to convince yourself that 6-8MB of virtual memory >is too big, go to 1.7.2. Yeah, stop being a wus and use INN. INN as configured above is just about as lightwieight as you get and still have decent functionality. Also, if you really have all those participating sites, then you'll need something robust enough to take a bit of traffic. Never mind the fact that the support for INN (informal as it is) is orders of magnitude better than anything you'll get for a slimmer server. Alex .
Re: Lightweight news server for Linux News Project?
Author: Jim Buchanan
Date: Mon, 17 Aug 1998 00:00
Date: Mon, 17 Aug 1998 00:00
49 lines
2712 bytes
2712 bytes
Roger Dingledine (arma@belegost.mit.edu) wrote: : I'm working on the Linux News Project, and I'm hoping to get advice on : lightweight, robust, and simple nntp servers. Our project's goal is to Check out pnews (not Pnews) at: http://members.iquest.net/~jbuchana/pnews.html It's a very lightweight news spooler/soon-to-be nntp server (for large enough values of soon). I first wrote it about 3 to 4 years ago for my own use and have been distributing it in case anyone else is interested (I'd guess more than 100 people are using it, how many more, it's hard to say). The nntp server is not yet done, but the non-working partial skeleton is present in the snapshot.12AU98 file at the above URL. I've been tinkering with pnews when the mood strikes, if it is close enough to what you need, you would be welcome to use it as a basis for your project. If it's not what you have in mind, no problem. Either way, I might be interested in helping with the project. The philosophy of pnews has been light weight and simple set up. I originally wrote it on a 386SX-16 with 4M of RAM, and just recently upgraded the 386DX-40 I currently run it on from 8M to 20M. Right now, pnews is only fed by suck (newsx support looks trivial, but I've just never gotten around to it). ihave or some other mechanism could of course be added. Depending on the volume of news to be handled, there are a few naive linear searches and such that might have to be upgraded, since I never intended for pnews to be used for a full feed. Other parts are a bit more sophisticated, as even a personal news spool has a lot of history file entries. I'll email a copy of this directly to you in case it gets lost in transit. -- Jim Buchanan c22jrb@dawg.delcoelect.com jbuchana@iquest.net ================= http://members.iquest.net/~jbuchana ==================== "The programmed computer has all the fascination of the pinball machine or the jukebox mechanism, carried to the ultimate." -Fredrick P. Brooks ==================== http://hybiss.delcoelect.com ========================
Re: Lightweight news server for Linux News Project?
Author: bill davidsen
Date: Mon, 17 Aug 1998 00:00
Date: Mon, 17 Aug 1998 00:00
30 lines
2305 bytes
2305 bytes
In article <6r0rra$eh1@senator-bedfellow.MIT.EDU>, Roger Dingledine <arma@belegost.mit.edu> wrote: | I'm working on the Linux News Project, and I'm hoping to get advice on | lightweight, robust, and simple nntp servers. Our project's goal is to | create a more structured environment for reading and submitting Linux | news (such as information about new software releases, or articles | about Linux advocacy), through standardization of news storage/sharing | format and a fast robust mechanism for sharing news between | participating sites. So far, Freshmeat (http://freshmeat.net), | Threepoint (http://threepoint.com), Linux Weekly News (http://lwn.net), | and several smaller news services are very interested in participating | if we can get it to work well, and they're interested in putting some | time into designing it as well. Use INN and stop trying to get something for nothing. I would use 2.1, but if you really want to convince yourself that 6-8MB of virtual memory is too big, go to 1.7.2. I find 2.1 much easier to admin, because it will NOT run out of space with cnfs, while traditional methods will if you get a glut of news. Build a small memory version with tagged-hash and disable mmap of everything in sight, and it will run in a 16MB box (without many readers, of course). -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc I never said I didn't want to offend anyone, I said I didn't want to offend anyone unintentionally.
Re: Lightweight news server for Linux News Project?
Author: Roger Dingledine
Date: Tue, 18 Aug 1998 00:00
Date: Tue, 18 Aug 1998 00:00
30 lines
2080 bytes
2080 bytes
Alex French (alex@clubi.ie) wrote: : On 17 Aug 1998 17:50:56 GMT, davidsen@tmr.com (bill davidsen) wrote: : >Use INN and stop trying to get something for nothing. I would use 2.1, : >but if you really want to convince yourself that 6-8MB of virtual memory : >is too big, go to 1.7.2. : Yeah, stop being a wus and use INN. INN as configured above is just : about as lightwieight as you get and still have decent functionality. : Also, if you really have all those participating sites, then you'll : need something robust enough to take a bit of traffic. While a few of the sites are willing to run INN, most of them are not interested in the extra hassles from running a program that is generally viewed as excessively bulky and prone to security problems. I'm currently trying to look into ways of avoiding the need to run news servers altogether, because that seems the far simpler route than teaching a lot of new people who are already way too busy. Several of you have been stating that INN isn't actually all that bulky (and presumably you also don't think it's a security problem :) I've been reading the docs and code lately, so I'm starting to get a pretty good idea of how it works. Can you guys point me to some good documents describing statistics for lightweight INN setups, as well as good convincing documents regarding its security? Thanks, --Roger
Re: Lightweight news server for Linux News Project?
Author: bill davidsen
Date: Thu, 20 Aug 1998 00:00
Date: Thu, 20 Aug 1998 00:00
37 lines
2614 bytes
2614 bytes
In article <6rfqa5$es9@fugue.clari.net>, Brad Templeton <bt@templetons.com> wrote: | You find C news to be too bulky? Then you certainly won't like INN. | But C news works just fine for a small installation, particularly | if you don't have a lot of incoming NNTP feeds. | | INN uses a lot of memory and runs a process all the time. Which is | valuable if you have 4 high speed incoming feeds, but overkill | in other circumstances. With a small active list the size of that process is going to be <2MB, almost all of which will not be resident. That was a lot of memory once upon a time, but the idea that the resources are an issue is just smoke. The hardware cost for a small INN is probably <$10, memory and disk. Where INN, particularly with CNFS, is very low cost is in admin time. Because the spool will roll over when it gets full, you will not be getting "out of space" problems all the time, something every server got before, because people always wanted the spool run full to offer more groups or retention on the same hardware. You will pay a time cost to climb the learning curve of any news product, but you will pay a lot less day-to-day with INN. And it has all the hooks you need for filters, archiving, and news to mail (if you wish it), and because it's both widely and heavily used, the support and the software are robust compared to whatever lightweight things you might consider. The most expensive resource for any application is ongoing admin time. INN is the cheapest software going for news. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc I never said I didn't want to offend anyone, I said I didn't want to offend anyone unintentionally.
Re: Lightweight news server for Linux News Project?
Author: Michael Faurot
Date: Thu, 20 Aug 1998 00:00
Date: Thu, 20 Aug 1998 00:00
11 lines
1177 bytes
1177 bytes
Brad Templeton <bt@templetons.com> wrote: : INN uses a lot of memory and runs a process all the time. Which is : valuable if you have 4 high speed incoming feeds, but overkill : in other circumstances. Depends upon what you define "a lot of memory to be". I have an INN/Linux system which does nothing but U2 (active file has 192 groups). The RSS on innd is only 744K.
Re: Lightweight news server for Linux News Project?
Author: Fluffy
Date: Thu, 20 Aug 1998 00:00
Date: Thu, 20 Aug 1998 00:00
17 lines
1532 bytes
1532 bytes
Michael Faurot <nospam@127.0.0.1> wrote: > Brad Templeton <bt@templetons.com> wrote: > : INN uses a lot of memory and runs a process all the time. Which is > : valuable if you have 4 high speed incoming feeds, but overkill > : in other circumstances. > > Depends upon what you define "a lot of memory to be". I have an INN/Linux > system which does nothing but U2 (active file has 192 groups). The RSS > on innd is only 744K. Yeah, but relaynews (even with the daemon patch) only takes up about 150K with an active file of that size. Add about 500K for each nntpd instance, and (gasp) several meg if you're running a filter daemon in front of it all.
Re: Lightweight news server for Linux News Project?
Author: Brad Templeton
Date: Thu, 20 Aug 1998 00:00
Date: Thu, 20 Aug 1998 00:00
11 lines
1067 bytes
1067 bytes
You find C news to be too bulky? Then you certainly won't like INN. But C news works just fine for a small installation, particularly if you don't have a lot of incoming NNTP feeds. INN uses a lot of memory and runs a process all the time. Which is valuable if you have 4 high speed incoming feeds, but overkill in other circumstances. -- Brad Templeton http://www.templetons.com/brad/
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