(RADIATOR) sql logging questions
Hugh Irvine
hugh at open.com.au
Tue Jul 2 19:02:37 CDT 2002
Hello Shon -
You should probably be using Handlers for this sort of thing.
# define Handlers
<Handler Username = /access\/user\@realm|software\/user\@realm/>
# do whatever
.....
</Handler>
<Handler .....>
....
</Handler>
......
Note that you should not mix realms and handlers in the same configuration
file, so any realms should be converted like this:
<Realm foo.bar>
becomes
<Handler Realm = foo.bar>
Also note that Handlers are evaluted in the order they appear in the
configuration file and the first match is the only match, therefore the more
specific Handlers must appear before the more general.
regards
Hugh
On Wed, 3 Jul 2002 03:01, Shon Stephens wrote:
> is it possible to log access rejects to an sql database? i don't want
> to log access accepts, just the rejects. also is it possible to
> ignore certain requests for logging. in particular i have a client
> which is sending me requests with username as either
> "access/user at realm" or "software/user at realm" both of these requests
> need to authenticate, however i do not want to log any of the
> requests for "software" nor do i want correpsonding entries for those
> in my accounting tables.
>
> thanks,
> shon
>
> ===
> 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.
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
===
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