(RADIATOR) Re: Multiple Calling-Station-Id

Ayotunde Itayemi aitayemi at metrong.com
Wed Aug 14 11:50:37 CDT 2002


Hi Hugh,

I assume I can have multiple  PoolHint %{Client:Identifier}  in a single <AuthBy DYNADDRESS> clause?
Secondly, how do I restrict the special NAS to ONLY answer requests from clients with the mobile phone addresses
I have mentioned?
I thought of using <Calling-Station-Id =/^080[234]/>    but what stops the client from dialing into some of
my other NASes? Is there some way to negate the HANDLER attributes? Something like:

<Handler Client-Identifier = specialNAS, (NOT)Calling-Station-Id =/^080[234]/>

Regards,
Tunde I.

  ----- Original Message ----- 
  From: Hugh Irvine 
  To: Ayotunde Itayemi 
  Cc: radiator at open.com.au 
  Sent: Wednesday, August 14, 2002 12:36 PM
  Subject: Re: Multiple Calling-Station-Id


  Hello Tunde -

  For your second point, you would do something like this:

  # define Clients with Identifiers

  <Client 1.2.3.4>
  Identifier PoolTag
  ....
  </Client>

  .....

  # define AuthBy DYNADDRESS

  <AuthBy DYNADDRESS>
  Identifier AllocateIPAddress
  ....
  PoolHint %{Client:Identifier}
  .....
  </AuthBy>

  .......


  For your first point, you could also use something like this:

  <Handler Client-Identifier = specialNAS, Calling-Station-Id =/^080[234]/>

  The above says "080" at the start of the string, followed by 2 or 3 or 4, followed by anything.

  As always, you should test such Handlers and regular expressions thoroughly.

  regards

  Hugh


  On Wednesday, August 14, 2002, at 07:31 PM, Ayotunde Itayemi wrote:


    Hi All,
     
    I have a similar problem to Micheal's (see inquiry)
    If my understanding is correct, that user cannot connect under any circumstance
    to any other NAS on the network?
    I require a little more flexibility in that the user should ONLY be restricted to a particular
    NAS if he uses a special (GSM) number. The numbers are of the form 0802xxxxxxx OR
    0803xxxxxxx OR 0804xxxxxxx (where xxxxxxx is any sequence of 7 digits)
     
     
    I was thinking of a special HANDLER clause for them. 
    I guess I would need something like
     
    <HANDLER Client-Identifier = specialNAS, Calling-Station-Id=/0802xxxxxxx|0803xxxxxxx|0804xxxxxxx/ >
     
    </HANDLER>
     
    Would this work?
     
    Also, how can I associate a pool of IPs with a particular NAS. The purpose is to allow me to
    leave out the poolhint attribute from the record of each user in my database. This should
    allow the allocation of IPs based on the NAS rather than the user.
     
     
    Regards,
    Tunde Itayemi.


  -- 
  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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.open.com.au/pipermail/radiator/attachments/20020814/38fa0303/attachment.html>


More information about the radiator mailing list