[SR-Users] misc_radius false error

Daniel-Constantin Mierla miconda at gmail.com
Fri May 17 15:31:45 CEST 2013


Hello,

if you send a patch, we will review and commit appropriately.

There should be a way to detect is ipv4 or ipv6, because at least the 
size is different. In kamailio AVPs it should be stored as string ...

Cheers,
Daniel

On 5/17/13 2:46 PM, Victor V. Kustov wrote:
> Hello, Daniel-Constantin!
>
>
>> Hello,
>>
>> send a separate patch attached as file. Being the same as integer, I
>> assume PW_TYPE_IPADDR is only of IPv4. Is an equivalent for IPv6?
> Consider http://www.rfc-editor.org/errata_search.php?rfc=3162
>
> --VERIFIER NOTES--
> The common terminology is known by RADIUS implementers. Every RADIUS
> implementor "knows what this means". i.e. "Address" in RFC 2865 means
> "ipaddr", and "Address" in RFC 3162 means "ipv6addr".
>
> As we see it different types. In current parsing misc_radius
> just skip all attributes except string, integer, ipaddr with warning
> ("attribute %d is not of type integer").
>
> I think need complete support for all attributes types with typecast in
> avp's: integer and string.
>
> Maybe part of typecasts will useful in common transformations.
>
>
> --
>   WBR, Victor
>    JID: coyote at bks.tv
>    JID: coyote at bryansktel.ru
>    I use FREE operation system: 3.8.4-calculate GNU/Linux

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013
   * http://asipto.com/u/katu *




More information about the sr-users mailing list