Is CVS snapshot (20070201) a minimal stable?
Hi again, I am trying to test the new features of FreeRADIUS V2 and I'am getting a seg fault, when sending just an Access-Request to FreeRADIUS. The only configuration change is that I set snmp = no. Here is the request I send: User-Name = "geoffroy@pc_gao" User-Password = "gaogreiogeriogjeriog" Framed-IP-Address = 10.0.0.1 NAS-Port = 0 Here is the ouput with radiusd -Xxx Mon Feb 5 16:54:29 2007 : Info: Ready to process requests. Mon Feb 5 16:54:29 2007 : Debug: Nothing to do. Sleeping until we see a request. rad_recv: Access-Request packet from host 172.26.233.2 port 16385, id=162, length=83 User-Name = "geoffroy@pc_gao" User-Password = "gaogreiogeriogjeriog" Framed-IP-Address = 10.0.0.1 NAS-Port = 0 Mon Feb 5 16:54:33 2007 : Debug: Processing the authorize section of radiusd.conf Mon Feb 5 16:54:33 2007 : Debug: modcall: entering group authorize for request 0 Mon Feb 5 16:54:33 2007 : Debug: modsingle[authorize]: calling preprocess (rlm_preprocess) for request 0 Does anyone have tested this snapshot? Thanks Geoff. ___________________________________________________________________________ Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses http://fr.answers.yahoo.com
and I'am getting a seg fault, when sending just an Access-Request to FreeRADIUS. The only configuration change is that I set snmp = no.
Before beign asked for it, here is gdb output and bt: rad_recv: Access-Request packet from host 10.67.189.3 port 2256, id=27, length=73 User-Name = "geoffroy@pc_gao" User-Password = "gao" Framed-IP-Address = 10.0.0.1 NAS-Port = 0 NAS-IP-Address = 255.255.255.255 Processing the authorize section of radiusd.conf modcall: entering group authorize for request 0 Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1218497280 (LWP 8932)] 0x00aac071 in rad_mangle () from /users/garnoud/freeradius/V2-20070201/lib/rlm_preprocess-2.0.0-pre0.so (gdb) bt #0 0x00aac071 in rad_mangle () from /users/garnoud/freeradius/V2-20070201/lib/rlm_preprocess-2.0.0-pre0.so #1 0x00aac7b8 in preprocess_authorize () from /users/garnoud/freeradius/V2-20070201/lib/rlm_preprocess-2.0.0-pre0.so #2 0x0805b02a in module_post_auth () #3 0x0805b578 in modcall () #4 0x08059e27 in find_module_instance () #5 0x0805ab11 in module_authorize () #6 0x0804ded5 in rad_authenticate () #7 0x080601dc in rad_respond () #8 0x08064125 in thread_pool_addrequest () #9 0x0805e067 in main () I tried to comment out some modules of authorize section, but the segfault is still here. I compiled FR the following way: ./configure --prefix=/users/garnoud/freeradius/V2-20070201 --exec-prefix=/users/garnoud/freeradius/V2-20070201 --with-openssl-includes=/usr/local/src/openssl-0.9.7a/include --with-openssl-libraries=/lib/ --disable-developer --with-snmp with the following variables set: CFLAGS=-I/usr/src/redhat/SOURCES/net-snmp-5.4/include/ucd-snmp/ -DUCD_COMPATIBLE LDFLAGS=-L/usr/local/lib (stupid option, but wihtout it, configure doesn't find lsnmp!) + make & make install Any idea? Geoff. ___________________________________________________________________________ Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses http://fr.answers.yahoo.com
Geoffroy Arnoud wrote:
and I'am getting a seg fault, when sending just an Access-Request to FreeRADIUS. The only configuration change is that I set snmp = no.
Before beign asked for it, here is gdb output and bt:
Please build with symbols... that will help a LOT.
#0 0x00aac071 in rad_mangle () from /users/garnoud/freeradius/V2-20070201/lib/rlm_preprocess-2.0.0-pre0.so
I haven't seen a crash there...
I tried to comment out some modules of authorize section, but the segfault is still here.
My suspicion is that something else is going wrong... Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
participants (2)
-
Alan DeKok -
Geoffroy Arnoud