Le 22.10.2008 13:08, Alexandre Chapellon a écrit :
Le 22.10.2008 12:16, Chris a écrit :
  
Are you certain it didn't tear down the session and immediately
rebuild it?  That's what I would expect it to do.
    

I'm gonna check this
  
Checked , and unfornately there is no reconnection. The current sessions keeps up even when the  amount of traffic allowed has been reached. The nif I manually disconnect and then try to reconnect, the authentication fails because of quota reached, so the config seems correct to me. What is not ok is that I do not send the correct attributes to the NAS so that it can disconnect session upon quota traffic limits.

Anyone has done it yet?

You need to somehow use RADIUS accounting to update a database that
the RADIUS server will use to Access-Reject further connection
attempts.  The Redback isn't going to keep track of anything like that.
    
Of course, the NAS doesn't make any decision about authenticating
  
Sorry, but I don't have anything more for you, though I would be
really surprised if nobody had written such a beast already.  If not
specifically for the Redback, then another NAS.

Take a look at rlm_counter.
    
It works already for Session-Timeout

  
On Oct 22, 2008, at 3:05 PM, Alexandre Chapellon wrote:

    
Hello,

I have redback NASes for bringing up DSL connections.
I would like to make the RedBack boxes  bring connection down for a user
once he has reached his total amount of traffic allowed (UP+DOWN).
Does anyone using redback devices (or not!) knows how to achive this? I
tried sending the Session-Traffic-Limit to the boxes, but it didn't
seemed to change anything!
Does anyone  knows what this attribute is for?

regards
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
      
    
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html