Diferent Session-Timeout depending on NAS

Stefan Winter stefan.winter at restena.lu
Fri Jun 30 15:27:16 CEST 2006


>    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 at restena.lu     Tel.:     +352 424409-1
http://www.restena.lu                Fax:      +352 422473
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20060630/b46638ee/attachment.pgp>


More information about the Freeradius-Users mailing list