<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.26.3">
</HEAD>
<BODY>
Le jeudi 20 août 2009 à 01:07 +0100, Neville a écrit :
<BLOCKQUOTE TYPE=CITE>
<PRE>
Hi Alex,
> You are expecting an interim update to send session-timeout to your nas
> so it disconnect your user?
> If so, two things seems incorrect to me.
>
> 1- You're measuring traffic volume and want disconnection to set
> based on time (session-timout)... a bit tricky isn't it?
So VERY True, Too many late nights and I really do appreciate your input as
this gave me food for thought and I now have EVERYTHING Working.
Both for Traffic & Session USAGE.
For Usage, I still had to use Max-Monthly-Traffic as a Check := and based on
sqlcounter calc, do a Reply = Sessions-Octets-Limit = XXXXXX on the
Access-Accept as this is supported by the ppp 2.4.4 NAS.
</PRE>
</BLOCKQUOTE>
<BR>
Sessions-Octets-Limit!? how lucky you are to have nas devices allowing such a cool feature! I'd love redback NASes to have the same type of feature! (I wil query the list.. maybe someone knows more about redback devices)<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
What I would like to know now, is how I can use sqlcounter to do a Month
Calculation based on the date of the account being registered and NOT the
Calander Month? Anyone?
</PRE>
</BLOCKQUOTE>
<BR>
More an sql query problematic i guess... I can't help here! <IMG SRC="cid:1250730156.11158.34.camel@mcbain.mana.lan" ALIGN="middle" ALT=":)" BORDER="0"><BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
> 2- I think the attribute "Session-Timeout" cannot be found in
> interim-updates packets (maybe I'm wrong), rfc 2869 specify that: "It
> is envisioned that an Interim Accounting record (with Acct-Status-Type =
> Interim-Update (3)) would contain all of the attributes normally found
> in an Accounting Stop message with the exception of the
> Acct-Term-Cause attribute."
>
> What you would need is an attribute known by your nas and representing
> remaining traffic. That attrbute should be sent at acct-start time and
> would trigger a disconnection from the NAS when traffic limit is
> reached. If such a attribute does not exists for your NAS, you should
> take a look at CoA server.
> Maybe someone have better idea...?
>
> Le mercredi 19 ao?t 2009 ? 15:56 +0100, Neville a ?crit :
>
Cheers
Nev
================
CentOS 5.3
pptpd 1.3.4 / ppp 2.4.4
freeradius2 2.1.6
radiusclient-ng 0.5.6
daloRadius 0.9-8-SVN
================
-
List info/subscribe/unsubscribe? See <A HREF="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</A>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>