Questions about proxy radius on multihomed host

Alan DeKok aland at deployingradius.com
Mon Dec 4 06:15:54 CET 2006


Kostas Zorbadelos wrote:
> on a multihomed Solaris host when radius packets are proxied what is
> their source IP? Is it IP1 or it could also be IP2?

  Uh... that's up to the OS.  There are patches pending against CVS head
that should fix this.

> I took a look at the sources where I see that in proxy.c a rad_send()
> is used to actually send the packet. rad_send() uses sendto() unless
> WITH_UDPFROMTO is defined in which case sendfromto() is used. In my
> case, WITH_UDPFROMTO is undefined.

  That only matters for packets being received by the server, not
packets it's sending.

> Can I assume that outgoing packets use as source address the one
> listed in the listen directive? 

  If that's the only IP used, yes.  Otherwise, it's up to the OS to
determine the best source IP for an outgoing packet.

  Alan DeKok.
--
  http://deployingradius.com       - The web site of the book
  http://deployingradius.com/blog/ - The blog



More information about the Freeradius-Users mailing list