Hi,
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.
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:
Error: WARNING: Malformed RADIUS packet from host www.xxx.yyy.zzz:
Invalid attribute 0.
Testing the same user/password with a NTRadPing windows client utility,
the response is OK.
Where is the problem?
Thanks!
Tcpdump from the NTRadPing request (result OK!):
18:48:39.180486 IP client.my.domain.2821 > www.xxx.yyy.zzz.radius:
RADIUS, Access Request (1), id: 0x28 length: 47
0x0000: 4500 004b 6fd8 0000 8011 1a62 9e6d 0033
E..Ko......b.m.3
0x0010: 9e6d 735a 0b05 0714 0037 53f5 0128 002f
.msZ.....7S..(./
0x0020: 2020 2020 2020 3131 3239 3831 3632 3232
......1129816222
0x0030: 0109 3030 3030 3038 3602 1248 ca8d c47a
..0000086..H...z
0x0040: 4649 af19 90a3 51ee 1169 31 FI....Q..i1
18:48:39.195413 IP www.xxx.yyy.zzz.radius > client.my.domain.2821:
RADIUS, Access Accept (2), id: 0x28 length: 20
0x0000: 4500 0030 0007 4000 4011 8a4e 9e6d 735a
E..0..@.@..N.msZ
0x0010: 9e6d 0033 0714 0b05 001c b095 0228 0014
.m.3.........(..
0x0020: 539d 334a 7496 d8cb 08bb a7cd 65b1 fea4
S.3Jt.......e...
Tcpdump from the
Linux request (result ERROR!):
18:48:06.993825 IP bbbb.my.domain.32774 > www.xxx.yyy.zzz.radius:
RADIUS, Access Request (1), id: 0x88 length: 65
0x0000: 4500 005d 6ba9 4000 4011 1e35 9e6d 007d
E..]k.@.@..5.m.}
0x0010: 9e6d 735a 8006 0714 0049 360c 0188 0041
.msZ.....I6....A
0x0020: c542 deb2 9ab1 0fbe b25d 83fe 8808 8281
.B.......]......
0x0030: 0606 0000 0001 0109 3030 3030 3038 3602
........0000086.
0x0040: 122a 78e6 1806 1d8d 9642 332e dfb8 0ded
.*x......B3.....
0x0050: b204 0600 0000 0005 0300 0000 00 .............
--
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
Ramon.Barquier@uab.es
www.uab.es/si