(RADIATOR) SessionDatabase

Fred Leeflang fredl at 3dn.nl
Sat Feb 10 05:38:06 CST 2007


Hugh Irvine wrote:
>
> Hello Fred -
>
> You can use a PostAuthHook that runs after the corresponding AuthBy 
> clause(s) return an Access-Accept. The hook code can call an AuthBy 
> SQL clause, or it can run whatever accounting query you require. There 
> are numerous examples in "goodies/hooks.txt". 
Alright, I'll check those out, I figured it'd be something like that.
> You can use this technique for simulating an accounting start, but I 
> don't see what you could do for the accounting stop (other than 
> periodic SNMP polling or something equally distasteful).
Distasteful indeed, but it's just an alternative for those situations where
no accounting is present.

> My preferred approach would be to acquire AP's that do sensible 
> accounting.
>
Ofcourse, and in the professional market this isn't much of a problem. Buy
any decent Cisco AP and it'll work. I'm sure there are many more but they
all come with a price tag. I am however experiencing that a LOT
of consumer equipment does not seem to want to do accounting. I
recently purchased an Asus WL-500gP for example, because I want
to experiment with OpenWRT. There's a Broadcom wifi card in it. The
proprietary binary 'nas' that's in OpenWRT however won't do accounting.

So I figured I could use hostapd, but this has a very limited set of Wifi
boards that it supports. Most Wifi firmwares don't implement the
AP mode to begin with. Similarly I have an USR AP which doesn't do
accounting, as well as a Linksys AP, also no luck with accounting.

Ciao,
Fred

--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list