udpfromto works for the server but not from radclient

Alan DeKok aland at deployingradius.com
Wed Aug 5 10:20:02 CEST 2009


Joe Maimon wrote:
> I think its probably a misuse of library calls. It seems to work
> properly if I put in an ip address instead of "localhost".

  That is very strange.  It looks like the udpfromto code is being
handed invalid IP addresses when the server does DNS lookups.

> Sorry -- It means it does not operate correctly when I have the server
> bind to multiple addresses, such as on loopback interfaces where I am
> using an anycast style setup, replies come back from the wrong address.

  If you put an IP address instead of "*" in the listen section, does it
still do that?

  If so, I suspect that the issue is a socket initialization thing fixed
in 2.1.0.

  Alan DeKok.



More information about the Freeradius-Devel mailing list