[SR-Users] ip address fields

Juha Heinanen jh at tutpro.com
Mon Oct 22 20:36:15 CEST 2012


Daniel-Constantin Mierla writes:

> I gave the link to show the ipv4 representation. Square brackets are 
> commonly used in ipv6 representations, specially in url/uri -- wikipedia 
> link you provided mentions that..

yes, but when they are used in url, square brackets are not part of the
address.  they just delimiting the address.

> Being a code read by machine and being required to support them in 
> kamailio (as we get ipv6 from headers/uri), I see no problem in being 
> flexible enough to deal with both cases.

are you sure that kamailio lcr and permissions modules are able handle
all those non-canonical ipv6 addresses (including square brackets that
are not part of the address) when tables are reloaded?

to me it would make sense to canonize user given addresses before
management system stores them to database.

-- juha



More information about the sr-users mailing list