segfault when rlm_perl used

2009-10-16 Thread Michael Chernyakhovsky
Hi, i build FR 2.1.7 on slackware 13.0 (glibc-2.9) with perl 5.10.0. every time, i kill radiusd, message like radiusd[5754]: segfault at 0 ip b73e2213 sp bfb86dac error 4 in libc-2.9.so[b736b000+15a000] appears in the log. This is not good bad, but worst when radiusd crashed on run-time. Then

Re[2]: segfault when rlm_perl used

2009-10-16 Thread Michael Chernyakhovsky
Здравствуйте, FreeRadius! Вы писали 16 октября 2009 г., 18:03:17: On Oct 16, 2009, at 2:57 PM, Michael Chernyakhovsky wrote: Oct 13 21:58:53 rs kernel: radiusd[11441]: segfault at 20004 ip b7478636 sp b502bcb0 error 4 in rlm_perl-2.1.7.so[b73cb000+15b000] Oct 14 22:09:56 rs kernel

Re[2]: redundant ippools using rlm_ippool in v1.1.3

2008-09-18 Thread Michael Chernyakhovsky
Здравствуйте, FreeRadius! Вы писали 16 сентября 2008 г., 23:23:13: The patch works as promised in version 1.1.3 if applied. The post-auth section in radiusd.conf doesn't though. As suggested by Michael with Kostas' patch applied you have to pass DEFAULT as Pool-Name check attribute in

Re[2]: rlm_detail bug when locking = yes

2006-06-20 Thread Michael Chernyakhovsky
Nicolas wrote: we need close outfd right before return RLM_MODULE_FAIL; at line 236. or get the fixes from CVS head which solve many other problems in rlm_detail. (for example file renamed or unlinked by another program) Everyone will save a considerable amount of time if you could

Re[2]: rlm_detail bug when locking = yes

2006-06-20 Thread Michael Chernyakhovsky
open() executed once. but while we failed to get lock at first try, close(outfd) executed and all the subsequent attempts to lock file fails i comment line 293 out. I don't understand why this helps. We open the file at the beginning of the do..while() loop, so it should be fine. err.

rlm_detail bug when locking = yes

2006-06-16 Thread Michael Chernyakhovsky
hello, everybody. my radius use a rlm_perl module, wich open and write some informations to files. also it use rlm_detail but without locking. 2 days ago i add second rlm_detail to config with option locking = yes. since i got 2 files with corrupted datas which accessed by rlm_perl. i think

rlm_detail and radrelay concurrence

2006-06-15 Thread Michael Chernyakhovsky
hello, everyone i use radrelay there are errors in log from rlm_detail like Error: rlm_detail: Couldn't open file /var/log/radius/radacct/detail-relay: Bad file descriptor while examine rlm_detail.c i found two places in it. first while open (create if need) detail-file (line 204