Custom function to update Session-Timeout

Arran Cudbard-Bell a.cudbardb at freeradius.org
Wed Sep 7 21:43:30 CEST 2011


On 7 Sep 2011, at 21:28, Ivaylo Petkov wrote:

> Hi All,
> 
> I am new to developing for Freeradius and i was hoping one of you can direct me into the right direction. I would like to have a program update the Session-Timeout on authentication request or on disconnect so that when the user receives the access accept it receives the updated Session-TImeout. What is the correct way of doing this and is there some sort of example that i can read. I have been searching in the mailing list and in google but so far no luck.


Put this in the post-auth section of raddb/sites-available/default


update reply {
	Session-Timeout  := `/path/to/my/super/awesome/sessiontimeout/script -myarguments`
}

-Arran

Arran Cudbard-Bell
a.cudbardb at freeradius.org

RADIUS - Half the complexity of Diameter





More information about the Freeradius-Users mailing list