🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Howard Leadmon Sun, 04 Jan 2004 18:17
News Reader Software with Radius?
#67618
Author: Howard Leadmon
Date: Sun, 04 Jan 2004 18:17
37 lines
2848 bytes
   Hello Everyone..

 I have been using the Typhoon news software for years now, and was 
recently informed it was no longer going to be produced.  The company that 
bought it is keeping it for internal use only.   Was a nice package, but 
sure without any development or support it has to age and fall by the 
wayside which is a shame as it was a nice threaded package.

 Anyway from what I remember Diablo and INN are both decent packages that 
can be used to news reading and feeding.  We are an ISP that has provided 
news for years to people as well as our own customers, and due to the above 
I wanted to look at my options converting away from Typhoon.

 Here is what I need, or would like to have in the software I run.  I want 
a good efficient server that can handle the full load of news now days, and 
this does include binaries.  So handling binaries it needs to work across 
several thousand gigabytes of spool area.  Also as we outsource news to 
other ISP's as well, I need a way to provide access with a specific 
configuration to them for their users.   I also need to be able to limit 
the number of connections that a specific ISP/IP range can establish to the 
server.  Finally I would really like to use Radius as well for 
authentication of users for a given ISP/Customer, and limit and record 
details based on this.  I also do want to be able to use SPAM filtering on 
the news server, as well SPAM sucks in any form!

 As I have not worked with INN for years (since the old 1.5 CNFS code), and  
back when I moved to Cyclone/Typhoon the Diablo software was only a feeding 
platform.   If anyone would be willing to share their experiences with the 
various packages that are currently in use, or with what might fit my 
situation it would be most appreicated.

Thanks...


Howard Leadmon  -  http://www.news-services.com/
Re: News Reader Software with Radius?
#67619
Author: Jeffrey M. Vinocur
Date: Sun, 04 Jan 2004 20:01
101 lines
4781 bytes
In article <Xns946687249D210Vorlon5@207.114.4.10>,
Howard Leadmon  <no@spam.net> wrote:
>
> Here is what I need, or would like to have in the software I run.  I want 
>a good efficient server that can handle the full load of news now days, and 
>this does include binaries.  So handling binaries it needs to work across 
>several thousand gigabytes of spool area.

I actually don't know if INN can do a full feed these days.


>Also as we outsource news to other ISP's as well, I need a way to provide
>access with a specific configuration to them for their users.   I also need
>to be able to limit the number of connections that a specific ISP/IP range
>can establish to the server.  Finally I would really like to use Radius as
>well for authentication of users for a given ISP/Customer, and limit and
>record details based on this.

Hmm.  INN does have a radius authenticator as part of the standard
installation.  We're a bit weak on the limitation by IP range stuff, but
the dynamic access block generation feature ought to be sufficient for
rolling your own without too much trouble.

I haven't tried a configuration like this, but I think you could get it
working in a day or two if you've got anybody who knows Perl or Python.
I'm imagining something like this (for anybody who knows INN and is
curious, or would like to comment):

    auth "global" {
        hosts: "*"
        auth: "radius"    # Should return user@isp form addresses
        perl_access: "ratelimit.pl"
    }


And in ratelimit.pl (swiped from the doc/hook-perl example):

         # untested

         my %hosts = ( "example.com" => "example.*", "isc.org" => "isc.*" );
         my $PUBLIC = "comp.*, sci.*"

         sub too_fast {
           my $isp = shift;

           #check for frequent connections by whatever criteria you like

           return 0;
         }

         sub access {
            %return_hash = (
               "max_rate" => "10000",
               "addnntppostinghost" => "true",
         #     ...
            );
            if( defined $attributes{username} &&
                $attributes{username} =~ /.*@(.*)/ )
            {
               if( too_fast($1) ) {
                  $return_hash{"reject_with"}
                     = "Too many connections from $1";
               }
               $return_hash{"virtualhost"} = "true";
               $return_hash{"path"} = $1;
               $return_hash{"newsgroups"} = "$PUBLIC, $hosts{$1}";
            } else {
               $return_hash{"read"} = "local.announce";
               $return_hash{"post"} = "!*";
            }
            return %return_hash;
         }

(To do it in Python, you'd use python_access instead of perl_access; see
the doc/hook-* files for details.)


As a caveat, the BUGS section of the radius manpage:

       It has been reported that this authenticator doesn't work
       with Ascend RADIUS servers, but does work with Cistron
       RADIUS servers.  It's also believed to work with Liv-
       ingston's RADIUS server.  Contributions to make it work
       better with different types of RADIUS servers would be
       gratefully accepted.

       This code has not been audited against the RADIUS protocol
       and may not implement it correctly.

But people definitely are using the code (I think panix is, actually, if
I recall the most recent patches that got submitted for radius.c).


