Hello Jose - One way to do this is with multiple Handler clauses and an AuthBy HANDLER clause in the first one.
See the example in “goodies/authhandler.cfg”. See also section 5.76 AuthBy HANDLER in the manual (“doc/ref.pdf”). You can have a different PreAuthHook in each target Handler clause, and the overall configuration will be much simpler. I would also have separate configuration files for authentication and accounting (each listening only on the corresponding ports). hope that helps regards Hugh > On 22 Apr 2015, at 01:26, Jose Borges Ferreira <undersp...@gmail.com> wrote: > > Hi all, > > I have a setup that forwards some accounting to several servers. I > need to mangle some attributes before a forward to the remote > server.One requirement is to have different mangling per host. > I couldn't found a way to change hook some code at AuthBy RADIUS, so I > implemented the attached patch. > > So , my question is : > > Is there a way to achieve what I want ? > > Does the patch makes sense ? > > Thanks in advanced, > > José Borges Ferreira > <RequestHook.patch>_______________________________________________ > radiator mailing list > radiator@open.com.au > http://www.open.com.au/mailman/listinfo/radiator -- Hugh Irvine h...@open.com.au Radiator: the most portable, flexible and configurable RADIUS server anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP, DIAMETER, SIM, etc. Full source on Unix, Linux, Windows, MacOSX, Solaris, VMS, NetWare etc. _______________________________________________ radiator mailing list radiator@open.com.au http://www.open.com.au/mailman/listinfo/radiator