From: Kristian Evensen <[email protected]>
Date: Wed, 27 Mar 2019 11:16:03 +0100

> An FoU socket is currently bound to the wildcard-address. While this
> works fine, there are several use-cases where the use of the
> wildcard-address is not desirable. For example, I use FoU on some
> multi-homed servers and would like to use FoU on only one of the
> interfaces.
> 
> This commit adds support for binding FoU sockets to a given source
> address/interface, as well as connecting the socket to a given
> destination address/port. udp_tunnel already provides the required
> infrastructure, so most of the code added is for exposing and setting
> the different attributes (local address, peer address, etc.).
> 
> The lookups performed when we add, delete or get an FoU-socket has also
> been updated to compare all the attributes a user can set. Since the
> comparison now involves several elements, I have added a separate
> comparison-function instead of open-coding.
 ...
> Signed-off-by: Kristian Evensen <[email protected]>

Applied.

Reply via email to