Hello,

 

Is there a way that I could add a new attribute if I receive a specific attribute from a proxy radius.

 

For example:

 

Proxy radius sends a packet which contains an idle-timeout of 30s. However based on this condition I want to send a session-timeout of 180s. ( There is a change in the actual attribute, not just value and the idles-timeout is not forwarded to the access-server.)

 

Modules {

 

            if(idle-timeout == 30){

        attr_rewrite test {

                           searchfor = ""

               searchin = reply

                           replacewith = "180"

               new_attribute = yes

                           attribute = Session-Timeout

        }

}

 

}

 

post-proxy {

        test

}

 

 

Thank you,

 

Wilhelm

Reply via email to