[RADIATOR] Change attribute value that send to proxy

eliran shlomo eliranshlomo at gmail.com
Thu Aug 2 07:45:55 CDT 2012


hi,
i need to change the value of attribute in the Access-Accept packet that
sends to the proxy radius.

i figure out that i need to use ReplyHook
but can you point me how to do it?
i tried this one

sub
{
    my $p = ${$_[0]};   # proxy reply packet
    my $rp = ${$_[1]};  # reply packet to NAS
    my $op = ${$_[2]};  # original request packet
    my $sp = ${$_[3]};  # packet sent to proxy

    my $code = $p->code;

    if ($code eq 'Access-Accept')
    {
                   $sp->delete_attr('RB-Context-Name');
}

    return;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.open.com.au/pipermail/radiator/attachments/20120802/a68e5254/attachment.html 


More information about the radiator mailing list