(RADIATOR) Re: Diameter Vendor-Specific-Application-Id - where to place
Mike McCauley
mikem at open.com.au
Wed Jan 10 06:00:33 CST 2007
Hello Arthur,
On Wednesday 10 January 2007 20:01, Arthur Konovalov wrote:
> Trying to add Vendor-Specific-Application-Id AVP-s to CEA, but
> unsuccessfully yet.
>
> My code in diaPeer.pm:
>
> ********************************
> # Vendor-Specific stuff:
>
> $m->add_attr($Radius::DiaAttrList::ACODE_VENDOR_SPECIFIC_APPLICATION_ID, 0,
> $Radius::DiaAttrList::AFLAG_MANDATORY,
> $Radius::DiaAttrList::ACODE_VENDOR_ID, 0,
> $Radius::DiaAttrList::AFLAG_MANDATORY,
> $Radius::DiaAttrList::ACODE_AUTH_APPLICATION_ID, 0,
> $Radius::DiaAttrList::AFLAG_MANDATORY, 1677216
> );
That wont work.
What attributes are you trying to append?
CEA already sends ACODE_SUPPORTED_VENDOR_ID, ACODE_AUTH_APPLICATION_ID and
ACODE_ACCT_APPLICATION_ID
Cheers.
> ********************************
>
> Debug info:
>
> ********************************
> Wed Jan 10 11:50:50 2007: DEBUG: Stream connected to 192.168.24.254:43041
> Wed Jan 10 11:50:50 2007: DEBUG: New DiameterConnection created for
> 192.168.24.254:43041
> Wed Jan 10 11:50:50 2007: DEBUG: Packet dump:
> *** Received initial Diameter request ....
> Code: 257 (CER)
> Version: 1
> Flags: 0x80 (R)
> Application ID: 0 (Base)
> Hop-to-Hop ID: 195135813
> End-to-End ID: 195135814
> Attributes:
> Origin-Host: 64, CSCFRF.imst.elion.ee,
> Origin-Realm: 64, imst.elion.ee,
> Host-IP-Address: 64, 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 Jan 10 11:50:50 2007: DEBUG: StateMachine::event R-Conn-CER in state
> Closed. Calling R_Accept Process_CER R_Snd_CEA
> Wed Jan 10 11:50:50 2007: DEBUG: mm.imst.elion.ee R_Accept
> Wed Jan 10 11:50:50 2007: DEBUG: Process_CER mm.imst.elion.ee got
> CSCFRF.imst.elion.ee imst.elion.ee
> Wed Jan 10 11:50:50 2007: DEBUG: mm.imst.elion.ee R_Snd_CEA
> Can't call method "assemble" without a package or object reference at
> /usr/lib/perl5/site_perl/5.8.8/Radius/DiaAttrList.pm line 335.
> Attempt to free unreferenced scalar: SV 0x8757838.
> ********************************
>
> Please help me to find way out from trouble.
>
> Regards,
> Arthur
--
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