Re: (RADIATOR) Calculating Session-Timeout based on Expiration?
Brian, You can try something like this as well. AuthSQLStatement update USERS set TIMELEFT=%t+86400 where LOGIN=0 AuthSelect select PASSWORD, TIMELEFT-%t as TIMELEFT AcctSQLStatement update USERS set LOGIN=LOGIN+1 Regards - Original Message - From: "Hugh Irvine" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, November 16, 2002 5:05 AM Subject: Re: (RADIATOR) Calculating Session-Timeout based on Expiration? > > Hello Brian - > > I think you will need to write a Hook to do this. > > There are some example hooks in the file "goodies/hooks.txt". > > regards > > Hugh > > > On Saturday, Nov 16, 2002, at 07:58 Australia/Melbourne, Brian wrote: > > > > > I know that Radiator can calculate the Session-Timeout, as an offset > > from the > > Time setting, using the "until Time" syntax. Does such an option > > exist for > > Expiration as well? > > > > For example, I want to set the Expiration to a unix timestamp, so I get > > granularity. I want the Session-Timeout passed back to the NAS to be > > the > > difference between NOW and Expiration. Is this possible? > > > > Brian > > > > -- > > --- > > Brian Feeny, CCIE #8036e: [EMAIL PROTECTED] > > Network Engineerp: 318.222.2638x109 > > ShreveNet Inc.f: 318.221.6612 > > > > > > === > > 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: 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. > === 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) Calculating Session-Timeout based on Expiration?
Hello Brian - I think you will need to write a Hook to do this. There are some example hooks in the file "goodies/hooks.txt". regards Hugh On Saturday, Nov 16, 2002, at 07:58 Australia/Melbourne, Brian wrote: I know that Radiator can calculate the Session-Timeout, as an offset from the Time setting, using the "until Time" syntax. Does such an option exist for Expiration as well? For example, I want to set the Expiration to a unix timestamp, so I get granularity. I want the Session-Timeout passed back to the NAS to be the difference between NOW and Expiration. Is this possible? Brian -- --- Brian Feeny, CCIE #8036 e: [EMAIL PROTECTED] Network Engineer p: 318.222.2638x109 ShreveNet Inc. f: 318.221.6612 === 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: 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.
(RADIATOR) Calculating Session-Timeout based on Expiration?
I know that Radiator can calculate the Session-Timeout, as an offset from the Time setting, using the "until Time" syntax. Does such an option exist for Expiration as well? For example, I want to set the Expiration to a unix timestamp, so I get granularity. I want the Session-Timeout passed back to the NAS to be the difference between NOW and Expiration. Is this possible? Brian -- --- Brian Feeny, CCIE #8036e: [EMAIL PROTECTED] Network Engineer p: 318.222.2638x109 ShreveNet Inc. f: 318.221.6612 === 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.