(RADIATOR) radiator handling NAS-down condition?
Hugh Irvine
hugh at open.com.au
Wed Nov 29 21:32:48 CST 2006
Hello Jose, Hello Prakash -
Just for completeness - Radiator does indeed remove "stale" sessions
from the session database as shown below (assuming an Accounting-On
or and Accounting-Off is received from the NAS). However, Radiator
does _not_ automatically generate Accounting-Stop requests for the
sessions that are removed from the session database.
hope that helps
regards
Hugh
On 30 Nov 2006, at 00:04, Jose Borges Ferreira wrote:
> Radiator already does some kind of "NAS reboot check"
> Please check Handler.pm line 285
>
> if ($status_type eq 'Start')
> {
> # Some Ciscos dont send accounting-on, so we will
> # detect a reboot with the first session (ID 00000001)
> $sessdb->clearNas($nas_id, $p)
> if $session_id eq '00000000'
> || ( $session_id eq '00000001'
> && $p->{Client}->{NasType} =~ /^Cisco/);
> (...)
>
> elsif ($status_type eq 'Accounting-On'
> || $status_type eq 'Accounting-Off')
> {
> # Detect the various kinds of NAS reboots
> # Remove all session entries for a given NAS.
> $sessdb->clearNas($nas_id, $p);
>
>
> Please, check your NAS configuration and documentations regarding
> this ...
>
>
> José Borges Ferreira
>
> On 11/27/06, Prakash Jayaraman <prakash at net.com> wrote:
>> Hello there,
>>
>> Can the radiator server automatically terminate all accounting and
>> authentication sessions when a NAS goes down? Does radiator keep
>> track
>> of the status of all NAS by using some sort of keepalive mechanism
>> (simple ping when there are no access-requests coming in).
>>
>> thanks,
>> prakash
>>
>>
>> --
>> 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.
>>
>
> --
> 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 read the reference manual ("doc/ref.html")?
Have you searched the mailing list archive (www.open.com.au/archives/
radiator)?
Have you had a quick look on Google (www.google.com)?
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.
Includes support for reliable RADIUS transport (RadSec),
and DIAMETER translation agent.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.
--
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