(RADIATOR) passing information between Radiators and authby question

Hugh Irvine hugh at open.com.au
Mon Jun 3 02:32:20 CDT 2002


Hello Viraj -

Could you please give me a bit more detail on your requirements?

I am sure we can come up with a better solution than modifying code.

regards

Hugh


On Sun, 2 Jun 2002 10:31, Viraj Alankar wrote:
> > > Another question I have is using Auth-By in a users file. For example:
> > >
> > > <Handler NAS-IP-Address = 1.2.3.4>
> > >         <AuthBy FILE>
> > >                 Filename nas-1.2.3.4
> > >         </AuthBy
> > > </Handler>
> > >
> > > nas-1.2.3.4:
> > >
> > > DEFAULT Calling-Station-Id = 111, Auth-Type = DoA
> > >
> > > DEFAULT Calling-Station-Id = 222, Auth-Type = DoB
>
> Hello Hugh,
>
> I just realized something about my proposed config above, in that DoA and
> DoB will not get accounting. Basically 'DoA' and 'DoB' correspond to 2
> different virtual ISPs and I need the accounting handled for each one
> differently, but in other words they need to GET the accounting.
>
> My guess is I need to write a new auth module that inherits AuthFILE.
> Looking at this I think I just need to add some code to call
> AuthGeneric::checkAttributes on an accounting request instead of just
> accepting it. Do you think that modification will work ok?
>
> Just FYI, the reason I am looking at the above type of configuration is I
> would like to reduce the number of handlers. We simply would have too many
> if we did this with all Handlers. The goal with the above config is to
> emulate a 'sub-handler' or cascading setup, where first the NAS IP is
> matched, then Calling-Station-Id only if NAS IP had matched. This will
> reduce the amount of processing for each packet. If you think there is some
> better way please let me know.
>
> Thanks,
>
> Viraj.

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list