Sorry...
The contents follows:
Radius Protocol Code: Accounting-Request (4) Packet identifier: 0x61 (97) Length: 128 Authenticator: 22B8D8F7AEE79429749AED94FBC1874C Attribute Value Pairs AVP: l=6 t=Acct-Status-Type(40): Start(1) AVP: l=6 t=Service-Type(6): IAPP-Register(15) AVP: l=6 t=Unknown-Attribute(102): 000000C8 AVP: l=6 t=Error-Cause(101): Unknown(1) [Not enough room in packet for AVP]
Looking on the dictionary, there is no attribute 102... neither error-cause 101 or attribute value of C8. Any ideas where they are?
Edson.
-----Original Message----- From: Edson [mailto:4lists@gmail.com] Sent: terça-feira, 24 de abril de 2007 15:10 To: 'Juha Heinanen' Cc: 'users@openser.org' Subject: RE: [Users] Malformed Radius packet
Humm....
This is what appears:
Edson.
"It wouldn't be sell if it were easy..." (myself)
-----Original Message----- From: Juha Heinanen [mailto:jh@tutpro.com] Sent: terça-feira, 24 de abril de 2007 14:51 To: Edson Cc: users@openser.org Subject: [Users] Malformed Radius packet
Edson writes:
Error: WARNING: Malformed RADIUS packet from host 127.0.0.1: packet attributes do NOT exactly fill the packet
can you repeat this error at will? if so, check using wireshark how the packet looks like.
-- juha
2007/4/24, Edson 4lists@gmail.com:
Sorry...
The contents follows:
Radius Protocol Code: Accounting-Request (4) Packet identifier: 0x61 (97) Length: 128 Authenticator: 22B8D8F7AEE79429749AED94FBC1874C Attribute Value Pairs AVP: l=6 t=Acct-Status-Type(40): Start(1) AVP: l=6 t=Service-Type(6): IAPP-Register(15) AVP: l=6 t=Unknown-Attribute(102): 000000C8 AVP: l=6 t=Error-Cause(101): Unknown(1) [Not enough room in packet for AVP]
Looking on the dictionary, there is no attribute 102... neither error-cause 101 or attribute value of C8. Any ideas where they are?
Yes, exactly the same things as in my case. Add the following lines into your radiusclient-ng dictionary:
ATTRIBUTE Sip-Method 101 integer ATTRIBUTE Sip-Response-Code 102 integer ATTRIBUTE Sip-CSeq 103 string ATTRIBUTE Sip-To-Tag 104 string ATTRIBUTE Sip-From-Tag 105 string ATTRIBUTE Sip-Branch-ID 106 string ATTRIBUTE Sip-Translated-Request-URI 107 string ATTRIBUTE Sip-Source-IP-Address 108 ipaddr ATTRIBUTE Sip-Source-Port 109 integer ATTRIBUTE Sip-User-ID 110 string ATTRIBUTE Sip-User-Realm 111 string ATTRIBUTE Sip-User-Nonce 112 string ATTRIBUTE Sip-User-Method 113 string ATTRIBUTE Sip-User-Digest-URI 114 string ATTRIBUTE Sip-User-Nonce-Count 115 string ATTRIBUTE Sip-User-QOP 116 string ATTRIBUTE Sip-User-Opaque 117 string ATTRIBUTE Sip-User-Response 118 string ATTRIBUTE Sip-User-CNonce 119 string ATTRIBUTE Sip-URI-User 208 string ATTRIBUTE Sip-Req-URI 210 string ATTRIBUTE Sip-CC 212 string ATTRIBUTE Sip-RPId 213 string ATTRIBUTE Digest-Response 206 string ATTRIBUTE Digest-Attributes 207 string ATTRIBUTE Digest-Realm 1063 string ATTRIBUTE Digest-Nonce 1064 string ATTRIBUTE Digest-Method 1065 string ATTRIBUTE Digest-URI 1066 string ATTRIBUTE Digest-QOP 1067 string ATTRIBUTE Digest-Algorithm 1068 string ATTRIBUTE Digest-Body-Digest 1069 string ATTRIBUTE Digest-CNonce 1070 string ATTRIBUTE Digest-Nonce-Count 1071 string ATTRIBUTE Digest-User-Name 1072 string
VALUE Service-Type SIP 15
VALUE Sip-Method Other 0 VALUE Sip-Method Invite 1 VALUE Sip-Method Cancel 2 VALUE Sip-Method Ack 3 VALUE Sip-Method Bye 4
VALUE Sip-Response-Code Other 0 VALUE Sip-Response-Code Invite 1 VALUE Sip-Response-Code Cancel 2 VALUE Sip-Response-Code Ack 3 VALUE Sip-Response-Code Bye 4
Edson writes:
Looking on the dictionary, there is no attribute 102... neither error-cause 101 or attribute value of C8. Any ideas where they are?
check your dictionaries (radiusclient and freeradius). in my dictionaries 101 is SIP-Method and 102 is SIP-Response-Code.
-- juha