Handling Radius Events with Client

Nicolas Baradakis nbk at sitadelle.com
Thu Sep 8 15:23:25 CEST 2005


Ali Koyuncu wrote:

> Hi to all,

Did you read the rules before subscribing?
http://www.freeradius.org/list/users.html

HTML is forbidden on the mailing list, and moreover it's difficult to
distinguish your message from spam:

X-XS4ALL-Spam-Score: 3.454 (***) HTML_40_50, HTML_FONTCOLOR_BLUE,
        HTML_FONTCOLOR_RED, HTML_MESSAGE, MSGID_FROM_MTA_HEADER,
        RCVD_IN_SPEWS, X_MSMAIL_PRIORITY_HIGH, X_PRIORITY_HIGH

> Let's say we have a switch and two (free) Radius servers backing up each
> other. I want to implement a client, that listens to the call-related events
> (such as accest-accept, call started, call finished, failed, and etc.)
> received from the target Radius server, and process these data based on some
> rules. Here comes my questions:
>
> 1. Is it possible to handle Radius call-relaed events over UDP or TCP? --
> because i am newbie to the subject, please excuse me if i am asking
> something stupid.
> 2. If it's, how? Any sample source code can be provided?

You can run a client program each time FreeRADIUS receives a request
with the module "rlm_exec". Look for examples in radiusd.conf.

You may also be interested in modules "rlm_perl" or "rlm_python".

Nicolas Baradakis

-- 
A: Yes.
>Q: Are you sure?
>>A: Because it reverses the logical flow of conversation.
>>>Q: Why is top posting annoying in email?




More information about the Freeradius-Users mailing list