<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EpostStil17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=NO-BOK link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span lang=EN-US>Hi, <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>I’m having problems proxying
accounting requests on FreeRadius 2. <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Local auth and acct works fine, and
proxying auth works. But as soon as I try to proxy accounting then Freeradius
crashes. <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>I have tried proxying to an old stable
freeradius server, through a home server, direct to a virtual server, home
server pools, and I have tried to add and remove all the modules and options I can
to try to find if there is a particular part that makes it crash but no luck. <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>The accounting requests gets sent, and
FreeRadius crashes after. <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>I’ve tried to install both version
FreeRadius 2.0.0 and 2.0.1 on two different servers both running different
Ubuntu versions. <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Anyone have an idea what I can try next?<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Here is output from one of the
installations: <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>*** glibc detected *** ../../sbin/radiusd:
malloc(): memory corruption: 0x081b7460 ***<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>======= Backtrace: =========<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/lib/tls/i686/cmov/libc.so.6[0xb7c7c1cd]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/lib/tls/i686/cmov/libc.so.6(malloc+0x7f)[0xb7c7d83f]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/usr/local/freeradius2/lib/libfreeradius-radius-2.0.1.so(paircopy2+0x69)[0xb7f503d9]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/usr/local/freeradius2/lib/libfreeradius-radius-2.0.1.so(paircopy+0x25)[0xb7f50475]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>../../sbin/radiusd[0x806150d]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>../../sbin/radiusd(radius_handle_request+0x5b)[0x806160b]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>../../sbin/radiusd(thread_pool_addrequest+0x36)[0x805bd56]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>../../sbin/radiusd[0x8060c32]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/usr/local/freeradius2/lib/libfreeradius-radius-2.0.1.so(fr_event_loop+0x236)[0xb7f53db6]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>../../sbin/radiusd(radius_event_process+0x30)[0x80624e0]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>../../sbin/radiusd(main+0x572)[0x805ad52]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc)[0xb7c2a8cc]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>../../sbin/radiusd[0x804d1f1]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>======= Memory map: ========<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>08048000-08076000 r-xp 00000000 08:07 326643
/usr/local/freeradius2/sbin/radiusd<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>08076000-08078000 rw-p 0002d000 08:07
326643 /usr/local/freeradius2/sbin/radiusd<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>08078000-081d3000 rw-p 08078000 00:00
0 [heap]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>b7800000-b7821000 rw-p b7800000 00:00 0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>b7821000-b7900000 ---p b7821000 00:00 0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>b79ab000-b79b5000 r-xp 00000000 08:01
144592 /lib/libgcc_s.so.1<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>b79b5000-b79b6000 rw-p 00009000 08:01
144592 /lib/libgcc_s.so.1<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>b79bb000-b79bd000 r-xp 00000000 08:07
326401 /usr/local/freeradius2/lib/rlm_attr_filter-2.0.1.so<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>b79bd000-b79be000 rw-p 00001000 08:07
326401
/usr/local/freeradius2/lib/rlm_attr_filter-2.0.1.so<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>b79be000-b79e2000 r-xp 00000000 08:01
144858 /lib/tls/i686/cmov/libm-2.4.so<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>b79e2000-b79e4000 rw-p 00023000 08:01
144858 /lib/tls/i686/cmov/libm-2.4.so<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>b79e4000-b7b73000 r-xp 00000000 08:07
505387 /usr/lib/libmysqlclient_r.so.15.0.0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>b7b73000-b7bb7000 rw-p 0018e000 08:07
505387 /usr/lib/libmysqlclient_r.so.15.0.0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>b7bb7000-b7bb8000 rw-p b7bb7000 00:00 0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>b7bba000-b7bbc000 r-xp 00000000 08:07
326391
/usr/local/freeradius2/lib/rlm_acct_unique-2.0.1.so<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>b7bbc000-b7bbd000 rw-p 00001000 08:07
326391
/usr/local/freeradius2/lib/rlm_acct_unique-2.0.1.so<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>b7bbd000-b7bbf000 r-xp 00000000 08:07
326608 /usr/local/freeradius2/lib/rlm_sql_mysql-2.0.1.so<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>b7bbf000-b7bc0000 rw-p 00001000 08:07
326608
/usr/local/freeradius2/lib/rlm_sql_mysql-2.0.1.so<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>b7bc0000-b7bc8000 r-xp 00000000 08:07
326613 /usr/local/freeradius2/lib/rlm_sql-2.0.1.so<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>b7bc8000-b7bc9000 rw-p 00007000 08:07 326613
/usr/local/freeradius2/lib/rlm_sql-2.0.1.so<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>b7bc9000-b7bcb000 r-xp 00000000 08:07
326598 /usr/local/freeradius2/lib/rlm_realm-2.0.1.so<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>b7bcb000-b7bcc000 rw-p 00001000 08:07
326598 /usr/local/freeradius2/lib/rlm_realm-2.0.1.so<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>b7bcc000-b7bce000 r-xp 00000000 08:07
326583
/usr/local/freeradius2/lib/rlm_preprocess-2.0.1.so<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>b7bce000-b7bcf000 rw-p 00002000 08:07
326583
/usr/local/freeradius2/lib/rlm_preprocess-2.0.1.so<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>b7bcf000-b7bd1000 r-xp 00000000 08:07
326411 /usr/local/freeradius2/lib/rlm_chap-2.0.1.so<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>b7bd1000-b7bd2000 rw-p 00001000 08:07
326411 /usr/local/freeradius2/lib/rlm_chap-2.0.1.so<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>b7bd2000-b7bd5000 r-xp 00000000 08:07
326567 /usr/local/freeradius2/lib/rlm_pap-2.0.1.so<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>b7bd5000-b7bd6000 rw-p 00003000 08:07 326567
/usr/local/freeradius2/lib/rlm_pap-2.0.1.so<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>b7bd6000-b7bd9000 r-xp 00000000 08:07
326551
/usr/local/freeradius2/lib/rlm_logintime-2.0.1.so<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>b7bd9000-b7bda000 rw-p 00002000 08:07
326551
/usr/local/freeradius2/lib/rlm_logintime-2.0.1.so<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>b7bda000-b7bdc000 r-xp 00000000 08:07
326514
/usr/local/freeradius2/lib/rlm_expiration-2.0.1.so<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>b7bdc000-b7bdd000 rw-p 00001000 08:07
326514
/usr/local/freeradius2/lib/rlm_expiration-2.0.1.so<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>b7bdd000-b7be0000 r-xp 00000000 08:07 326519
/usr/local/freeradius2/lib/rlm_expr-2.0.1.so<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>b7be0000-b7be1000 rw-p 00002000 08:07
326519 /usr/local/freeradius2/lib/rlm_expr-2.0.1.so<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>b7be1000-b7beaAborted<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Cheers, <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jørn<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>