(RADIATOR) Diameter Host-IP-address in CEA

Mike McCauley mikem at open.com.au
Sat Dec 23 01:12:13 CST 2006


Hello Arthur,

Thanks for reporting this problem. It was due to some code introduced to be 
compatible with an earlier (broken) version of OpenDiameter.

We have now issued a patch for Radiator 3.16 that should fix this problem.
Please let me know how you get on. We are very keen to ensure interoperation 
with other Diameter clients and servers.

Cheers.

On Thursday 21 December 2006 21:07, Arthur Konovalov wrote:
> Hi!
>
> Trying Radiator-3.16 as Diameter proxy, but my client reports about
> format error in CEA message.
> Traces with Ethereal shows that one possible reaon is incorrect
> Host-IP-Address field.
> In original CER message it is 14 bytes, in CEA from Radiator it is 12
> bytes (Address Family attribute missed).
>
>
> Ethereal:
> CER:
>         Host-IP-Address (IpAddress) l:0xe (14 bytes) (16 padded bytes)
>             AVP Code: Host-IP-Address (257)
>             AVP Flags: 0x40 (Mandatory)
>             AVP Length: 14
>             Address Family: IPv4 (1)
>             IPv4 Address: 192.168.24.254 (192.168.24.254)
>
>
> CEA:
>         Host-IP-Address (IpAddress) l:0xc (12 bytes) (12 padded bytes)
>             AVP Code: Host-IP-Address (257)
>             AVP Flags: 0x40 (Mandatory)
>             AVP Length: 12
>             Address Family: Unknown (49320)
>             Error! Can't Parse Address Family 49320 (Address in draft
> v16 format?)
>
> Radiator log:
> Wed Dec 20 16:49:25 2006: DEBUG: Packet dump:
> *** Received initial Diameter request ....
>   Code:           257 (CER)
>   Version:        1
>   Flags:          0x80 (R)
>   Application ID: 0 (Base)
>   Hop-to-Hop ID:  192235572
>   End-to-End ID:  192235573
>   Attributes:
>     Origin-Host: 64, CSCFRF.imst.hot.ee,
>     Origin-Realm: 64, imst.hot.ee,
>     Host-IP-Address: 64, <0><1><192><168><24><254>,
>     Vendor-Id: 64, 10415,
>     Product-Name: 0, Ericsson Diameter,
>     Supported-Vendor-Id: 64, 0,
>     Acct-Application-Id: 64, 3,
>     Vendor-Specific-Application-Id: 64,
>           Vendor-Id: 64, 0,
>           Auth-Application-Id: 64, 16777216,,
>     Vendor-Specific-Application-Id: 64,
>           Vendor-Id: 64, 0,
>           Acct-Application-Id: 64, 3,,
>     Firmware-Revision: 0, 1,
>
> Wed Dec 20 16:49:25 2006: DEBUG: mm.imst.hot.ee -> CSCFRF.imst.hot.ee
> send_msg:
>   Code:           257 (CER)
>   Version:        1
>   Flags:          0x0 ()
>   Application ID: 0 (Base)
>   Hop-to-Hop ID:  192235572
>   End-to-End ID:  192235573
>   Attributes:
>     Result-Code: 64, 2001,
>     Origin-Host: 64, mm.imst.hot.ee,
>     Origin-Realm: 64, imst.hot.ee,
>     Host-IP-Address: 64, 192.168.24.254,
>     Product-Name: 0, Radiator,
>     Vendor-Id: 64, 9048,
>     Firmware-Revision: 64, 1,
>     Supported-Vendor-Id: 64, 0,
>     Auth-Application-Id: 64, 0,
>     Auth-Application-Id: 64, 1,
>     Acct-Application-Id: 64, 0,
>     Acct-Application-Id: 64, 3,
>     Inband-Security-Id: 64, 1,
>
>
> How do fix this problem?
>
> Regards,
> A
>
> --
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on radiator-announce at open.com.au
> To unsubscribe, email 'majordomo at open.com.au' with
> 'unsubscribe radiator' in the body of the message.

-- 
Mike McCauley                               mikem at open.com.au
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
9 Bulbul Place Currumbin Waters QLD 4223 Australia   http://www.open.com.au
Phone +61 7 5598-7474                       Fax   +61 7 5598-7070

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, 
TTLS, PEAP etc on Unix, Windows, MacOS, NetWare etc.

--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list