(RADIATOR) allowing logon for fixed hours

Hugh Irvine hugh at open.com.au
Wed Sep 24 18:02:14 CDT 2003


Hello Dan -

The "standard" radius attribute for this is "Session-Timeout", and 
there is also an Ascend vendor-specific "Ascend-Maximum-Time" attribute 
(there may also be other vendor-specifics).

regards

Hugh


On Thursday, Sep 25, 2003, at 01:53 Australia/Melbourne, Dan Vande More 
wrote:

> Hugh, I don't mean to challenge, but isn't this what she wants?
>
>  Ascend-Maximum-Time="28800"
>
> Thanks!
>
> Dan Vande More
>
> -----Original Message-----
> From: Hugh Irvine [mailto:hugh at open.com.au]
> Sent: Tuesday, September 23, 2003 4:01 PM
> To: Mukesh Karna
> Cc: radiator at open.com.au
> Subject: Re: (RADIATOR) allowing logon for fixed hours
>
>
>
> Hello Mukesh -
>
> You should send a Session-Timeout = nnnn reply attribute:
>
> 	AddToReply Session-Timeout = nnn
>
> where nnn is the number of seconds the session should last.
>
> Note that it is the NAS that must support this attribute so you should
> do some testing to verify correct operation.
>
> regards
>
> Hugh
>
>
> On Tuesday, Sep 23, 2003, at 21:22 Australia/Melbourne, Mukesh Karna
> wrote:
>
>> Hi all,
>>
>> How do I restrict my clients from surfing for not more than x hours in
>> one session and they have to re-logon after every x hours.
>>
>> rgds,
>>
>> Mukesh Karna
>>
>> ===
>> 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.
>>
>>
>
> NB: have you included a copy of your configuration file (no secrets),
> together with a trace 4 debug showing what is happening?
>
> -- 
> Radiator: the most portable, flexible and configurable RADIUS server
> anywhere. Available on *NIX, *BSD, Windows, 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.
>
>

NB: have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, 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 oFrom owner-radiator at open.com.au Wed Sep 24 17:58:10 2003
Received: (from majordomo at localhost)
	by server1.open.com.au (8.11.6/8.11.0) id h8OMwA221359
	for radiatorzz-list; Wed, 24 Sep 2003 17:58:10 -0500
X-Authentication-Warning: server1.open.com.au: majordomo set sender to owner-radiator at open.com.au using -f
Received: from irvine.com.au (IDENT:qmailr at hughirvine.gw.connect.com.au [203.63.47.196] (may be forged))
	by server1.open.com.au (8.11.6/8.11.0) with SMTP id h8OMw5721352
	for <radiator at open.com.au>; Wed, 24 Sep 2003 17:58:05 -0500
Received: (qmail 21398 invoked from network); 24 Sep 2003 22:58:03 -0000
Received: from titi.irvine.com.au (HELO open.com.au) (10.1.1.11)
  by toast.irvine.com.au (10.1.1.254) with ESMTP; 24 Sep 2003 22:58:03 -0000
Date: Thu, 25 Sep 2003 08:58:02 +1000
Subject: Re: (RADIATOR) Bad attribute=value pair in 3.6
Content-Type: text/plain; charset=US-ASCII; format=flowed
Mime-Version: 1.0 (Apple Message framework v552)
Cc: <radiator at open.com.au>
To: "William Hernandez" <whr at essnet.com>
From: Hugh Irvine <hugh at open.com.au>
In-Reply-To: <001001c382cc$8b7b51c0$e350f9d0 at WHR>
Message-Id: <8CEE3E52-EEE2-11D7-8A6F-000393CFE1CA at open.com.au>
Content-Transfer-Encoding: 7bit
X-Mailer: Apple Mail (2.552)
Sender: owner-radiator at open.com.au
Precedence: bulk
List-Id: <radiator.list-id.open.com.au>


Hello William -

This is most curious.

Could you try something for me? Download and test Radiator 3.7 and see 
if it fixes the problem.

Please let me know how you get on, and could you also tell me what 
hardware/software platform you are running on and what version of Perl?

regards

Hugh


On Thursday, Sep 25, 2003, at 04:48 Australia/Melbourne, William 
Hernandez wrote:

> Hugh,
>
> Just to let you know the outcome of this issue.
>
> It looks like the problem is in the radius.cfg.
>
> Our radius.cfg is basically the same as it was when we started
> with Radiator 2.15. More Handlers have been added since 2.15
>
> The following change in radius.cfg worked and ended the Bad
> attribute=value pair errors. (i.e, I removed the space before and
> after the equal sign).
>
>         AddToReply Service-Type=Framed-User, \
>                  Framed-Protocol=PPP, \
>                  Framed-IP-Netmask=255.255.255.255, \
>                  Framed-Compression=Van-Jacobson-TCP-IP, \
>                  Ascend-Idle-Limit=900
>
> I will mention that the above only had to be changed in
> radius.cfg. Our users file works with the space before and after
> the equal sign. Do you think I should do a global replace to
> eliminate the spaces in the users file?
>
> Regards,
> William
>
>
> -----Original Message-----
> From: Hugh Irvine [mailto:hugh at open.com.au]
> Sent: Saturday, September 20, 2003 5:47 AM
> To: William Hernandez
> Cc: 'Radiator'
> Subject: Re: (RADIATOR) Bad attribute=value pair in 3.6
>
>
>
> Hello William -
>
> If you are running on a recent Redhat version, see the FAQ item
> here
> (and you should also install the latest Radiator patches).
>
> 	http://www.open.com.au/radiator/faq.html#127
>
> Otherwise there may be a problem earlier in your configuration
> file.
>
> regards
>
> Hugh
>
>
> On Friday, Sep 19, 2003, at 07:45 Australia/Melbourne, William
> Hernandez wrote:
>
>> Hello everyone,
>>
>> I'm upgrading from 3.3.1 to 3.6 plus patches.
>>
>> Using the same radius.cfg in 3.6 as was used in 3.3.1 I'm
> getting the
>> following:
>>
>> Thu Sep 18 17:33:46 2003: ERR: Bad attribute=value pair:
> Service-Type
>> = Framed-User, Framed-Protocol = PPP, Framed-IP-Netmask =
>> 255.255.255.255, Framed-Compression = Van-Jacobson-TCP-IP,
>> Ascend-Idle-Limit = 900
>>
>> Radius.cfg has the following:
>>
>>        AddToReply Service-Type = Framed-User, \
>>                 Framed-Protocol = PPP, \
>>                 Framed-IP-Netmask = 255.255.255.255, \
>>                 Framed-Compression = Van-Jacobson-TCP-IP, \
>>                 Ascend-Idle-Limit = 900
>>
>> Is there a syntax change in 3.6?
>>
>> Thanks in advance,
>> William Hernandez
>>
>>
>> ===
>> 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.
>>
>>
>
> NB: have you included a copy of your configuration file (no
> secrets), together with a trace 4 debug showing what is
> happening?
>
> -- 
> Radiator: the most portable, flexible and configurable RADIUS
> server anywhere. Available on *NIX, *BSD, Windows, MacOS X.
> -
> Nets: internetwork inventory and management - graphical,
> extensible, flexible with hardware, software, platform and
> database independence.
>
>
>

NB: have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, 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.
f the message.


More information about the radiator mailing list