Hello, i had running version of freeradius 2.1.10 (from ubuntu ppa) with workable EAP-TTLS configuration. Today when i noticed that version 3 is out i decided to upgrade to it and also test the built-in dhcp server. All was goin well until i enabled dhcp (EAP-TTLS was working and authentication to mysql), when i run freeradius -X, i get Segmentation Fault when it reaches dhcp listner. It is the same if i use default dhcp site (one provided with source) or if i follow guide on freeRadius wiki ( http://wiki.freeradius.org/guide/dhcp-for-static-ip-allocation) I built package from source as described in instruction for debian. Here is return of my freeradius -xv: Tue Oct 8 15:07:55 2013 : Info: freeradius: FreeRADIUS Version 3.0.0, for host x86_64-pc-linux-gnu, built on Oct 8 2013 at 10:44:53 Tue Oct 8 15:07:55 2013 : Debug: Server was built with: Tue Oct 8 15:07:55 2013 : Debug: accounting Tue Oct 8 15:07:55 2013 : Debug: authentication Tue Oct 8 15:07:55 2013 : Debug: ascend binary attributes Tue Oct 8 15:07:55 2013 : Debug: coa Tue Oct 8 15:07:55 2013 : Debug: control-socket Tue Oct 8 15:07:55 2013 : Debug: detail Tue Oct 8 15:07:55 2013 : Debug: dhcp Tue Oct 8 15:07:55 2013 : Debug: dynamic clients Tue Oct 8 15:07:55 2013 : Debug: proxy Tue Oct 8 15:07:55 2013 : Debug: regex-posix Tue Oct 8 15:07:55 2013 : Debug: session-management Tue Oct 8 15:07:55 2013 : Debug: stats Tue Oct 8 15:07:55 2013 : Debug: tcp Tue Oct 8 15:07:55 2013 : Debug: threads Tue Oct 8 15:07:55 2013 : Debug: tls Tue Oct 8 15:07:55 2013 : Debug: unlang Tue Oct 8 15:07:55 2013 : Debug: vmps Tue Oct 8 15:07:55 2013 : Debug: Server core libs: Tue Oct 8 15:07:55 2013 : Debug: talloc : 2.0.* Tue Oct 8 15:07:55 2013 : Debug: ssl : OpenSSL 1.0.1 14 Mar 2012 I have pasted debug from freeradius -X on pastebin so it doesn't clutter too much here: http://pastebin.com/raw.php?i=u9mM3avv Any help is appreciated. Regards, Rok
On 8 Oct 2013, at 17:44, Phil Mayers <p.mayers@imperial.ac.uk> wrote:
On 08/10/13 17:01, Rok Kosir wrote:
authentication to mysql), when i run freeradius -X, i get Segmentation Fault when it reaches dhcp listner.
See doc/bugs.
and skip to section 2. :) Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team
On 10/08/2013 07:09 PM, Arran Cudbard-Bell wrote:
On 8 Oct 2013, at 17:44, Phil Mayers <p.mayers@imperial.ac.uk> wrote:
On 08/10/13 17:01, Rok Kosir wrote:
authentication to mysql), when i run freeradius -X, i get Segmentation Fault when it reaches dhcp listner. See doc/bugs. and skip to section 2. :)
Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Rebuilt manually and with dhcp it started the server, when dhcp request came it crashed. I did use --enable-development when configuring All i got in logs is kernel: [7949524.015421] radiusd[19648] general protection ip:7fa7082c1670 sp:7fff9dcc1a48 error:0 in libc-2.15.so[7fa70817f000+1b5000] no other coredump available except from gdb Generated gdb http://pastebin.com/raw.php?i=C1NYzckb Also debug from radiusd -X http://pastebin.com/raw.php?i=B8tRs1xh config options were: ./configure --build x86_64-linux-gnu --config-cache --enable-developer --prefix=/usr --exec-prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --libdir=/usr/lib/freeradius --datadir=/usr/share --localstatedir=/var --with-raddbdir=/etc/freeradius --with-logdir=/var/log/freeradius --with-large-files --with-udpfromto --without-rlm_eap_tnc --without-rlm_eap_ikev2 --without-rlm_sql_oracle --without-rlm_sql_unixodbc on Ubuntu 12.04 kernel 3.2.0-29-generic
On 9 Oct 2013, at 11:56, Rok Kosir <rok.kosir@cosylab.com> wrote:
On 10/08/2013 07:09 PM, Arran Cudbard-Bell wrote:
On 8 Oct 2013, at 17:44, Phil Mayers <p.mayers@imperial.ac.uk> wrote:
On 08/10/13 17:01, Rok Kosir wrote:
authentication to mysql), when i run freeradius -X, i get Segmentation Fault when it reaches dhcp listner.
See doc/bugs.
and skip to section 2. :)
Arran Cudbard-Bell <a.cudbardb@freeradius.org>
FreeRADIUS Development Team
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Rebuilt manually and with dhcp it started the server, when dhcp request came it crashed. I did use --enable-development when configuring
All i got in logs is kernel: [7949524.015421] radiusd[19648] general protection ip:7fa7082c1670 sp:7fff9dcc1a48 error:0 in libc-2.15.so[7fa70817f000+1b5000]
no other coredump available except from gdb Generated gdb http://pastebin.com/raw.php?i=C1NYzckb
Thanks for that. git clone git@github.com:FreeRADIUS/freeradius-server.git cd freeradius-server git checkout v3.0.x Should no longer segv. Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team
participants (3)
-
Arran Cudbard-Bell -
Phil Mayers -
Rok Kosir