From: Stefan Winter <stefan.winter@restena.lu>
Reply-To: FreeRadius users mailing list
<freeradius-users@lists.freeradius.org>
To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org>
Subject: Re: Diferent Session-Timeout depending on NAS
Date: Fri, 30 Jun 2006 15:27:16 +0200
> Two types of hotspots zones: Spain and Mexico. Everyone know prizces
in
> Mexico are cheaper than in Spain. Well, my accounts are valid in both
> countries, however the conection time are shorter in Spain than in
Mexico.
> How can I modify the Session-Timeout attribute depending on NAS?
First, a general question: all those geographically disperse NASes are
connected to *one* central server? Huh.
My proposed solution: add a line to the users file for each NAS saying
DEFAULT NAS-IP-Address == 1.2.3.4
Session-Timeout := Whatever-you-like
(assuming the NAS sends his IP address as attribute. If it doesn't, and is
directly connected, use Client-IP-Address instead).
That way, you can set Session-Timeout on a per-NAS basis.
Greetings,
Stefan Winter
--
Stefan WINTER
Stiftung RESTENA - Réseau Téléinformatique de l'Education Nationale et de
la Recherche
Ingenieur Forschung & Entwicklung
6, rue Richard Coudenhove-Kalergi
L-1359 Luxembourg
E-Mail: stefan.winter@restena.lu Tel.: +352 424409-1
http://www.restena.lu Fax: +352 422473