<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Courier New, Courier, monospace">Hi,<br>
<br>
I have installed freeradius 1.0.4-2 in a Debian sarge and I have
install php-radius 1.2-1 (Radius protocol implementation in PHP from
Roberto Lumbreras) for authenticate users. <br>
<br>
When I test the authentication utility from a linux client I don't have
response by the server. Looking into /var/log/freeradius/radius.log, I
see the message:<br>
<br>
Error: WARNING: Malformed RADIUS packet from host <a class="moz-txt-link-abbreviated" href="http://www.xxx.yyy.zzz:">www.xxx.yyy.zzz:</a>
Invalid attribute 0.<br>
<br>
Testing the same user/password with a NTRadPing windows client utility,
the response is OK.<br>
<br>
Where is the problem?<br>
Thanks!<br>
<br>
Tcpdump from the NTRadPing request (result OK!):<br>
<br>
18:48:39.180486 IP client.my.domain.2821 > <a class="moz-txt-link-abbreviated" href="http://www.xxx.yyy.zzz.radius:">www.xxx.yyy.zzz.radius:</a>
RADIUS, Access Request (1), id: 0x28 length: 47<br>
0x0000: 4500 004b 6fd8 0000 8011 1a62 9e6d 0033
E..Ko......b.m.3<br>
0x0010: 9e6d 735a 0b05 0714 0037 53f5 0128 002f
.msZ.....7S..(./<br>
0x0020: 2020 2020 2020 3131 3239 3831 3632 3232
......1129816222<br>
0x0030: 0109 3030 3030 3038 3602 1248 ca8d c47a
..0000086..H...z<br>
0x0040: 4649 af19 90a3 51ee 1169 31 FI....Q..i1<br>
<br>
18:48:39.195413 IP <a class="moz-txt-link-abbreviated" href="http://www.xxx.yyy.zzz.radius">www.xxx.yyy.zzz.radius</a> > client.my.domain.2821:
RADIUS, Access Accept (2), id: 0x28 length: 20<br>
0x0000: 4500 0030 0007 4000 4011 8a4e 9e6d 735a
<a class="moz-txt-link-abbreviated" href="mailto:E..0..@.@..N.msZ">E..0..@.@..N.msZ</a><br>
0x0010: 9e6d 0033 0714 0b05 001c b095 0228 0014
.m.3.........(..<br>
0x0020: 539d 334a 7496 d8cb 08bb a7cd 65b1 fea4
S.3Jt.......e...<br>
<br>
</font><font face="Courier New, Courier, monospace">Tcpdump from the
Linux request (result ERROR!):</font><br>
<font face="Courier New, Courier, monospace"><br>
18:48:06.993825 IP bbbb.my.domain.32774 > <a class="moz-txt-link-abbreviated" href="http://www.xxx.yyy.zzz.radius:">www.xxx.yyy.zzz.radius:</a>
RADIUS, Access Request (1), id: 0x88 length: 65<br>
0x0000: 4500 005d 6ba9 4000 4011 1e35 9e6d 007d
<a class="moz-txt-link-abbreviated" href="mailto:E..]k.@.@..5.m">E..]k.@.@..5.m</a>.}<br>
0x0010: 9e6d 735a 8006 0714 0049 360c 0188 0041
.msZ.....I6....A<br>
0x0020: c542 deb2 9ab1 0fbe b25d 83fe 8808 8281
.B.......]......<br>
0x0030: 0606 0000 0001 0109 3030 3030 3038 3602
........0000086.<br>
0x0040: 122a 78e6 1806 1d8d 9642 332e dfb8 0ded
.*x......B3.....<br>
0x0050: b204 0600 0000 0005 0300 0000 00 .............<br>
<br>
<br>
</font>
<pre class="moz-signature" cols="72">--
Ramón Barquier Montalbán
Comunicacions
Servei d'Informàtica
Edifici D
Campus de la UAB
08193 Bellaterra. Barcelona
Tel. +34 935 811 488 Fax: +34 935 812 094
<a class="moz-txt-link-abbreviated" href="mailto:Ramon.Barquier@uab.es">Ramon.Barquier@uab.es</a>
<a class="moz-txt-link-abbreviated" href="http://www.uab.es/si">www.uab.es/si</a></pre>
</body>
</html>