Re: Time to send a Access-Accept message
On Fri, Oct 01, 2004 at 05:48:28PM +0300, Kyriaki Gali wrote: ok i have solve my problem with rlm_perl. Does anyone know how can i get enviroment variables in example.pl Before i use rlm_pel i get that like this $username = $ENV{USER_NAME}; Now what can i do to get $username from the accounting_stop packet? try like this $username = $RAD_REQUEST{'User-Name'} where RAD_REQUEST is hash which contains full request with keys that are names of Value pairs. -- Best Regards, Boian Jordanov SNE Orbitel - the Internet Company tel. +359 2 937 07 23 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Time to send a Access-Accept message
Kyriaki Gali [EMAIL PROTECTED] wrote: I have a script that needs only 67 ms and when i run it in Radius client test , i see that do more than 500ms to send me an access-accept message! Running the external script may take time. Does anyone know if needs some ms to send me a message like access-reject message? The server delays Access-Reject messages. See reject_delay in radiusd.conf. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Time to send a Access-Accept message
ok i have solve my problem with rlm_perl. Does anyone know how can i get enviroment variables in example.pl Before i use rlm_pel i get that like this $username = $ENV{USER_NAME}; Now what can i do to get $username from the accounting_stop packet? Kyriaki Gali, IT Applications Specialist Kinetix Tele.com Support Center, Tel Fax: +30 2310 256140 GSM: +30 6947 723737 http://www.kinetix.gr e-mail: [EMAIL PROTECTED] - Original Message - From: Alan DeKok [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 01, 2004 5:34 PM Subject: Re: Time to send a Access-Accept message Kyriaki Gali [EMAIL PROTECTED] wrote: I have a script that needs only 67 ms and when i run it in Radius client test , i see that do more than 500ms to send me an access-accept message! Running the external script may take time. Does anyone know if needs some ms to send me a message like access-reject message? The server delays Access-Reject messages. See reject_delay in radiusd.conf. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Time to send a Access-Accept message
Kyriaki Gali [EMAIL PROTECTED] wrote: Does anyone know how can i get enviroment variables in example.pl You don't. Before i use rlm_pel i get that like this $username = $ENV{USER_NAME}; Now what can i do to get $username from the accounting_stop packet? example.pl contains documentation which describes how to access attributes in the packets. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html