[RADIATOR] Origin-Host in ACA message

Mike McCauley mikem at open.com.au
Sat Sep 12 00:17:49 CDT 2009


Hello Arthur,

thanks for the patch.
It has now been included in the latest patch set.
We apologise for any inconvenience.

Cheers.

On Friday 11 September 2009 11:03:20 pm Arthur Konovalov wrote:
> Arthur Konovalov wrote:
> > Hi, list!
> > Please observe raised issue with my client.
> > My Radiator server reply to Diameter Accounting (AVP 271) with
> > 'Origin-Host' AVP from request (proxy1.emm.hot.ee) instead of own
> > (mm.emm.hot.ee). This answer lead to problem in client application.
>
> OK, found solution and problem solved.
>
> In ServerDiameter.pm in loop:
>     # Copy various interesting attributes back to the reply if present
>     foreach ($Radius::DiaAttrList::ACODE_ORIGIN_HOST,
>              $Radius::DiaAttrList::ACODE_ACCT_APPLICATION_ID,
>              .....
>
> $Radius::DiaAttrList::ACODE_ORIGIN_HOST removed and added after loop:
>
>     $p->add_attr($Radius::DiaAttrList::ACODE_ORIGIN_HOST, 0,
>      $Radius::DiaAttrList::AFLAG_MANDATORY, $self->{OriginHost});
>
>
> Hope this now more accordance to RFC.
>
> Regards,
> Arthur
>
> _______________________________________________
> radiator mailing list
> radiator at open.com.au
> http://www.open.com.au/mailman/listinfo/radiator



-- 
Mike McCauley                               mikem at open.com.au
Open System Consultants Pty. Ltd
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, TNC, WiMAX, RSA, Vasco, Yubikey, DIAMETER etc. Full source
on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.


More information about the radiator mailing list