[Users] Malformed Radius packet
Peter Lemenkov
lemenkov at gmail.com
Tue Apr 24 20:25:28 CEST 2007
2007/4/24, Edson <4lists at 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
--
With best regards!
More information about the sr-users
mailing list