Re: (RADIATOR) Want to force a logoff at the end of a month

2001-08-24 Thread Ricardo D. Albano

In the Access Accept step, send a Session-Timout with the remaining time
until the end of the month.

RDA.-

- Original Message -
From: Brian Morris [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 08, 2001 11:05 PM
Subject: (RADIATOR) Want to force a logoff at the end of a month


 Hi All,

 If possible, I would like to return a max session time attribute to
certain
 customers to force them to logoff at the end of a calendar month (say at
 23:59 on the last day of each month) this is so I can close off our
 accounting files for billing purposes.

 Is there a way I can configure radiator to dynamically set this attribute
to
 return the end of the current month?

 Regards,  Brian Morris


 ===
 Archive at http://www.open.com.au/archives/radiator/
 Announcements on [EMAIL PROTECTED]
 To unsubscribe, email '[EMAIL PROTECTED]' with
 'unsubscribe radiator' in the body of the message.

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.



(RADIATOR) Want to force a logoff at the end of a month

2001-08-08 Thread Brian Morris

Hi All,

If possible, I would like to return a max session time attribute to certain
customers to force them to logoff at the end of a calendar month (say at
23:59 on the last day of each month) this is so I can close off our
accounting files for billing purposes.

Is there a way I can configure radiator to dynamically set this attribute to
return the end of the current month?

Regards,  Brian Morris


===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.



Re: (RADIATOR) Want to force a logoff at the end of a month

2001-08-08 Thread Hugh Irvine


Hello Brian -

On Thursday 09 August 2001 12:05, Brian Morris wrote:
 Hi All,

 If possible, I would like to return a max session time attribute to certain
 customers to force them to logoff at the end of a calendar month (say at
 23:59 on the last day of each month) this is so I can close off our
 accounting files for billing purposes.


You will have to write a PostAuthHook to calculate the value and add a 
Session-Timeout attribute with that value to the reply packet.

You should beware of this however, as some NAS equipment will have trouble 
with large numeric values for Session-Timeout. YMMV.

 Is there a way I can configure radiator to dynamically set this attribute
 to return the end of the current month?


A better way to deal with this problem may be to configure the NAS to send 
interim accounting packets (Accounting Alives), to periodically send updated 
accounting information. Many of our customers use this with services such as 
ADSL, semi-permanent ISDN, etc.

hth

Hugh


-- 
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 [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.