>I also do want to be able to use SPAM filtering on the news server

Cleanfeed works with INN.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: News Reader Software with Radius?
#67621
Author: Steve
Date: Sun, 04 Jan 2004 23:50
15 lines
1713 bytes
Jeffrey M. Vinocur wrote:

> I actually don't know if INN can do a full feed these days.

I'm a Technical Architect: If a customer came to me with a system 
requirement of xTB of storage capacity and an average incremental 
change of 1TB per day; likely to grow by around 50% per year, I'd have 
a tough time meeting that requirement even using hugely expensive 
enterprise class SAN-based storage systems.  This is regardless of the 
nature of the application, just simply addressing the storage 
requirement.

Perhaps the only way that technology can keep up with requirements such 
as Usenet is for the services to be horizontally scalable across an 
ever-growing number of servers?
Re: News Reader Software with Radius?
#67622
Author: Jeffrey M. Vinocur
Date: Mon, 05 Jan 2004 01:04
24 lines
2168 bytes
In article <bta8s1$or3$2@bananasplit.info>,
Steve  <steve@nospam-goofer.co.uk> wrote:
>
>Perhaps the only way that technology can keep up with requirements such 
>as Usenet is for the services to be horizontally scalable across an 
>ever-growing number of servers?

Oh, certainly.  And on the storage requirement side (which is
the reader side, since news is a write-once read-often kind of
thing), INN has some reasonable support for reader farms.

The trouble is that the incoming feeds still need to filter
through a central location for writing (which isn't increased
storage per se, it's just increased bandwidth).  And that's a
potential bottleneck, and one that's not as easy to resolve.

But I have no idea how much either of these is an actual issue in
practice.  It's a little worrying that nobody ever chimes in when
we talk about doing a full feed on INN, though.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: News Reader Software with Radius?
#67626
Author: Kurt Jaeger
Date: Mon, 05 Jan 2004 21:36
22 lines
1849 bytes
Hi!

>platform.   If anyone would be willing to share their experiences with the 
>various packages that are currently in use, or with what might fit my 
>situation it would be most appreicated.

www.open.com.au makes a nice small nntp daemon (written in perl)
which basically catches NNTP Auth, sends it of to a radius daemon
and allows reading if the auth is successfull.

We use it for reader.lf.net.

It works against probably any backend NNTP server, as it's a full NNTP relay.

Send them a short mail, tell them I gave you the pointer (they
wrote the software on our request).

-- 
MfG/Best regards, Kurt Jaeger                                  16 years to go !
LF.net GmbH        fon +49 711 90074-23  pi@LF.net  
Ruppmannstr. 27    fax +49 711 90074-33
D-70565 Stuttgart  mob +49 171 3101372
Re: News Reader Software with Radius?
#67631
Author: Mike Horwath
Date: Mon, 05 Jan 2004 22:44
41 lines
3381 bytes
Howard Leadmon <no@spam.net> wrote:
: Here is what I need, or would like to have in the software I run.  I want 
: a good efficient server that can handle the full load of news now days, and 
: this does include binaries.  So handling binaries it needs to work across 
: several thousand gigabytes of spool area.  Also as we outsource news to 
: other ISP's as well, I need a way to provide access with a specific 
: configuration to them for their users.   I also need to be able to limit 
: the number of connections that a specific ISP/IP range can establish to the 
: server.  Finally I would really like to use Radius as well for 
: authentication of users for a given ISP/Customer, and limit and record 
: details based on this.  I also do want to be able to use SPAM filtering on 
: the news server, as well SPAM sucks in any form!
: 
: As I have not worked with INN for years (since the old 1.5 CNFS code), and  
: back when I moved to Cyclone/Typhoon the Diablo software was only a feeding 
: platform.   If anyone would be willing to share their experiences with the 
: various packages that are currently in use, or with what might fit my 
: situation it would be most appreicated.

Diablo can do this without issue or complaint, and understands realms
so that you can put poeple into different 'virtual servers' based on
the RHS of their login and authenticate as well.

I did some patches against Diablo to support not just authentication
but also accounting - it has *not* been rolled into the base config
yet.  I should send off my code to Russell to patch into the mainline
code.

I run the VISI.com stuff all on Diablo now'days, same kind of thing
you are doing including limiting # of connections and that whole thing.

And I run another company providing news access to normal people who
wish to pay, again, all Diablo based.

It works and doesn't require a lot of maintenance.

-- 
Mike Horwath  Admin & Manager @ VISI.com   WORK: drechsau@visi.com
IRC: Drechsau     http://www.visi.com/     HOME: drechsau@geeks.org
The only Minnesota ISP with public statistics: http://noc.visi.com/
         Garbage In -- Gospel Out. - berkeley fortune(6)
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