[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

FreeRADIUS: Drop a session ?

Posted on 2005-04-28
2
Medium Priority
?
556 Views
Last Modified: 2010-05-18
Hi,
with freeradius i can authentify, authorify and do accounting. All fine. Regarding accounting i cannot figure out to do some accounting dynamically: If the user prepaid some time-limit connection how can i drop the users connection from the server where freeradius lives to the radius client.

And must comply the radius client any "special" protocol to be able to drop the user session by request from the radius server ?

Many thanks in advance, peter.
0
Comment
Question by:adminpeter
2 Comments
 
LVL 17

Accepted Solution

by:
ccomley earned 500 total points
ID: 13892744
What's the server?

We use FreeRadius to authenticate our ADSL customers. BUT we have no way to kill a session that's already established, all we can do if a customer forgets to pay his bill is disable his a/c so he can't log in again if he logs off. And of cousre with ADSL, some usres don't log off for months at a time :-)

But it can be configured differently, you can create a "session time" in the Radios account but the server has to expect to be told that data and know what to do with it.

Even this won't work if you suddently decide out of the blue to log the user off, but if you know how much time the user has left on his account when he logs *in* you can set the session lifetime at the point he logs in to be "no longer than X minutes".

0
 

Author Comment

by:adminpeter
ID: 13892846
Hi ccomley,

yes i read a little bit more about this issue and it seems there are some extensions (rfc2869) to the RADIUS protocol that may allow all this controls.

Anyway you got the points...

Thank you, bye ...
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question