Dnia czwartek, 19 października 2006 23:55, Pshem Kowalczyk napisał: > Hi, > > I have a simple question - is it possible to check the status of > request (Accept/Reject) in a post-proxy phase using rlm_perl? And if > so - how? > > kind regards > pshemko > - > List info/subscribe/unsubscribe? See > http://www.freeradius.org/list/users.html
http://wiki.freeradius.org/Rlm_perl states that there is post_proxy handler: #func_post_proxy = post_proxy # Function to handle post_proxy sub post_proxy { # For debugging purposes only # &log_request_attributes; return RLM_MODULE_OK; } You could try example.pl with hacked log_request_attributes ( displaying other hashes than %RAD_REQUEST ). Also remember to put perl into correct places in radiusd.conf Note that proxy wiki entry states the following: The remote server replies with ACK or REJECT On ACK: The initial Auth-Type is set to Accept On REJECT: The initial Auth-Type is set to Reject But I haven't tested such setups yet. -- Jakub Wartak -vnull http://vnull.pcnet.com.pl/ - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html