Ascend Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (ASCEND) Duplicate Radius Entries



You should not see duplicate stop records if your radius accounting server
responds quickly enough to the acct request packets--  you can get into
this situation pretty easily if you do things like- enabling acct
checkpointing, or if you've got a ton running on your radius accounting
server.  You can adjust the acct timeout in the ethernet->mod
config->accounting menu:
Acct Timeout=20 
is what we use.

Probably the best thing to do though (which works just great for us), is
to hack up radiusd so that you maintain a DBM keyed on the hexadecimal IP
address of each router followed by the session-id (hex is probably best
for compactness) for each stop record.  When you receive a stop record,
just check it in the DBM (-very- fast!) and if it's already there, don't
dump another billing record.

You could also try disabling RADIUS accounting, and enabling "Call Log".
It's a subset of the radius accounting details, but it might be just right
for what you need.  (It's basically just radius-- you can use them both at
the same time, to different servers if you want a consistent "backup"
radius acct server.)

as always, YMMV.
-Will

-------------------------------------------------------------------------
Will Pierce                                  System Administrator
willp@dreamscape.com                         Dreamscape Online, LLC.
voice: 315-437-4166                          6311 Fly Road
  fax: 315-437-7656                          Syracuse, New York  13057

On Sat, 21 Mar 1998, Ascend List Serve wrote:

> 
> 
> We have a problem with our max 4000 producing multiple/duplicate radius 
> stop records.  It is causing our billing software to produce incorrect 
> and abmormally high bills for usage. It apears to have started when we 
> upgraded to 5.0Ap36 and continues in 6.0.2 (although 6.0.2 does not seem 
> to happen as often)
> 
> The problem is the exact same radius stop record is sent multiple times.
> 
> I can not see anything in the Accounting section that jumps out as wrong 
> and it all used to work fine.
> 
> Acct=RADIUS
> 3 different accounting servers
> Acct Host #1=(the IP of our first accounting server)
> Acct Host #1=0.0.0.0
> Acct Host #1=0.0.0.0
> 
> I have tried adding 2nd and 3rd accounting servers but did not help
> 
> Acct Port=1646
> Acct Timeout=1         ?? Should this be raised ??
> Acct Key=*********
> Sess Timer=0
> Acct-ID Base=10
> Acct Reset Timeout=0
> Acct Checkpoint=0
> Allow Stop Only=Yes
> Acct Max Retry=0
> 
> This problem is specific to our max units 4000, 4004 and 1800
> It does not occure in our Total control hubs, livingston PM2/3
> or any other equipment.
> 
> Any body else seeing this type of problem?
> 
> ++ Ascend Users Mailing List ++
> To unsubscribe:	send unsubscribe to ascend-users-request@bungi.com
> To get FAQ'd:	<http://www.nealis.net/ascend/faq>
> 

++ Ascend Users Mailing List ++
To unsubscribe:	send unsubscribe to ascend-users-request@bungi.com
To get FAQ'd:	<http://www.nealis.net/ascend/faq>


References: