<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16640" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=301300409-02052008>Freeradius
2.0.3</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=301300409-02052008>FreeBSD
6.3</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=301300409-02052008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=301300409-02052008>I have a problem
where accounting packets are not getting acknowledged by
Freeradius.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=301300409-02052008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=301300409-02052008>I have been using
the NTRadPing testing tool and have determined that if the Accounting Start
packet contains a NAS-Port attribute, the packet will
timeout.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=301300409-02052008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=301300409-02052008>If I remove the
NAS-Port attribute from the Accounting Start packet I get an instant
response.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=301300409-02052008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=301300409-02052008>Please
see below output from radiusd -X - the line that seems to vary between
successful and failed attempts is ++[unix] returns fail (its ++[unix] returns
noop when successful).</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=301300409-02052008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=301300409-02052008>Ready to process
requests.<BR> User-Name = "<A
href="mailto:80001@test.net.uk">80001@test.net.uk</A>"<BR>
Acct-Status-Type = Start<BR>
Acct-Session-Id = "2476"<BR>
NAS-IP-Address = 10.0.1.110<BR>
NAS-Port = 1073<BR>+- entering group preacct<BR>++[preprocess] returns
ok<BR>rlm_acct_unique: Hashing 'NAS-Port = 1073,Client-IP-Address =
10.0.1.110,NAS-IP-Address = 10.0.1.110,Acct-Session-Id = "2476",User-Name = "<A
href="mailto:80001@test.net.uk"'">80001@test.net.uk"'</A><BR>rlm_acct_unique:
Acct-Unique-Session-ID = "22a2bff7af67d3ea".<BR>++[acct_unique] returns
ok<BR> rlm_realm: Looking up realm "test.net.uk" for User-Name
= "<A
href="mailto:s80001@test.net.uk">80001@test.net.uk</A>"<BR>
rlm_realm: Found realm "test.net.uk"<BR> rlm_realm: Proxying
request from user 80001 to realm test.net.uk<BR> rlm_realm:
Adding Realm = "test.net.uk"<BR> rlm_realm: Accounting realm
is LOCAL.<BR>++[suffix] returns noop<BR> acct_users: Matched
entry DEFAULT at line 22<BR>WARNING: Deprecated conditional expansion
":-". See "man unlang" for
details<BR> expand:
%{Stripped-User-Name:-%{User-Name}} -> <A
href="mailto:80001@test.net.uk">80001@test.net.uk</A><BR>++[files] returns
ok<BR>+- entering group accounting<BR>
expand: /var/log/radacct/%{Client-IP-Address}/detail-%Y%m%d ->
/var/log/radacct/10.0.1.110/detail-20080502<BR>rlm_detail:
/var/log/radacct/%{Client-IP-Address}/detail-%Y%m%d expands to
/var/log/radacct/10.0.1.110/detail-20080502<BR>
expand: %t -> Fri May 2 09:06:38 2008<BR>++[detail] returns
ok<BR>++[unix] returns fail</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=301300409-02052008>Finished request
1.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=301300409-02052008><FONT face=Arial size=2>Many
thanks </FONT></SPAN> </DIV><SPAN lang=en-gb><FONT face=Verdana>
<P style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"
align=left><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT><FONT
face=Arial size=2></FONT><FONT face=Arial size=2></FONT><BR><B><FONT
size=2>Tim</FONT></B><BR></FONT></SPAN><FONT face=Arial size=2></FONT></P>
<P style="MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"
align=left><FONT face=Arial size=2></FONT> </P>
<DIV align=center>
<CENTER>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD width="100%">
<P
style="BORDER-TOP: #808080 1px solid; MARGIN: 0px; WORD-SPACING: 0px; TEXT-INDENT: 0px; LINE-HEIGHT: 100%"
align=left><FONT face=Arial color=#808080 size=1>Any opinions expressed in
this email are those of the individual and not necessarily those of Sota
Solutions Limited. It is intended only for the person(s) to whom it is
addressed and may contain privileged and/or confidential information.
Accordingly, the copying, dissemination, distribution, or use of this
message to any other person may constitute a breach of Civil or Criminal
Law. Please notify the sender immediately if you have received this email
by mistake and delete it from your
system.</FONT></P></TD></TR></TBODY></TABLE><FONT face="Arial Narrow"
size=2><BR></FONT></CENTER></DIV>
<DIV> </DIV></BODY></HTML>