listen-to clusterIP address

Phil Mayers p.mayers at imperial.ac.uk
Wed Jun 5 11:47:49 UTC 2013


On 05/06/13 12:42, Mark Andrews wrote:
>
> Use IPv6 and listen-on-v6 { any; };.  The IPv4 socket api doesn't have
> the hooks to force the UDP replies from the correct address.  The IPv6
> socket api has more functionality.

For what it's worth, there is code to do this in other projects:

https://github.com/FreeRADIUS/freeradius-server/blob/master/src/lib/udpfromto.c

It's a bit hacky and uses various platform-specific APIs, but does seem 
to work reasonably well.


More information about the bind-users mailing list