[RADIATOR] Radius::HTTPClient force IPv6?

C R publist.cr at gmail.com
Mon Jan 10 13:11:27 UTC 2022


Thank you, Heikki.

Le lun. 10 janv. 2022 à 11:00, Heikki Vatiainen <hvn at open.com.au> a écrit :
>
> On 7.1.2022 19.13, C R wrote:
>
> > The AuthBy REST works wonderfully (async!), thank you again. I wonder,
> > however, is there is a way to force the use of IPv6 on a host (docker
> > container) with a dual stack.
>
> See '3.6. IPv6 support' in the reference manual:
>
> https://files.radiatorsoftware.com/radiator/ref.pdf
>
> If you prefix the name with 'ipv6:', it could do the trick.

I will check this, but ipv6:https://$myservice/v1/foo looks a little
weird with the protocol part. (I need to work with DNS names because
the IP are dynamic being containers as well.)

> > The host where my REST auth service run is reachable through IPv6 and
> > IPv4 and has associated A and AAAA records. The usual suspects for DNS
> > info (host, nslookup, dig) show the IPv4 address first.
> >
> > Is there something besides LocalAddress (which I would need to figure
> > out how to retrieve it dynamically and inject it in the configuration)
> > to force IPv6 over IPv4?
>
> One other option might be to inject just the v6 address in the local
> /etc/hosts. I haven't tried it with a container, but it could also be
> one way to force IPv6.

Related to the use of DNS names and dynamic IPs, I don't think this is
an option.

I'll post my results here.

Thanks,

CR


> Thanks,
> Heikki
>
> --
> Heikki Vatiainen
> OSC, makers of Radiator
> Visit radiatorsoftware.com for Radiator AAA server software
> _______________________________________________
> radiator mailing list
> radiator at lists.open.com.au
> https://lists.open.com.au/mailman/listinfo/radiator


More information about the radiator mailing list