Ignoring too-frequent accounting packets from buggy NAS
All, We are having a problem with our Cisco lightweight wireless since a recent firmware upgrade. I am delving into it, and will probably open a TAC case, but in the meantime I need a solution. The specific issue is that the NAS is sending interim accounting very, very frequently, in violation of the spec, its own config, and the Acct-Interim-Interval. My suspicion is that the device is sending an accounting update whenever some internal "update" occurs (e.g. migrate to a new AP) and that this is an unintended side effect of some internal changes. This is killing our SQL database :o( Until I can get this fixed, can anyone think of an easy way to throw away interim accounting requests for a given "key" and time window? I'm wondering if rlm_cache can be made to do it? Cheers, Phil
On 26 Oct 2012, at 13:53, Phil Mayers <p.mayers@IMPERIAL.AC.UK> wrote:
All,
We are having a problem with our Cisco lightweight wireless since a recent firmware upgrade. I am delving into it, and will probably open a TAC case, but in the meantime I need a solution.
The specific issue is that the NAS is sending interim accounting very, very frequently, in violation of the spec, its own config, and the Acct-Interim-Interval.
My suspicion is that the device is sending an accounting update whenever some internal "update" occurs (e.g. migrate to a new AP) and that this is an unintended side effect of some internal changes.
This is killing our SQL database :o(
Until I can get this fixed, can anyone think of an easy way to throw away interim accounting requests for a given "key" and time window? I'm wondering if rlm_cache can be made to do it?
It can, see wiki :) http://wiki.freeradius.org/modules/Rlm_cache In fact it documents your *exact* use case with config examples and everything. *twilight zone music* -Arran
On 26/10/12 14:20, Arran Cudbard-Bell wrote:
It can, see wiki :)
http://wiki.freeradius.org/modules/Rlm_cache
In fact it documents your *exact* use case with config examples and everything. *twilight zone music*
Ha spooky! N.B. I note the module comments might confuse people, since it doesn't mention being run in "accounting" but seems to support it.
On 26 Oct 2012, at 14:51, Phil Mayers <p.mayers@IMPERIAL.AC.UK> wrote:
On 26/10/12 14:20, Arran Cudbard-Bell wrote:
It can, see wiki :)
http://wiki.freeradius.org/modules/Rlm_cache
In fact it documents your *exact* use case with config examples and everything. *twilight zone music*
Ha spooky!
N.B. I note the module comments might confuse people, since it doesn't mention being run in "accounting" but seems to support it.
Ah yes, fixed the examples. -Arran
On 26/10/12 15:03, Arran Cudbard-Bell wrote:
On 26 Oct 2012, at 14:51, Phil Mayers <p.mayers@IMPERIAL.AC.UK> wrote:
On 26/10/12 14:20, Arran Cudbard-Bell wrote:
It can, see wiki :)
http://wiki.freeradius.org/modules/Rlm_cache
In fact it documents your *exact* use case with config examples and everything. *twilight zone music*
Ha spooky!
N.B. I note the module comments might confuse people, since it doesn't mention being run in "accounting" but seems to support it.
Ah yes, fixed the examples.
I was about to say "that worked like a charm" then radiusd segfaulted :o( I'll try to get a core dump.
participants (3)
-
Alan DeKok -
Arran Cudbard-Bell -
Phil Mayers