Policy of Dial-up session processing
nicolas at antel.net.uy
Fri May 11 14:00:27 UTC 2007
There are lot of issues here.
One thing to consider is that it is not a good policy to "cut off" the
client ADSL at 0:00hs... they may complain for that policy !
You may just let him close the session and then, with the accounting stop
ticket you may account part of it on the past month and the rest the
current month. :)
You may also set a maximum connection time for one session (some ISP do
this also)... say for example 12 hours... so each 12 hours the RAS closes
the connection (the thig is that this timer is for each connection, so you
do not close all the connections at same time)... you may do this using
standar radius attribute 27 (Session-Timeout) by modifying this attribute
in the access-accept response from the radius to the RAS.
You may also use interims... but Im not sure if you have traffic
information on this...
This are some ideas... there are a lot more...
Hope it help,
On Fri, 11 May 2007, william(at)elan.net wrote:
willia >Radius can and should report both on and off times, look into your
willia >configuration. As far as 1st of the month, consider it virtually
willia >closed & open at midnight on 30th/31st in accounting. Example how
willia >to do it could be to write a script that when processes radius log
willia >at the end of the month and looks at all open sessions adding "end"
willia >radius accounting data in there as well as adding start session for
willia >next month's log.
willia >P.S. I've not ran dialup ISP and used radius for LONG time but did
willia >exactly as above for hourly customers before. The biggest issue I
willia >remember was when your dialup server itself dies (rare but happened)
willia >since then you do not have record of customers getting off, same
willia >script was used to virtually "close" sessions.
willia >On Fri, 11 May 2007, Joe Shen wrote:
willia >> hi,
willia >> Maybe this is out-of-topic ,but I can't find any
willia >> place where could find answer for this question.
willia >> If this is intrusive, just ingore it please.
willia >> my question is :
willia >> how does ISP do with DSL dial-up sessions which
willia >> pass the accouting period time.
willia >> E.g. If a customer subscribe DSL service at
willia >> 15USD/month for 150hours. If the subscriber used
willia >> 145hours by 30th May. He get online at 21:00 on 31th,
willia >> and get offline at 5:00 on June 2th.
willia >> The radius server could only export the customer's
willia >> session when he get offline. So, problem comes to
willia >> accouting system which was designed to calculate
willia >> customer usage on first day of each month. The
willia >> cut-off line of each month usage is set to 00:00 on
willia >> first day of each month.
willia >> Someone says , ISP should force those session
willia >> closed at 00:00 on first day of each month, because
willia >> they must ensure dial-up session of last month sould
willia >> not be accouted in next month. Is this true ?
willia >> thanks in advance.
willia >> Joe
More information about the NANOG