Thread View: news.software.nntp
114 messages
114 total messages
Page 1 of 3
Started by mouse
Sat, 25 Mar 2000 00:00
Page 1 of 3 • 114 total messages
News routing software
Author: mouse
Date: Sat, 25 Mar 2000 00:00
Date: Sat, 25 Mar 2000 00:00
23 lines
2950 bytes
2950 bytes
Hello everyone, After many weeks of trying to get INN to run correctly as a news router under Linux I gave up and started writing my own software. btw- I also tried Cyclone and I liked everything except the $15,000.00 price tag. I now have a working beta version and I'm wondering if anyone in this group would like try it out and give suggestions and/or bug reports. The end product will support reader access, but for now it's just a router. One design goal was to make one product that could be used for either routing or reading. People that do not want to support readers should be able to turn off the CPU/IO intensive work that is required to maintain the database used for reader access. I just haven't wrote the code to support reader commands yet. When it's done it will just be a matter of defining a <reader></reader> block in the config file. Another feature is it's simple to setup. This was my largest complaint about INN. There is one executable and one config file. The config file is in the style of the Apache web server config files. Everything is stored in cyclic buffers: spool, history, queue files, etc... There is no need to run any expire or cron processes. It also will use external spam filters. I have a real nice perl based spam filter that I'm using with it. You could easily max out a 100 Mbit ethernet connection with low end hardware. My test machine (P3/500, 256MB RAM, IDE drives) is burning 23 Mbits of bandwidth, load average of 0.6, CPU at 70% idle and it's even running my perl based spamfilter. It requires about 1 MB of memory for each open stream. This number is directly related to the max article size so you can adjust the memory needs. Right now I only have a Linux version. I'm not releasing the code right now, but all the code is standard Unix code. The only requirement is it needs pthreads and mmap. There is no reason it couldn't be compiled on another OS but for now I only have a Intel Linux version ready of testing. If someone really wants a version for their OS and is willing to provide a shell account I could compile a version for you. I've setup a "beta" web site at http://nntprouter.nibble.net. There are config docs and download links on the site. Thanks, Steve. mouse@nibble.net
Re: News routing software
Author: mouse
Date: Sat, 25 Mar 2000 00:00
Date: Sat, 25 Mar 2000 00:00
36 lines
4826 bytes
4826 bytes
On 25 Mar 2000 19:41:43 GMT curt@kcwc.com (Curt Welch) wrote: >mouse@nospam.nibble.net wrote: >I was tired of messing with other people's crappy code (that was at >the beginning of the 2.0 stuff). If I have to deal with crappy >code, I'd rather it be my own :). Yes, when it's your own code you at least know where to look when there is a problem. :) What news server software is yours? (other than the web based tool used on newsreaders.com) >And tranist servers are a lot simpler to write. If you want to do a >good job at both, you need to design the server from the ground up >to work well for both. Tacking on reader support later isn't likely >going to cut it. It has been designed from the ground up to support reader access. I just haven't wrote the code yet. While there may be some surprises in the future most of the general design is done. It's just a matter of codeing it. :) >For example, have you thought about the issues of how the >group/xover code "knows" when an article has expired? A newsreader >that returns GROUP info, or XOVER data, or LISTGROUP, data that's >outdated, or just wrong, is a bad news server. The spool system has callbacks when an article is being pushed out. The xover data is updated before the article is removed. The xover data can never become out of sync with the spool and no expire process is needed. That's the design theory. Like I said all the code isn't written yet, but these issues were thought about and the existing code has stub functions in place to handle these issues. >If you use a simple fixed size cyclic buffer of some type for >history. And the admin must define the size of the history file, >then you run into the problem of the admin not setting the size >large enough to hold "all" the Messages-IDs that in the spool. And >good reader box needs to adjust the size of the history >automatically to make sure that each and every article in the spool >has an entry in the history file. This is another problem like the The history system will support millions of records. It's a simple matter to compute the needed size. For example if you receive 1 million articles per day and you wish to store articles for 30 days you would need 30 million history entries. The system will be able to detect if it's removing a history item that is still pointing to a spool object. Also oversizeing the history will not hurt anything other than use some cheap hard drive space so you would just choose a larger number than needed. Yes the admin must make a guess, but the defaults should not need adjusting except on very large sites and those admins should be able to do some math. >Remeber also that on a reader box you will want to support different >article retentions based on how the admins wants to save things. The >could for example save one local group in a spool which lists for a >full year. But all other articles expire in about a week. You don't >want to force the history file to hold _all_ articles for a year >just because the 10 article in the local gorup stay around that >long. But you do need to make sure that the Message-IDs of those 10 >articles stay in the history for a full year. All the cyclic buffer modules have callbacks before an entry is deleted. This allows, for example, the history queue to skip the deleting of an entry if the article it points to is still stored on the spool. >You will need to change that later. You can't afford to use fixed >size buffers once you start trying to support 100's of peers or >1000's of readers. You have to allocate and free the buffers on the >fly as well as dynamically adjust their size. The 1 MB of memory is only needed for peers. I may change that in the future, but for now it's not an issue. The virtual memory system should allow most unused buffer pages to be swapped out without affecting performace. Does anyone that has a machine with several hundred incoming feed channels want to test it? Thanks for the feedback. I'll keep all these issues in mind as I add the reader support. Steve Walker. btw- Is this message formated better?
Re: News routing software
Author: mouse
Date: Sat, 25 Mar 2000 00:00
Date: Sat, 25 Mar 2000 00:00
57 lines
3289 bytes
3289 bytes
On 25 Mar 2000 16:14:43 -0600 jgreco@ns.sol.net (Joe Greco) wrote: >Diablo's "external expire program" is fast and efficient, and at >some future date will probably not be external (please note that I'm >one of the folks doing hacking on Diablo, and of those who are >actively hacking on it, I've probably been using it the longest... >over three years). My design theory was to use data structures that do not need to be expired. Not even internally. On something like a history queue why should you have to add to the end and delete from the head. Why not just loop back to the head and start overwriteing on top of the oldest record. It seemed like the right way to do it and I wanted to do it "right" from the start. Note that what I consider as "right" may not be the same for you. >Having one config file is a bit of a pain, it was one of the things >I despised about Cyclone after a while. Would having the ability to include other config files help? In such a case you could, for example, have one global settings and one feeds.conf file. Why does having everything in one file become a pain. I felt that that way INN does it is a pain. To setup a feed you have to edit several config files, incoming.conf, innfeed.conf, and newsfeeds (I think). That is what I wanted to avoid. >Diablo is nice and modular, and can be made to pull unusual tricks >with minimal effort... such as adding UUCP batching capabilities. You are the author. The authors of INN say the same thing, but dumb people like me have a hard time getting over the inital learning curve. I do plan on adding an <FeedExternal> setting block that would pipe a feed into an external program. The external program would just receive the feed via stdin. Is that how your uucp batcher works? If so your uucp batcher may even be used by my software. >As far as Diablo's documentation, it's mostly there in the config >files, which is where I happen to like the detailed stuff to be. >Finding that shouldn't be too hard, and is outlined in the >documentation included with the source. > >In other words, I don't think you tried at all. I tried Diablo some time ago. Knowning what I know now I think I could get it running, but at that time it was just too much of a learning curve and I didn't want to spend that much time on it. I didn't mean to insult Diablo or INN. I just don't personaly like the way they are setup. I like things simple so I'm writing my own. Have you tried mine? Thanks, Steve Walker mouse@nibble.net http://nntprouter.nibble.net
Re: News routing software
Author: Joe Greco
Date: Sat, 25 Mar 2000 00:00
Date: Sat, 25 Mar 2000 00:00
37 lines
2811 bytes
2811 bytes
In news.software.nntp article <38dcf23a$1_1@news.nntpserver.com>, mouse@NOSPAMnibble.net wrote: :On Sat, 25 Mar 2000 12:22:32 +0100 Brad Knowles <brad@shub-internet.org> wrote: :>In article <38dc7c3a$1_1@news.nntpserver.com>, mouse@nospam.nibble.net :>wrote: :> :>> After many weeks of trying to get INN to run correctly as a news router :>> under Linux I gave up and started writing my own software. btw- I also :>> tried Cyclone and I liked everything except the $15,000.00 price tag. :> :> Is there any reason why you didn't look at Diablo? :> :>-- :>Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/> : :I never could get Diablo to work. I'm guessing that someone that has used Diablo could setup a machine quickly, but a first time user will find there is no good documentation. News software shouldn't be that :hard to setup. My software is one executable and one config file. That's all there should be. Everything is also cyclic so there is never any expire process to run. Diablo needs an external expire program run every night. The install process for my software is untar the archive, edit one config file, and run the program. Diablo's "external expire program" is fast and efficient, and at some future date will probably not be external (please note that I'm one of the folks doing hacking on Diablo, and of those who are actively hacking on it, I've probably been using it the longest... over three years). Having one config file is a bit of a pain, it was one of the things I despised about Cyclone after a while. Diablo is nice and modular, and can be made to pull unusual tricks with minimal effort... such as adding UUCP batching capabilities. As far as Diablo's documentation, it's mostly there in the config files, which is where I happen to like the detailed stuff to be. Finding that shouldn't be too hard, and is outlined in the documentation included with the source. In other words, I don't think you tried at all. ... JG
Re: News routing software
Author: Joe Greco
Date: Sat, 25 Mar 2000 00:00
Date: Sat, 25 Mar 2000 00:00
15 lines
1306 bytes
1306 bytes
In news.software.nntp article <sifD4.3466$nI2.73147@ptah.visi.com>, drechsau+usenet@yuck.net (Mike Horwath) wrote: :Brad Knowles <brad@shub-internet.org> wrote: :: I still don't see anyone even talking about Diablo, and I have to :: wonder why? : :Diablo is difficult to set up if your whole goal in life is to have a :larger dick. Ahh, still trying to compensate, eh Mike ;-) Just kidding of course. You asked for it. ... JG
Re: News routing software
Author: mouse
Date: Sat, 25 Mar 2000 00:00
Date: Sat, 25 Mar 2000 00:00
22 lines
1808 bytes
1808 bytes
On Sat, 25 Mar 2000 12:22:32 +0100 Brad Knowles <brad@shub-internet.org> wrote: >In article <38dc7c3a$1_1@news.nntpserver.com>, mouse@nospam.nibble.net >wrote: > >> After many weeks of trying to get INN to run correctly as a news router >> under Linux I gave up and started writing my own software. btw- I also >> tried Cyclone and I liked everything except the $15,000.00 price tag. > > Is there any reason why you didn't look at Diablo? > >-- >Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/> I never could get Diablo to work. I'm guessing that someone that has used Diablo could setup a machine quickly, but a first time user will find there is no good documentation. News software shouldn't be that hard to setup. My software is one executable and one config file. That's all there should be. Everything is also cyclic so there is never any expire process to run. Diablo needs an external expire program run every night. The install process for my software is untar the archive, edit one config file, and run the program. Steve Walker mouse@nibble.net
Re: News routing software
Author: Brad Knowles
Date: Sat, 25 Mar 2000 00:00
Date: Sat, 25 Mar 2000 00:00
17 lines
1473 bytes
1473 bytes
In article <38dc7c3a$1_1@news.nntpserver.com>, mouse@nospam.nibble.net
wrote:
> After many weeks of trying to get INN to run correctly as a news router
> under Linux I gave up and started writing my own software. btw- I also
> tried Cyclone and I liked everything except the $15,000.00 price tag.
Is there any reason why you didn't look at Diablo?
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a news server administrator outside of North America and Western
Europe? If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.
Re: News routing software
Author: Curt Welch
Date: Sat, 25 Mar 2000 00:00
Date: Sat, 25 Mar 2000 00:00
179 lines
9080 bytes
9080 bytes
mouse@nospam.nibble.net wrote:
> Organization: http://www.easyusenet.com via WNews the worlds most
> powerful web based news reader.
> References: <(null)>
^^^^^^^^
How about the world's most buggy newsreader?
Did you write that newsreader as well? Or are you just posting from
easyusenet?
> Hello everyone,
>
> After many weeks of trying to get INN to run correctly as a news router
> under Linux I gave up and started writing my own software.
Yeah, me to. Well, I didn't give up on making INN work, but I did decide
I was tired of messing with other people's crappy code (that was at the
beginning of the 2.0 stuff). If I have to deal with crappy code, I'd
rather it be my own :).
> btw- I also
> tried Cyclone and I liked everything except the $15,000.00 price tag. I
> now have a working beta version and I'm wondering if anyone in this group
> would like try it out and give suggestions and/or bug reports.
Your article has no line breaks. Each paragraph is one long line. Very
bogus. I hope this isn't an indication of the quality of your code.
> The end product will support reader access, but for now it's just a
> router. One design goal was to make one product that could be used for
> either routing or reading.
Yeah, that's what I did as well. But there is a cost to that design. If
you only do routing, you can do a lot of things differently that makes
it perform much better as a router. It's not just as simple as turnning
off a few features.
And tranist servers are a lot simpler to write. If you want to do a good
job at both, you need to design the server from the ground up to work
well for both. Tacking on reader support later isn't likely going to
cut it.
> People that do not want to support readers
> should be able to turn off the CPU/IO intensive work that is required to
> maintain the database used for reader access.
It's not as much a CPU issue as a disk issue in my experience. But CPU
is part of it as well of course.
> I just haven't wrote the
> code to support reader commands yet.
If you don't address all the reader related issues in your initial design,
you will find that you can't make it work correctly later. The subtle
details will kill you -- or leave you with a crappy news server.
For example, have you thought about the issues of how the group/xover code
"knows" when an article has expired? A newsreader that returns GROUP
info, or XOVER data, or LISTGROUP, data that's outdated, or just wrong, is
a bad news server.
This is just one of many small issues that you may not think about until
you start writing that other code. And by the time you get there, if your
basic storage system doesn't have the support you need, you will find that
the only options are to return the best info you can (crappy server), or
do a complete re-design of the server architecture.
> When it's done it will just be a
> matter of defining a <reader></reader> block in the config file.
>
> Another feature is it's simple to setup. This was my largest complaint
> about INN.
Yeah, me to. How many times have I seen people ask about the can't init
history file error in this group? Why doesn't someone working on INN fix
it so INN just creates the damn history file on it's own if it's not there?
The highwind folks were much better about about creating software that just
"worked".
> There is one executable and one config file. The config file
> is in the style of the Apache web server config files. Everything is
> stored in cyclic buffers: spool, history,
On a transit machine, you quite offten what a history file which is much
larger than your spool (i.e. the spool may only be big enough for 6 hours
of data, but the history should hold multiple days of old Message-IDs).
On a reader box, you have a huge spool, and for basic transit related
issues (have you seen article X?), you don't need such a large history.
But, the history is also used for fetching articles by Message-ID. And
any server that has an article in the spool, (i.e. you can read it
using GROUP and ARTICLE NNN commands), but fails when you try to fetch
it by Message-ID, is once again, a crappy server.
If you use a simple fixed size cyclic buffer of some type for history. And
the admin must define the size of the history file, then you run into the
problem of the admin not setting the size large enough to hold "all" the
Messages-IDs that in the spool. And most likely, the admin won't even
realize it's a problem. The users try to find articles by message-id, and
are told it's not on the server. They just assume that's true, when in
fact it is on the server, and it's just a history file problem that makes
it look like it's not on the server.
A good reader box needs to adjust the size of the history automatically to
make sure that each and every article in the spool has an entry in the
history file. This is another problem like the one above that you may not
be able to solve once you "add the reader" commands unless you re-design
the article storage system and history file formats from the group up
later. So think about this as you write your code.
Remeber also that on a reader box you will want to support different
article retentions based on how the admins wants to save things. The could
for example save one local group in a spool which lists for a full year.
But all other articles expire in about a week. You don't want to force the
history file to hold _all_ articles for a year just because the 10 article
in the local gorup stay around that long. But you do need to make sure
that the Message-IDs of those 10 articles stay in the history for a full
year.
I personally find that strict fixed length cyclic buffers don't work as
well on reader boxes as other designs for these reasons.
> queue files, etc... There is
> no need to run any expire or cron processes.
Yeah, that's a mess. I too have avoided the need for all external cron
jobs. You just modify the config file and start the server. Nothing
else to set up. INN is such a mess with all it's extra bagage.
There are a few periodic clean-up things that happen internally in the
sever (memory allocation issues mostly) that are someone what like cron
jobs, but it's all done inside the server so the admin never has to think
about it.
> It also will use external
> spam filters. I have a real nice perl based spam filter that I'm using
> with it.
>
> You could easily max out a 100 Mbit ethernet connection with low end
> hardware.
Low end PCs aren't really all that "low end" anymore :).
> My test machine (P3/500, 256MB RAM, IDE drives) is burning 23
> Mbits of bandwidth, load average of 0.6, CPU at 70% idle and it's even
> running my perl based spamfilter. It requires about 1 MB of memory for
> each open stream. This number is directly related to the max article
> size so you can adjust the memory needs.
You will need to change that later. You can't afford to use fixed size
buffers once you start trying to support 100's of peers or 1000's of
readers. You have to allocate and free the buffers on the fly as well
as dynamically adjust their size.
> Right now I only have a Linux version. I'm not releasing the code right
> now, but all the code is standard Unix code. The only requirement is it
> needs pthreads and mmap.
pthreads and mmap are two things known to have have problems on various
versions of Unix. You will find it hard to port to a wide range of Unix
systems. I avoided both in my design. But without threads, the code gets
a lot more complex to write.
The use of threads is the primary thing that made the Highwind code such
a bitch to port as far I can tell. (not so hard to compile on other
systems, but a real bitch to make it work well). If easy portability
across a wide range of Unix systems is important, I'd suggest you re-think
that. If you don't mind sticking to a single platform (or two), then using
threads is probably a fine way to go.
--
Curt Welch http://CurtWelch.Com/
curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: News routing software
Author: Russ Allbery
Date: Sat, 25 Mar 2000 00:00
Date: Sat, 25 Mar 2000 00:00
22 lines
1538 bytes
1538 bytes
mouse <mouse@nospam.nibble.net> writes: > Another feature is it's simple to setup. This was my largest complaint > about INN. There is one executable and one config file. The config > file is in the style of the Apache web server config files. Wow, out of all the different types of configuration files out there, you managed to accurately pick my dead least favorite. Ewww. *sigh* Other than that, sounds great! More news software is always cool, particularly software that I hope will eventually be released as free software. (Better unification and more importantly better ease of configurability is certainly one of my long-term goals for INN. I remain extremely unconvinced that unifying the configuration files into one file is the correct way to do that.) -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: News routing software
Author: J. Moreno
Date: Sat, 25 Mar 2000 00:00
Date: Sat, 25 Mar 2000 00:00
12 lines
1082 bytes
1082 bytes
In article <38dd4c92$1_1@news.nntpserver.com>, <mouse@NOSPAM.nibbel.net> wrote: > btw- Is this message formated better? No it's formatted significantly worse. -- J. B. Moreno Pessimist: Half empty Optimist: Half full Engineer: Wrong size glass
Re: News routing software
Author: Joe Greco
Date: Sat, 25 Mar 2000 00:00
Date: Sat, 25 Mar 2000 00:00
116 lines
6455 bytes
6455 bytes
In news.software.nntp article <38dd5564$1_1@news.nntpserver.com>, mouse@NOSPAM.nibble.net wrote: :On 25 Mar 2000 16:14:43 -0600 jgreco@ns.sol.net (Joe Greco) wrote: :>Diablo's "external expire program" is fast and efficient, and at :>some future date will probably not be external (please note that I'm :>one of the folks doing hacking on Diablo, and of those who are :>actively hacking on it, I've probably been using it the longest... :>over three years). : :My design theory was to use data structures that do not need to be :expired. Not even internally. On something like a history queue :why should you have to add to the end and delete from the head. Why :not just loop back to the head and start overwriteing on top of the :oldest record. It seemed like the right way to do it and I wanted :to do it "right" from the start. Note that what I consider as "right" :may not be the same for you. The problem with this is that it becomes perilous to try to recover data correctly and safely, or you can do so but at the price of performance. Here's an example. You have a system that does a cyclical storage system. Presume you have a NULL separator to keep articles separate, in the Diablo or (early?) CNFS style. Think about the ramifications. If you want to read an article from spool, you get the history entry and fetch the location identifier. So far so good. You go to get the article. But is it really your article, or is it something that has overwritten the article you were trying to dig up? Okay, so you can try to expire history entries for old articles as they are being overwritten. Sloppy, inefficient, and s-l-o-w. Not good option. Or you can not worry about it and risk improper article retrieval. Or you can try variants, such as checking to see if it looks like a message, verifying the MID is what you were trying to retrieve. Of course, you still have to be damn careful, since you _must_ do atomic writes (and, inversely, atomic reads) unless you want to get into the perils of locking file regions - otherwise, you may hammer articles as they are being read. You also require a decent (kernel) threads implementation, because you don't want a writer to block the entire process. (Ick). I could start delving into the other 101 reasons I chose not to write my own news server package, but I'm tired. :>Having one config file is a bit of a pain, it was one of the things :>I despised about Cyclone after a while. : :Would having the ability to include other config files help? In :such a case you could, for example, have one global settings and one :feeds.conf file. Why does having everything in one file become a :pain. I felt that that way INN does it is a pain. To setup a feed :you have to edit several config files, incoming.conf, innfeed.conf, :and newsfeeds (I think). That is what I wanted to avoid. I think most anyone setting up any serious number of feeds will end up writing some custom tools to implement global policies anyways, and it's far easier to see what's going on without the data being spread throughout a 100K file. :>Diablo is nice and modular, and can be made to pull unusual tricks :>with minimal effort... such as adding UUCP batching capabilities. : :You are the author. The authors of INN say the same thing, but dumb :people like me have a hard time getting over the inital learning :curve. I do plan on adding an <FeedExternal> setting block that would :pipe a feed into an external program. The external program would just :receive the feed via stdin. Is that how your uucp batcher works? If :so your uucp batcher may even be used by my software. I don't like piping gobs of data, so, no, I pass spool location identifiers and deal with it as a variation on dnewslink. :>As far as Diablo's documentation, it's mostly there in the config >files, which is where I happen to like the detailed stuff to be. >Finding that shouldn't be too hard, and is outlined in the >documentation included with the source. :> :>In other words, I don't think you tried at all. : :I tried Diablo some time ago. Knowning what I know now I think I :could get it running, but at that time it was just too much of a :learning curve and I didn't want to spend that much time on it. : :I didn't mean to insult Diablo or INN. I just don't personaly like :the way they are setup. I like things simple so I'm writing my own. :Have you tried mine? Shit, no, and I'm not likely to. I switched to Diablo because I knew Matt's history and I trusted his engineering. He's been well known since before the days he was writing compilers. Still, Matt's stuff wasn't perfect. Some of us out here have really heavy requirements. Some of my spools store a hundred million articles. Some of my spools store two terabytes. I've both helped Matt scale up there (like the 24 million Message-ID's I handed him so he could build a low-collision hash function for history) and done some of the scaling myself. Some of my machines accept news at rates peaking at 1000 articles per second. Many of my machines have hundreds of simultaneous NNTP streams. I can't afford to see any of that hosed up for any period of time, even if I believed that your software could do any of that - which, quite frankly, I don't, seeing as how it took a relative genius like Matt over a year to come even close to getting it right. Running news should have some learning curve attached to it. There are too many Clue-- admins running around out there. You should have to do some minimal work to set up news. ... JG
Re: News routing software
Author: Russ Allbery
Date: Sat, 25 Mar 2000 00:00
Date: Sat, 25 Mar 2000 00:00
16 lines
1398 bytes
1398 bytes
Steve Walker <mouse@NOSPAM.nibble.net> writes: > I think Highwind is doing some non standard stuff and blaming the OS. I > tested the Linux port of Typhoon and it would die with a seg fault every > 4 hours or so. When I wrote Highwind about it they told me to install > Solaris. Linux has a somewhat non-standard threading model. (POSIX threads are an odd compromise. A lot of people who like writing threaded software don't like them for various reasons, including some of the folks who work on threading for Linux.) -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: News routing software
Author: Brad Knowles
Date: Sun, 26 Mar 2000 00:00
Date: Sun, 26 Mar 2000 00:00
50 lines
2772 bytes
2772 bytes
In article <38dcf23a$1_1@news.nntpserver.com>, mouse@NOSPAMnibble.net
wrote:
> I never could get Diablo to work. I'm guessing that someone that has
> used Diablo could setup a machine quickly, but a first time user will
> find there is no good documentation.
We're working on that. Right now, the primary thing is to add the
features that are necessary to make it scale up to be able to handle
millions of users, but we realize that the documentation is also
important.
This is one area where INN has an advantage with the O'Reilly book,
although it is a bit dated.
> News software shouldn't be that
> hard to setup.
Agreed.
> My software is one executable and one config file.
> That's all there should be.
The monolithic one-size-fits-all solution has not served sendmail
well, and my personal opinion is that it will not serve you (or anyone
else) well, either.
> Everything is also cyclic so there is never
> any expire process to run. Diablo needs an external expire program run
> every night.
Actually, I believe that the normal procedure is to have dexpire run
quite a bit more frequently than that, and typically take only a few
minutes each time it runs.
> The install process for my software is untar the archive,
> edit one config file, and run the program.
While that does have some attraction, I believe that there is also
serious danger with that method. Witness all the problems with sendmail
over the years.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a news server administrator outside of North America and Western
Europe? If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.
Re: News routing software
Author: Sven Paulus
Date: Sun, 26 Mar 2000 00:00
Date: Sun, 26 Mar 2000 00:00
16 lines
1341 bytes
1341 bytes
Brad Knowles <brad@shub-internet.org> wrote: |>> The concepts sound good and I think this software really fills a gap |>> between NNTPrelay (wrong platform) and Cyclone (too expensive). |> I still don't see anyone even talking about Diablo, and I have to |> wonder why? Last time I looked at diablo (~ one year ago), it was a little bit slow in getting articles out of the system compared to the other software available. So I don't see any advantages using Diablo on a feeder-only box instead of INN/CNFS for example. On the other hand the distributed reader setup of Diablo really looks interesting, but the above statement was made with feeding-solutions in mind. Sven
Re: News routing software
Author: Steve Walker
Date: Sun, 26 Mar 2000 00:00
Date: Sun, 26 Mar 2000 00:00
31 lines
1916 bytes
1916 bytes
On Sun, 26 Mar 2000 01:14:49 +0100, Brad Knowles <brad@shub-internet.org> wrote: > >In article <20000325144143.934$mi@newsreader.com>, curt@kcwc.com (Curt >Welch) wrote: > >> The use of threads is the primary thing that made the Highwind code such >> a bitch to port as far I can tell. (not so hard to compile on other >> systems, but a real bitch to make it work well). > > Yup. For example, they used to have a FreeBSD version of the >Highwind products, but they have since pulled back. Right now, >threading support on FreeBSD isn't as good as it needs to be, in order >to properly support things like the Highwind programs (at least, the way >the programmers want to have them supported). I think Highwind is doing some non standard stuff and blaming the OS. I tested the Linux port of Typhoon and it would die with a seg fault every 4 hours or so. When I wrote Highwind about it they told me to install Solaris. At any rate, my first goal is to get a good Linux version. Porting to other OS's will be down the road. FreeBSD would be the first OS I port to, but that won't happen until I either setup a FreeBSD machine or someone loans me a shell account. Steve Walker
Re: News routing software
Author: Thomas Tonino
Date: Sun, 26 Mar 2000 00:00
Date: Sun, 26 Mar 2000 00:00
20 lines
1708 bytes
1708 bytes
Sven Paulus wrote: > On the other hand the > distributed reader setup of Diablo really looks interesting, but the > above statement was made with feeding-solutions in mind. At a previous employer we went from INN-1.7.x-with-go-faster-patches to the then current Diablo. While Diablo was a much better feeder, on the same hardware (Sun Ultra 1) it basically sucked for reading: around half the throughput. That was on Solaris however - it may have been a poor match to the OS and Diablo may have improved a lot since. Still I didn't like the expire processes needed, but now again, the idea of a news reader cache looks pretty. Anyone willing to share experiences with 'reader caching' in a cable/dsl environment? Thomas
Re: News routing software
Author: Steve Walker
Date: Sun, 26 Mar 2000 00:00
Date: Sun, 26 Mar 2000 00:00
30 lines
1871 bytes
1871 bytes
On 25 Mar 2000 16:59:30 -0800, Russ Allbery <rra@stanford.edu> wrote: >Steve Walker <mouse@NOSPAM.nibble.net> writes: > >> I think Highwind is doing some non standard stuff and blaming the OS. I >> tested the Linux port of Typhoon and it would die with a seg fault every >> 4 hours or so. When I wrote Highwind about it they told me to install >> Solaris. > >Linux has a somewhat non-standard threading model. (POSIX threads are an >odd compromise. A lot of people who like writing threaded software don't >like them for various reasons, including some of the folks who work on >threading for Linux.) The thing about the Highwind software is that Cyclone works great under Linux, but Typhoon doesn't. That makes me blame Typhoon, not Linux since they are both phreaded software. I'm sure they share the same core modules. Yet Highwind blames Linux for Typhoon crashing every 4 horus. :) btw- The sales guy told me the other day that they have a new Linux version so maybe they have it fixed now. Steve Walker mouse@nibble.net http://nntprouter.nibble.net
Re: News routing software
Author: those who know me have no need o...
Date: Sun, 26 Mar 2000 00:00
Date: Sun, 26 Mar 2000 00:00
13 lines
1347 bytes
1347 bytes
<20000325211050.881$IU@newsreader.com> divulged: >Gee, is there anything not registered anymore? What's going to happen >in 100 years when every name < 100 characters in length has been >registered by someone? Are you going to have to use a broker just to >buy DNS name space realestate? a hundred years? ten years at best, even if additional tld's are approved, and widely used. heck, you need a broker now sometimes. -- okay, have a sig then
Re: News routing software
Author: Brad Knowles
Date: Sun, 26 Mar 2000 00:00
Date: Sun, 26 Mar 2000 00:00
37 lines
2547 bytes
2547 bytes
In article <38dd4c92$1_1@news.nntpserver.com>, mouse@NOSPAM.nibbel.net
wrote:
> Yes, when it's your own code you at least know where to look when there
> is a problem. :) What news server software is yours? (other than the web
> based tool used on newsreaders.com)
He's written his own news server software from the ground-up, and it
is used as the server behind newsreaders.com, which uses a web interface
he built from the ground up. It's my understanding that he's got quite
a few customers by now, and I've watched his system change and improve
over the years. At this point, I'd say that it's better than any other
I know of, including remarQ and Deja.com.
But then, I'm a little biased -- I'm a friend of his, and have been
a beta tester since long before I left the US to come over here to
Europe.
> It has been designed from the ground up to support reader access. I just
> haven't wrote the code yet. While there may be some surprises in the
> future most of the general design is done. It's just a matter of codeing
> it. :)
My experience is that it's not too hard to come up with designs that
look very similar at very high levels, it's when you start looking at
the details that things like programming expertise, genius of design,
etc... start making themselves known and the adults are distinguished
from the children.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a news server administrator outside of North America and Western
Europe? If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.
Re: News routing software
Author: Sven Paulus
Date: Sun, 26 Mar 2000 00:00
Date: Sun, 26 Mar 2000 00:00
52 lines
2912 bytes
2912 bytes
mouse@nospam.nibble.net wrote:
|> Right now I only have a Linux version. I'm not releasing the code
|> right now, but all the code is standard Unix code. The only
|> requirement is it needs pthreads and mmap.
... and libmd5, which isn't easy to find (I located a source RPM on a
RedHat 5.x archive site).
|> There is no reason it
|> couldn't be compiled on another OS but for now I only have a Intel
|> Linux version ready of testing. If someone really wants a version
|> for their OS and is willing to provide a shell account I could
|> compile a version for you.
The design of this thing sounds really interesting, so I decided to
give it a try in a little test setup.
A few comments:
- I don't like the "almost everything in one directory" concept
(executables, data files, configuration), maybe you could add some
configuration directives to place them in different directories
(and a command line option to specify the configuration file)
- the process doesn't drop root priviledges at any time, this
opens the door in case of security holes
- the process stays in the foreground, it doesn't detach itself
from the terminal (cosmetic)
- is there a way to reread configuration without having to
shut down the server? HUP kills the process
- IHAVE isn't supported on incoming feeds
- QUIT takes quite a while to complete
- if you give Message-IDs longer than 128 (or so) characters
after CHECK or TAKETHIS you're back on command state without
a reply (CHECK) or state change (TAKETHIS)
- earthquake accepts posts with duplicate headers
- in earthquake.conf it says that all patterns are regex, but
there are examples like "alt.binaries.pictures.erotica.*"
(instead of "^alt\.binaries\.pictures\.erotica\.") and
"news.nntpserver.com" (instead if "news\.nntpserver\.com")
(btw. are these patterns treated
- what does "Feeding thread not updated in 9540265542 seconds so
killing it" mean? I didn't start the process in January 1970 ;-)
Yes, I know, this is only the first beta release, so don't take this
list a criticism, but as a combined bug-report/feature request :-)
The concepts sound good and I think this software really fills a gap
between NNTPrelay (wrong platform) and Cyclone (too expensive).
Sven
Re: News routing software
Author: Steven Clarke
Date: Sun, 26 Mar 2000 00:00
Date: Sun, 26 Mar 2000 00:00
11 lines
1312 bytes
1312 bytes
Sven Paulus (sven@karlsruhe.org) wrote: : I did use realtime feeds, I even decreased the sleep(1) (or something : like that) in the code, but Diablo couldn't reach INN/CNFSs performance : in sending articles out. Recent versions of diablo replace the sleep by a select and this brings performance roughly in level with INN/CNFS. Steve Clarke
Re: News routing software
Author: Tom Minchin
Date: Sun, 26 Mar 2000 00:00
Date: Sun, 26 Mar 2000 00:00
30 lines
2309 bytes
2309 bytes
Steve Walker <mouse@nospam.nibble.net> wrote: > On Sun, 26 Mar 2000 01:14:49 +0100, Brad Knowles > <brad@shub-internet.org> wrote: >> >>In article <20000325144143.934$mi@newsreader.com>, curt@kcwc.com (Curt >>Welch) wrote: >> >>> The use of threads is the primary thing that made the Highwind code such >>> a bitch to port as far I can tell. (not so hard to compile on other >>> systems, but a real bitch to make it work well). >> >> Yup. For example, they used to have a FreeBSD version of the >>Highwind products, but they have since pulled back. Right now, >>threading support on FreeBSD isn't as good as it needs to be, in order >>to properly support things like the Highwind programs (at least, the way >>the programmers want to have them supported). > I think Highwind is doing some non standard stuff and blaming the OS. > I tested the Linux port of Typhoon and it would die with a seg fault > every 4 hours or so. When I wrote Highwind about it they told me to > install Solaris. Typhoon 1.2.1 and the 1.2.3 beta seem to be ok (1.2.2 exhibited the core dump feature every 30 mins or so) for Linux. I've had 1.2.1 running for 2 months straight (didn't have to add any new feeds). 1.2.3beta seems to be fine. tom@interact.net.au
Re: News routing software
Author: Steve Walker
Date: Sun, 26 Mar 2000 00:00
Date: Sun, 26 Mar 2000 00:00
110 lines
5058 bytes
5058 bytes
On 26 Mar 2000 00:40:31 +0100, Sven Paulus <sven@karlsruhe.org> wrote: >mouse@nospam.nibble.net wrote: >|> Right now I only have a Linux version. I'm not releasing the code >|> right now, but all the code is standard Unix code. The only >|> requirement is it needs pthreads and mmap. > >... and libmd5, which isn't easy to find (I located a source RPM on a >RedHat 5.x archive site). Thanks for pointing it out. The current version shouldn't have that problem. >A few comments: > > - I don't like the "almost everything in one directory" concept > (executables, data files, configuration), maybe you could add some > configuration directives to place them in different directories > (and a command line option to specify the configuration file) You can now choose a config file by including the path to the file on the command line. For example: ./earthquake /etc/earthquake.conf > - the process doesn't drop root priviledges at any time, this > opens the door in case of security holes I'll work on that. It was just a quick and dirty way to get started. > - the process stays in the foreground, it doesn't detach itself > from the terminal (cosmetic) At this point it's considered a feature. Since I start and stop so often during testing it would be a hassle to lookup a pid and send a kill signal. If you wish to run in the background just use the command ./earthquake & for now. The first non beta version will detach on it's own. > - is there a way to reread configuration without having to > shut down the server? HUP kills the process I thought about it and I've decided against it for now. The problem is that to really reload you have to break all connections and stop the external spamfilter. If you do all that why not just kill the process and restart it? > - IHAVE isn't supported on incoming feeds Does anyone still use IHAVE to send a feed? It would be simple to add, but does anyone really need it? I'll add it anyway. I'm just wondering who uses it. > - QUIT takes quite a while to complete It should now take no more than 5 seconds to hang up. :) > - if you give Message-IDs longer than 128 (or so) characters > after CHECK or TAKETHIS you're back on command state without > a reply (CHECK) or state change (TAKETHIS) I've changed the max length of a message id to 512 characters. Any message id longer than this and earthquake gets confused. Does this sound like a reasonable limit. It can be changed up to 4096 without any recoding. > - earthquake accepts posts with duplicate headers Do duplicate headers violate the RFC's? I know that some mail to news gateways will forward messages with several "Received:" headers. Should they be rejected? Also shouldn't this type of checking be part the of external spam filter? Suggestions anyone... > - in earthquake.conf it says that all patterns are regex, but > there are examples like "alt.binaries.pictures.erotica.*" > (instead of "^alt\.binaries\.pictures\.erotica\.") and > "news.nntpserver.com" (instead if "news\.nntpserver\.com") > (btw. are these patterns treated These strings are passed right into regcomp. I've corrected some of the examples. While they are not technically correct they should work even without escaping the . character all over the place. Would people rather see glob style pattern matching? > - what does "Feeding thread not updated in 9540265542 seconds so > killing it" mean? I didn't start the process in January 1970 ;-) There is a thread that watches for stuck threads. When a thread wants to die (quit command) it just sets it's "last update time" to 0. The watch thread sees this and closes the thread down. The non beta version will not chatter so much to the log file. >Yes, I know, this is only the first beta release, so don't take this >list a criticism, but as a combined bug-report/feature request :-) I love it. I've fixed most of the item and there is a new version available now. Any more ideas? It so much easier to fix problems if they are pointed out. >The concepts sound good and I think this software really fills a gap >between NNTPrelay (wrong platform) and Cyclone (too expensive). Thanks, Steve Walker mouse@nibble.net http://nntprouter.nibble.net
Re: News routing software
Author: Brad Knowles
Date: Sun, 26 Mar 2000 00:00
Date: Sun, 26 Mar 2000 00:00
17 lines
1481 bytes
1481 bytes
In article <Carla.Brescher@bypass.pool-88.oops.inka.de>, Sven Paulus
<sven@karlsruhe.org> wrote:
> The concepts sound good and I think this software really fills a gap
> between NNTPrelay (wrong platform) and Cyclone (too expensive).
I still don't see anyone even talking about Diablo, and I have to
wonder why?
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a news server administrator outside of North America and Western
Europe? If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.
Re: News routing software
Author: Paul Martin
Date: Sun, 26 Mar 2000 00:00
Date: Sun, 26 Mar 2000 00:00
16 lines
1362 bytes
1362 bytes
In article <Valerian_Cate@encircles.pool52.oops.inka.de>, Sven Paulus wrote: >Last time I looked at diablo (~ one year ago), it was a little bit slow >in getting articles out of the system compared to the other software >available. So I don't see any advantages using Diablo on a >feeder-only box instead of INN/CNFS for example. On the other hand the Diablo was originally designed as a feeder-only server. The reader stuff got tacked on as a completely separate program later. My guessing is that you didn't use "realtime" feeds. -- Paul Martin <pm@zetnet.net> at home, swap dash to dot to email.
Re: News routing software
Author: Sven Paulus
Date: Sun, 26 Mar 2000 00:00
Date: Sun, 26 Mar 2000 00:00
138 lines
7388 bytes
7388 bytes
Steve Walker <mouse@NOSPAM.nibble.net> wrote:
|>>... and libmd5, which isn't easy to find (I located a source RPM on a
|>>RedHat 5.x archive site).
|> Thanks for pointing it out. The current version shouldn't have that
|> problem.
Ah, good :)
|>> - is there a way to reread configuration without having to
|>> shut down the server? HUP kills the process
|> I thought about it and I've decided against it for now. The problem
|> is that to really reload you have to break all connections and stop
|> the external spamfilter. If you do all that why not just kill the
|> process and restart it?
Hmm, ideally the process would detect the changes in the configuration
(new peers, dropped peers, changed peers, changed global setting)
without affecting any existing connections. Of course this is not
possible if you decrease your spool size etc. But I think coding it
that way isn't easy at all ...
|>> - IHAVE isn't supported on incoming feeds
|> Does anyone still use IHAVE to send a feed? It would be simple to
|> add, but does anyone really need it? I'll add it anyway. I'm just
|> wondering who uses it.
I think you should support it, just in case. Even only to say "my
software is fully RFC-977 compliant" :-) For very low volume setups,
IHAVE might even be better than CHECK/TAKETHIS (how long do you wait
until you switch from CHECK to TAKETHIS?).
|>> - QUIT takes quite a while to complete
|> It should now take no more than 5 seconds to hang up. :)
I looked like about 10 secs on my dual Celeron 433. But that's purely
cosmetic, I think :)
|>> - if you give Message-IDs longer than 128 (or so) characters
|>> after CHECK or TAKETHIS you're back on command state without
|>> a reply (CHECK) or state change (TAKETHIS)
|> I've changed the max length of a message id to 512 characters. Any
|> message id longer than this and earthquake gets confused. Does this
|> sound like a reasonable limit. It can be changed up to 4096 without
|> any recoding.
512 characters should be enough. But Earthquake should give an error
message (CHECK) or wait for an article (TAKETHIS, even if it's sure
from the start, that the article get's rejected) instead of going to
"accept command" state immediatly, since this violates the NNTP
protocol (and surely will confuse other servers).
Son-Of-1036 says:
[...]
a case-insensitive comparison. Message IDs MUST be no
longer than 250 octets, including the "<" and ">".
[...]
So I guess articles with longer Message-IDs might experience bad
propagation. Allowing 512 characters gets you on the safe side.
|>> - earthquake accepts posts with duplicate headers
|> Do duplicate headers violate the RFC's? I know that some mail to news
|> gateways will forward messages with several "Received:" headers.
|> Should they be rejected? Also shouldn't this type of checking be part
|> the of external spam filter? Suggestions anyone...
See Son-Of-1036:
5. Mandatory Headers
An article MUST have one, and only one, of each of the fol-
lowing headers: Date, From, Message-ID, Subject, Newsgroups,
Path.
There is no use in having multiple Message-ID headers ...
|>> - in earthquake.conf it says that all patterns are regex, but
|>> there are examples like "alt.binaries.pictures.erotica.*"
|>> (instead of "^alt\.binaries\.pictures\.erotica\.") and
|>> "news.nntpserver.com" (instead if "news\.nntpserver\.com")
|>> (btw. are these patterns treated
|> These strings are passed right into regcomp. I've corrected some of
|> the examples. While they are not technically correct they should work
|> even without escaping the . character all over the place. Would
|> people rather see glob style pattern matching?
No, regex is great! You can do checks - especcially on the Path header
- which aren't possible e.g. in INNs newsfeeds file. Another thing, I
saw, that regex are also allowed in Hostnames of incoming connections.
Does that mean you only do a reverse lookup and compare the result with
the configured pattern? This would allow everybody who has control over
an in-addr.arpa zone to setup a PTR record with the IP of its own
server to a name of a known peer of yours and could start feeding.
Also in the example configurations ^ and $ should be used, otherwise I
could setup a server named (reverse) news-out.nibble.net.karlsruhe.org
or something like that ...
|>>Yes, I know, this is only the first beta release, so don't take this
|>>list a criticism, but as a combined bug-report/feature request :-)
|> I love it. I've fixed most of the item and there is a new version
|> available now. Any more ideas? It so much easier to fix problems if
|> they are pointed out.
I didn't have a closer look on earthquake by now, but I'd really like
to see some more statistical logging. The HTML reports only seem to
reflect feeds which are currently active. There is no way to see what
happened for example an hour ago etc. I like the INN way of doing it
(logging some informational lines every n articles and the totals when
an inbound or outbound connection is closing, including article numbers
accepted/rejected and volumes). This gives you the possibility of
generating daily reports. I think most of us judge feeds primarily
based on these reports. What I also like (as an option, like cyclone
offers it, since it might be a performance issue) is a log file which
lists every article with the peer it was received from and the peers it
gets offered to (if this is possible with your multithreaded design
approach).
Is it possible to give the size of the spool buffers in MB instead of
GB? I started installing Earthquake on a little transit server which
currently runs a patched INN without history (only cache) and 16MB CNFS
in RAM disk. I was a little disappointed when I saw that I'd have to
upgrade the RAM to 1GB (which would require a major redesign of the 486
mainboard :-) ). But of course this is not a real life application.
And of course, one major wish is: Is it possible for you to go open
source with the final version? I know of many administrators which
don't trust binary only software from unknown sources. I straced
earthquake on a machine not connected to the network first check that
the program doesn't to any nonsense (since it runs with root
privileges), but I still can't be 100% sure that my /etc/shadow doesn't
get send to any host via UDP without me noticing it ... Please don't
take this personally, it's just the usual paranoia one get's when
having read bugtraq for some years :)
Sven
Re: News routing software
Author: Sven Paulus
Date: Sun, 26 Mar 2000 00:00
Date: Sun, 26 Mar 2000 00:00
10 lines
1146 bytes
1146 bytes
Paul Martin <pm@nowster-zetnet.co.uk> wrote: |> Diablo was originally designed as a feeder-only server. The reader |> stuff got tacked on as a completely separate program later. My guessing |> is that you didn't use "realtime" feeds. I did use realtime feeds, I even decreased the sleep(1) (or something like that) in the code, but Diablo couldn't reach INN/CNFSs performance in sending articles out.
Re: News routing software
Author: those who know me have no need o...
Date: Sun, 26 Mar 2000 00:00
Date: Sun, 26 Mar 2000 00:00
18 lines
1163 bytes
1163 bytes
<38dd4c92$1_1@news.nntpserver.com> divulged: >cheap hard drive space not all such space is cheap, nor even inexpensive. >the defaults should not need adjusting ... except as the feed size grows. which it always does. so this needs to be adaptive or changeable. >btw- Is this message formated better? no. -- okay, have a sig then
Re: News routing software
Author: Brad Knowles
Date: Sun, 26 Mar 2000 00:00
Date: Sun, 26 Mar 2000 00:00
21 lines
1767 bytes
1767 bytes
In article <20000325144143.934$mi@newsreader.com>, curt@kcwc.com (Curt
Welch) wrote:
> The use of threads is the primary thing that made the Highwind code such
> a bitch to port as far I can tell. (not so hard to compile on other
> systems, but a real bitch to make it work well).
Yup. For example, they used to have a FreeBSD version of the
Highwind products, but they have since pulled back. Right now,
threading support on FreeBSD isn't as good as it needs to be, in order
to properly support things like the Highwind programs (at least, the way
the programmers want to have them supported).
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a news server administrator outside of North America and Western
Europe? If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.
Re: News routing software
Author: Joe Greco
Date: Sun, 26 Mar 2000 00:00
Date: Sun, 26 Mar 2000 00:00
29 lines
1752 bytes
1752 bytes
In news.software.nntp article <E9hD4.3478$nI2.73951@ptah.visi.com>, drechsau+usenet@yuck.net (Mike Horwath) wrote: :Joe Greco <jgreco@ns.sol.net> wrote: :: In news.software.nntp article <sifD4.3466$nI2.73147@ptah.visi.com>, drechsau+usenet@yuck.net (Mike Horwath) wrote: :: :Brad Knowles <brad@shub-internet.org> wrote: :: :: I still don't see anyone even talking about Diablo, and I have to :: :: wonder why? :: : :: :Diablo is difficult to set up if your whole goal in life is to have a :: :larger dick. : :: Ahh, still trying to compensate, eh Mike ;-) : :: Just kidding of course. You asked for it. : :Sure... : :And I don't run Diablo on my feeder either :) And I do. What's that say? :-) My _new_ paper for SANE2000: "Estimating a news admin's dick size by the news software he runs", I've worked far harder than I should have to this week. I need a break. .... JG
Re: News routing software
Author: Curt Welch
Date: Sun, 26 Mar 2000 00:00
Date: Sun, 26 Mar 2000 00:00
83 lines
4639 bytes
4639 bytes
mouse@NOSPAM.nibble.net (Steve Walker) wrote: > On 26 Mar 2000 00:40:31 +0100, Sven Paulus <sven@karlsruhe.org> wrote: > > - is there a way to reread configuration without having to > > shut down the server? HUP kills the process > > I thought about it and I've decided against it for now. The problem > is that to really reload you have to break all connections and stop > the external spamfilter. If you do all that why not just kill the > process and restart it? For a feed box, doing a shutdown and restart is seldom a real problem. But on a reader box, you don't want to have to kick off users if you don't have to. So there lots of reasons for having "smart" configuration reloads which just check to see what's changed and only adjust things as required without having to stop anything that's in progress. And even on a feed box, it's nice if you can set up new peers or change access control stuff without having to restart the server every time you do that. Diablo is very good about that. > > - IHAVE isn't supported on incoming feeds > > Does anyone still use IHAVE to send a feed? Yes. The ISP-SAT feed software for example uses IHAVE. Some people still prefer to use IHAVE in some cases. You need to support it. Can you correctly deal with a TAKETHIS <bogus id@host>? i.e. a Message-ID with a space in it on a TAKETHIS? If you reject it with an 500 syntax error then the article following the TAKETHIS will be parsed as NNTP commands. Not a good thing. Diablo used to do this. Don't know if it still allows Message-IDs with spaces. > > - if you give Message-IDs longer than 128 (or so) characters > > after CHECK or TAKETHIS you're back on command state without > > a reply (CHECK) or state change (TAKETHIS) > > I've changed the max length of a message id to 512 characters. Any > message id longer than this and earthquake gets confused. Does this > sound like a reasonable limit. Yes 512 is fine. I've now gone to the son-of-1036 standard of 250 bytes. Anything long gets rejected. > > - earthquake accepts posts with duplicate headers > > Do duplicate headers violate the RFC's? Dups of the standard News headers violate the RFCs but not dups of "any" header. Most transist servers don't seem to check things like this (but a dup of the Message-ID would be something that's wise to check in the Tranist server). You must check for these problems on POST commands though. Speeking of which, you also need to check that the Real Message-ID in the article and not just trust the ID that was sent in the TAKETHIS or the IHAVE. Lots of feeding software gets this wrong from time to time and you don't want to pass along those types of errors to your other peers. > > - in earthquake.conf it says that all patterns are regex, but > > there are examples like "alt.binaries.pictures.erotica.*" > > (instead of "^alt\.binaries\.pictures\.erotica\.") and > > "news.nntpserver.com" (instead if "news\.nntpserver\.com") > > (btw. are these patterns treated > > These strings are passed right into regcomp. I've corrected some of > the examples. While they are not technically correct they should work > even without escaping the . character all over the place. Would > people rather see glob style pattern matching? For newsgroup names it's what everyone else uses. You would confuse people if you used regular expressions. And having to escape the dots would be a real pain. And the wildmat stuff in NNTP is all glob style and not regular expresions (like LIST ACTIVE alt.*). -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: News routing software
Author: Curt Welch
Date: Sun, 26 Mar 2000 00:00
Date: Sun, 26 Mar 2000 00:00
22 lines
1859 bytes
1859 bytes
curt@kcwc.com (Curt Welch) wrote: > mouse@NOSPAM.nibbel.net wrote: > > Yes, when it's your own code you at least know where to look when there > > is a problem. :) What news server software is yours? (other than the > > web based tool used on newsreaders.com) Oh, and BTW, that's newsreader.com (newsreaders.com is the the site about newsreaders), also not to be confused with Avi's newsread.com which is a Usenet outsourcing service, or his newly registered newsreader.net domain, or all the other ones that have now been registered like newsreader.org, or newsread.org, newsread.net, etc. etc. Gee, is there anything not registered anymore? What's going to happen in 100 years when every name < 100 characters in length has been registered by someone? Are you going to have to use a broker just to buy DNS name space realestate? -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: News routing software
Author: Curt Welch
Date: Sun, 26 Mar 2000 00:00
Date: Sun, 26 Mar 2000 00:00
39 lines
2610 bytes
2610 bytes
mouse@NOSPAM.nibbel.net wrote: > On 25 Mar 2000 19:41:43 GMT curt@kcwc.com (Curt Welch) wrote: > >mouse@nospam.nibble.net wrote: > >I was tired of messing with other people's crappy code (that was at >the > >beginning of the 2.0 stuff). If I have to deal with crappy >code, I'd > >rather it be my own :). > > Yes, when it's your own code you at least know where to look when there > is a problem. :) What news server software is yours? (other than the web > based tool used on newsreaders.com) The news server that runs behind the web code is now my own custom code. It used to be INN. As of this week I'm now selling NNTP accounts and that's using the new server as well. And I was using Diablo for transit but that's been replaced with the custom code as well. I haven't released the code. > All the cyclic buffer modules have callbacks before an entry is deleted. > This allows, for example, the history queue to skip the deleting of an > entry if the article it points to is still stored on the spool. If the history file format allows you to delete history records out of order then that's good. You also need to test for "article still in spool" very quickly. You don't want to have to do disk IO to answer the question because you want to be able to insert new history records in the 100 per second range so you have enough banadwidth to catchup with a backlog quickly and bandwidth for future growth. > btw- Is this message formated better? Nope. Not only are your pargraphs showing up as single long lines, the quoted text has been all combined together into a single long line as well. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: News routing software
Author: bill davidsen
Date: Mon, 27 Mar 2000 00:00
Date: Mon, 27 Mar 2000 00:00
60 lines
3415 bytes
3415 bytes
In article <38de5f6d.1023032569@news.nntpserver.com>, Steve Walker <mouse@NOSPAM.nibble.net> wrote: | On 26 Mar 2000 00:40:31 +0100, Sven Paulus <sven@karlsruhe.org> wrote: | > - is there a way to reread configuration without having to | > shut down the server? HUP kills the process | | I thought about it and I've decided against it for now. The problem | is that to really reload you have to break all connections and stop | the external spamfilter. If you do all that why not just kill the | process and restart it? The obvious question is why I would have to reload everything to make simple changes, like adding a feed, allowing more/less sockets, changing a feed to a peer, etc. Stuff you do a lot. | > - IHAVE isn't supported on incoming feeds | | Does anyone still use IHAVE to send a feed? It would be simple to | add, but does anyone really need it? I'll add it anyway. I'm just | wondering who uses it. I still have a few, some of which are largish ISPs. | > - if you give Message-IDs longer than 128 (or so) characters | > after CHECK or TAKETHIS you're back on command state without | > a reply (CHECK) or state change (TAKETHIS) | | I've changed the max length of a message id to 512 characters. Any | message id longer than this and earthquake gets confused. Does this | sound like a reasonable limit. It can be changed up to 4096 without | any recoding. It's probably desirable to check for oversize MID and just reject the offer, rather than get confused. | > - in earthquake.conf it says that all patterns are regex, but | > there are examples like "alt.binaries.pictures.erotica.*" | > (instead of "^alt\.binaries\.pictures\.erotica\.") and | > "news.nntpserver.com" (instead if "news\.nntpserver\.com") | > (btw. are these patterns treated | | These strings are passed right into regcomp. I've corrected some of | the examples. While they are not technically correct they should work | even without escaping the . character all over the place. Would | people rather see glob style pattern matching? Most other news programs use wildmat, if only because it's so ugly escaping every "." I can't think of a major need for full regex, but I stand ready for suggestions. Someone may have a really good reason for this being a benefit. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: News routing software
Author: bill davidsen
Date: Mon, 27 Mar 2000 00:00
Date: Mon, 27 Mar 2000 00:00
24 lines
1828 bytes
1828 bytes
In article <38df738c.1028184999@news.nntpserver.com>, Steve Walker <mouse@NOSPAM.nibble.net> wrote: | The thing about the Highwind software is that Cyclone works great | under Linux, but Typhoon doesn't. That makes me blame Typhoon, not | Linux since they are both phreaded software. I'm sure they share the | same core modules. Yet Highwind blames Linux for Typhoon crashing | every 4 horus. :) | | btw- The sales guy told me the other day that they have a new Linux | version so maybe they have it fixed now. Since they are telling people about that, I can say that they do indeed have a new Linux version out. I haven't completed stability testing yet, but I'm still testing, so you can assume I like what I see so far. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: News routing software
Author: Brad Knowles
Date: Mon, 27 Mar 2000 00:00
Date: Mon, 27 Mar 2000 00:00
41 lines
2971 bytes
2971 bytes
In article <20000327123433.308$tg@newsreader.com>, curt@kcwc.com (Curt
Welch) wrote:
> If Usenet was created 1 million years ago, and there had been 1 million
> articles posted every day from then until now, and you only used lower
> case letters and the digts 0-9 in the Message-ID, then you would only need
> Message-IDs which were 13 characters long to uniquely label every article
> ever posted.
That assumes you use a strong method of generating message ids
instead of something stupid like "abcdefghijklmnopqrstuvwxyz" + an
integer that indicates how many messages you have posted to this
newsgroup since you started your news reader/browser.
Granted, most programs aren't quite this stupid, but they do *not*
generate message-ids that are anywhere close to displaying the level of
strength that is theoretically possible, and therefore we have to have
longer message-ids to compensate for their typical weakness.
> Long message-ids waste resources, and limit options on history DB designs.
> There's no good reason to encourage them to be any longer than they
> currently are. 250 characters I think is more than enough to last for a
> few billion years. I'm happy rejecting everything over that. I see no
> reason to allow them to be unlimited in length.
I'm willing to concede that, for now, 250 characters should probably
be sufficient, so long as programs typically include certain pieces of
information in the message-id, and when put together the likelihood is
extremely high that there won't ever be any two properly generated
message-ids that would collide.
For now.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a news server administrator outside of North America and Western
Europe? If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.
Re: News routing software
Author: bill davidsen
Date: Mon, 27 Mar 2000 00:00
Date: Mon, 27 Mar 2000 00:00
59 lines
3368 bytes
3368 bytes
In article <ylsnxfh12b.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: | mouse <mouse@nospam.nibble.net> writes: | | > Another feature is it's simple to setup. This was my largest complaint | > about INN. There is one executable and one config file. The config | > file is in the style of the Apache web server config files. | | Wow, out of all the different types of configuration files out there, you | managed to accurately pick my dead least favorite. Ewww. *sigh* Agreed, this is about as hard to read, write, and parse as any. And if INN was too complex I fear that the config of this is not going to match the way I think about news at all. I kind of like the idea of one easily identified file of each function. Putting all the config in one file is like putting all the code in main to avoid "all those confusing procedures." Yes, one of my C students told me that... | Other than that, sounds great! More news software is always cool, | particularly software that I hope will eventually be released as free | software. I reread his post, and "the final product" didn't give me that impression. | (Better unification and more importantly better ease of configurability is | certainly one of my long-term goals for INN. I remain extremely | unconvinced that unifying the configuration files into one file is the | correct way to do that.) Obviously for anyone who has more than one machine, it's nice to be able to share the common config files and only have a few machine specific files. If you do one config with includes you have the disadvantages of both approaches. The only thing which I do like, a lot, is a history which doesn't need to expire. However, I can think of a number of reasons why I don't want a cycbuff to do it! There are several things which give me pause, the memory use seems high for mmap, since a post should be mapped for all feeds and only take one physical copy. The output rate is useful, but not impressive. I ran a month or so with a humble PPro-200 with 256MB being the master news machine, and it did 100GB of spam checking daily, and averaged 29Mbit outgoing over 24 hours. Diablo will do similar things, although it works better on *BSD than Linux. As you say, another bit of news software is always interesting. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: News routing software
Author: bill davidsen
Date: Mon, 27 Mar 2000 00:00
Date: Mon, 27 Mar 2000 00:00
45 lines
2834 bytes
2834 bytes
In article <brad-3F9BDD.15202327032000@news.skynet.be>, Brad Knowles <brad@shub-internet.org> wrote: | In article <38dd5761.1020973084@news.nntpserver.com>, | mouse@NOSPAM.nibble.net (Steve Walker) wrote: | | > At any rate, my first goal is to get a good Linux version. Porting to | > other OS's will be down the road. FreeBSD would be the first OS I | > port to, but that won't happen until I either setup a FreeBSD machine | > or someone loans me a shell account. | | A port to FreeBSD won't be effective so long as you're using | threading. The threading support in FreeBSD just isn't all that good. | | Will the program run, even though you're using Linux threads? | Probably. Will it run well? Probably not. I don't know what you mean by "Linux threads, do you?" You have your option of two versions of pthreads, one which runs at user level and one which uses kernel threads. Is there someone where else to do context switches? | Diablo and INN both have the advantage that they compile and run | well on a wide variety of platforms, although they may run somewhat | better on some of them than they do on others. Diablo uses multiple processes for input an output, and will benefit from SMP. INN uses a single process for input, and doesn't use more than one processor for incoming feeds. There is code in the snapshot for pthreads, but I have always believed that if the author doesn't think it works, it doesn't. | | If you can't do the same with your program, you're going to have a | hard time successfully challenging them. I don't think that's the only issue, having followed the description thus far. But we will see what transpires after the program matures. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: News routing software
Author: Brad Knowles
Date: Mon, 27 Mar 2000 00:00
Date: Mon, 27 Mar 2000 00:00
40 lines
2692 bytes
2692 bytes
In article <Valerian_Cate@encircles.pool52.oops.inka.de>, Sven Paulus
<sven@karlsruhe.org> wrote:
> Last time I looked at diablo (~ one year ago), it was a little bit slow
> in getting articles out of the system compared to the other software
> available.
If you're concerned about large waving genitalia size, then Diablo
really isn't the program for you.
Yes, if you know what you're doing and you have enough of the right
peers and you are well-located and you tune your feeds properly, you can
probably break into the Top Ten.
Heck, I am by no means well-located and I don't have all the right
peers, and I can't claim that I really know what I'm doing, but I've
managed to muddle my way through and get into the Top Fifty with Diablo,
and from looking at my current stats, I have reason to believe that I
might break into the Top Twenty-Five next month.
All that said, if you care about large waving genitalia size, then
NNTPRelay is the program for you -- nothing else *begins* to compare.
However, if you want a program that is easy to manage, can handle
both transit and spool more than adequately, can handle distributed
feeder/reader configurations, and can scale up to handling millions,
tens of millions, probably even hundreds of millions of users all while
remaining open source, then I'd suggest a long and hard look at Diablo
before you go with anything else.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a news server administrator outside of North America and Western
Europe? If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.
Re: News routing software
Author: Brad Knowles
Date: Mon, 27 Mar 2000 00:00
Date: Mon, 27 Mar 2000 00:00
20 lines
1558 bytes
1558 bytes
In article <sifD4.3466$nI2.73147@ptah.visi.com>,
drechsau+usenet@yuck.net (Mike Horwath) wrote:
> Diablo is difficult to set up if your whole goal in life is to have a
> larger dick.
>
> :)
Oh, I can use Diablo and get that, too. It's not all that hard. ;-)
Surely there must be some other reason.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a news server administrator outside of North America and Western
Europe? If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.
Re: News routing software
Author: J. Moreno
Date: Mon, 27 Mar 2000 00:00
Date: Mon, 27 Mar 2000 00:00
29 lines
2041 bytes
2041 bytes
[[ This message was both posted and mailed: see the "To," "Cc," and "Newsgroups" headers for details. ]] In article <brad-ACC980.15040727032000@news.skynet.be>, Brad Knowles <brad@shub-internet.org> wrote: > In article <38de5f6d.1023032569@news.nntpserver.com>, > mouse@NOSPAM.nibble.net (Steve Walker) wrote: > > I've changed the max length of a message id to 512 characters. Any > > message id longer than this and earthquake gets confused. Does this > > sound like a reasonable limit. It can be changed up to 4096 without > > any recoding. > > It really should be unlimited, but 4096 should be a decent enough > start. There absolutely no reason for it to be that long, and I personally would simply killfile anybody that was using software that generated an id even a tenth of that size. 512 is more than adequate, and as Curt has pointed out son-of-1036 said 250 and that's what people have been using for some time now. -- J. B. Moreno Pessimist: Half empty Optimist: Half full Engineer: Wrong size glass
Re: News routing software
Author: Russ Allbery
Date: Mon, 27 Mar 2000 00:00
Date: Mon, 27 Mar 2000 00:00
12 lines
1237 bytes
1237 bytes
bill davidsen <davidsen@tmr.com> writes: > There is code in the snapshot for pthreads, but I have always believed > that if the author doesn't think it works, it doesn't. In INN? There's some random wierd support stuff that Clayton merged in, and some configure probes, but there isn't any actual code. Yet, anyway. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: News routing software
Author: bill davidsen
Date: Mon, 27 Mar 2000 00:00
Date: Mon, 27 Mar 2000 00:00
30 lines
2058 bytes
2058 bytes
In article <brad-27AD65.01113726032000@news.skynet.be>, Brad Knowles <brad@shub-internet.org> wrote: | In article <Carla.Brescher@bypass.pool-88.oops.inka.de>, Sven Paulus | <sven@karlsruhe.org> wrote: | | > The concepts sound good and I think this software really fills a gap | > between NNTPrelay (wrong platform) and Cyclone (too expensive). | | I still don't see anyone even talking about Diablo, and I have to | wonder why? Matt said some time ago that absolute minimum time article in to article out was not his goal, and I believe him. I also played with the realtime feed stuff and couldn't make it as fast as INN, looked at the code and decided it was not open to casual improvement (i.e. without changing the method rather than polishing the implementation). And it just doesn't keep all the logs I want to wave at management types from time to time to keep them happy. As a transit machine it works well, but not quite as well as INN, at least in my experience. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: News routing software
Author: bill davidsen
Date: Mon, 27 Mar 2000 00:00
Date: Mon, 27 Mar 2000 00:00
28 lines
2111 bytes
2111 bytes
In article <38dcf23a$1_1@news.nntpserver.com>, <mouse@NOSPAMnibble.net> wrote: | On Sat, 25 Mar 2000 12:22:32 +0100 Brad Knowles <brad@shub-internet.org> wrote: | >In article <38dc7c3a$1_1@news.nntpserver.com>, mouse@nospam.nibble.net | >wrote: | > | >> After many weeks of trying to get INN to run correctly as a news router | >> under Linux I gave up and started writing my own software. btw- I also | >> tried Cyclone and I liked everything except the $15,000.00 price tag. | | I never could get Diablo to work. I'm guessing that someone that has | used Diablo could setup a machine quickly, but a first time user will | find there is no good documentation. News software shouldn't be that | hard to setup. My software is one executable and one config file. | That's all there should be. Everything is also cyclic so there is | never any expire process to run. Diablo needs an external expire | program run every night. The install process for my software is untar | the archive, edit one config file, and run the program. You couldn't get INN *or* Diablo to work? Sheesh. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: News routing software
Author: Brad Knowles
Date: Mon, 27 Mar 2000 00:00
Date: Mon, 27 Mar 2000 00:00
26 lines
2072 bytes
2072 bytes
In article <zTpD4.3541$nI2.75046@ptah.visi.com>,
drechsau+usenet@yuck.net (Mike Horwath) wrote:
> Is Joe doing an article on it for SANE2000? Yep.
May I also point out that SANE 2000 is in the Netherlands
(Maastricht) in May, and that Thomas wouldn't even have to leave the
country? ;-)
May I also point out that SANE 2000 is being co-hosted by the NLUUG
and the USENIX Association, and that there are a lot more tutorials,
refereed papers, and invited talks that will be presented there?
See <http://www.nluug.nl/sane/> for more details. Myself, I'm
afraid I'll have to be cloned several times over in order to attend all
the various different things that I believe will be interesting to me.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a news server administrator outside of North America and Western
Europe? If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.
Re: News routing software
Author: Russ Allbery
Date: Mon, 27 Mar 2000 00:00
Date: Mon, 27 Mar 2000 00:00
17 lines
1515 bytes
1515 bytes
bill davidsen <davidsen@tmr.com> writes: > Matt said some time ago that absolute minimum time article in to article > out was not his goal, and I believe him. I also played with the realtime > feed stuff and couldn't make it as fast as INN, looked at the code and > decided it was not open to casual improvement (i.e. without changing the > method rather than polishing the implementation). And minimum latency isn't INN's goal either; in fact, it sucks at latency, so Diablo being a little worse to about the same isn't exactly a compliment. :) Cyclone is considerably better. INN's goal is more flexibility than anything else. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: News routing software
Author: Bill Cole
Date: Mon, 27 Mar 2000 00:00
Date: Mon, 27 Mar 2000 00:00
26 lines
1525 bytes
1525 bytes
In article <brad-5E5C7E.14572027032000@news.skynet.be>, Brad Knowles <brad@shub-internet.org> wrote: > In article <sifD4.3466$nI2.73147@ptah.visi.com>, > drechsau+usenet@yuck.net (Mike Horwath) wrote: > > > Diablo is difficult to set up if your whole goal in life is to have a > > larger dick. > > > > :) > > Oh, I can use Diablo and get that, too. Congrats on your anatomical blessings. >It's not all that hard. ;-) Oh. Well then that kinda makes it pointless don't you think? -- Bill Cole, Geek at large I was looking for a new job, but that's on hold at the moment... See: http://sc1.scconsult.com/~bill/resume.html for a resume and more 4671st at Freenix!!! I'm moving up FAST!
Re: News routing software
Author: Brad Knowles
Date: Mon, 27 Mar 2000 00:00
Date: Mon, 27 Mar 2000 00:00
43 lines
2791 bytes
2791 bytes
In article <38de5f6d.1023032569@news.nntpserver.com>,
mouse@NOSPAM.nibble.net (Steve Walker) wrote:
> > - IHAVE isn't supported on incoming feeds
>
> Does anyone still use IHAVE to send a feed? It would be simple to
> add, but does anyone really need it? I'll add it anyway. I'm just
> wondering who uses it.
Yes, I have a number of feeds that use it. Some of them use IHAVE
because they haven't upgraded their systems in several years, and are
happy with that they have, so they see no reason to upgrade them now.
Some of them make a conscious choice to use IHAVE, because they feel
they have strong reasons to believe that it gives them better
performance. I'm sure that some others have even different reasons.
> I've changed the max length of a message id to 512 characters. Any
> message id longer than this and earthquake gets confused. Does this
> sound like a reasonable limit. It can be changed up to 4096 without
> any recoding.
It really should be unlimited, but 4096 should be a decent enough
start.
> Do duplicate headers violate the RFC's? I know that some mail to news
> gateways will forward messages with several "Received:" headers.
> Should they be rejected? Also shouldn't this type of checking be part
> the of external spam filter? Suggestions anyone...
I think some headers can safely be duplicated, but others can't. In
particular, the "Path:" header should not be duplicated, and you should
reject any article that has more than one.
Yes, this could be done in the external spam filtering.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a news server administrator outside of North America and Western
Europe? If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.
Re: News routing software
Author: Brad Knowles
Date: Mon, 27 Mar 2000 00:00
Date: Mon, 27 Mar 2000 00:00
30 lines
1956 bytes
1956 bytes
In article <LdfD4.3464$nI2.73147@ptah.visi.com>,
drechsau+usenet@yuck.net (Mike Horwath) wrote:
> mouse@nospam.nibbel.net wrote:
> : Does anyone that has a machine with several
> : hundred incoming feed channels want to test it?
>
> I have a machine that large, but I don't run Linux, and I won't be any
> time soon.
I have a machine with 95 peers, including all but one of the Freenix
Top Ten, and a high percentage of the Top Twenty-Five. It's gotten me
up into the Top Fifty so far, and it's looking like I might find myself
in the Top Twenty-Five next month myself.
But then I'm not looking to mess up my record so far, so I'm not
particularly interested, either.
> How about Solaris? :)
Or FreeBSD?
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a news server administrator outside of North America and Western
Europe? If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.
Re: News routing software
Author: Curt Welch
Date: Mon, 27 Mar 2000 00:00
Date: Mon, 27 Mar 2000 00:00
34 lines
2441 bytes
2441 bytes
"J. Moreno" <planb@newsreaders.com> wrote: > [[ This message was both posted and mailed: see > the "To," "Cc," and "Newsgroups" headers for details. ]] > > In article <brad-ACC980.15040727032000@news.skynet.be>, Brad Knowles > <brad@shub-internet.org> wrote: > > It really should be unlimited, but 4096 should be a decent enough > > start. > > There absolutely no reason for it to be that long, and I personally > would simply killfile anybody that was using software that generated an > id even a tenth of that size. > > 512 is more than adequate, and as Curt has pointed out son-of-1036 said > 250 and that's what people have been using for some time now. If Usenet was created 1 million years ago, and there had been 1 million articles posted every day from then until now, and you only used lower case letters and the digts 0-9 in the Message-ID, then you would only need Message-IDs which were 13 characters long to uniquely label every article ever posted. Long message-ids waste resources, and limit options on history DB designs. There's no good reason to encourage them to be any longer than they currently are. 250 characters I think is more than enough to last for a few billion years. I'm happy rejecting everything over that. I see no reason to allow them to be unlimited in length. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: News routing software
Author: Brad Knowles
Date: Mon, 27 Mar 2000 00:00
Date: Mon, 27 Mar 2000 00:00
36 lines
2450 bytes
2450 bytes
In article <38dd5761.1020973084@news.nntpserver.com>,
mouse@NOSPAM.nibble.net (Steve Walker) wrote:
> At any rate, my first goal is to get a good Linux version. Porting to
> other OS's will be down the road. FreeBSD would be the first OS I
> port to, but that won't happen until I either setup a FreeBSD machine
> or someone loans me a shell account.
A port to FreeBSD won't be effective so long as you're using
threading. The threading support in FreeBSD just isn't all that good.
Will the program run, even though you're using Linux threads?
Probably. Will it run well? Probably not.
The simple fact of the matter is that today, multi-threaded programs
are highly non-portable, and require extensive re-working in order to
get compiled and running suitably on other OSes. There comes a point
when it's simply no longer worthwhile trying to make that port.
Diablo and INN both have the advantage that they compile and run
well on a wide variety of platforms, although they may run somewhat
better on some of them than they do on others.
If you can't do the same with your program, you're going to have a
hard time successfully challenging them.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a news server administrator outside of North America and Western
Europe? If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.
Page 1 of 3 • 114 total messages
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