At 09:15 AM 8/8/2003, you wrote:
On Fri, 2003-08-08 at 15:48, Alan DeKok wrote:
> Chris van Meerendonk <[EMAIL PROTECTED]> wrote:
> > Is it possible to filter attributes that are sent by using radius proxy
> > to the home-server? Something like attr_filter in the pre-proxy stage?
>
>   If attr_filter doesn't already have a pre-proxy stage, it should be
> ~2 minutes to add one.
With freeradius 0.9.0 it says:
radiusd.conf: "attr_filter" modules aren't allowed in 'pre-proxy'
sections -- they have no such method.

I've found the relevant code, will probable be ~2 hours to add (Sorry,
I'm not that quick ;-) I'll give it a try.

Awhile ago, I sent somebody on the list the post-proxy function for rlm_attr_filter. Take a look at what I changed, and you'll see that it is probably nothing more than taking the authorize function and modifying what reply_items points to for creating a valid pre-proxy function. The only semi-tricky mod to attr_filter was making an accounting function ;o).


HTH,

Chris Brotsos



- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to