Re: [Keepalived] Release 0.4.8

To: Alexandre CASSEN <alexandre.cassen@xxxxxxxxxxxxxx>
Subject: Re: [Keepalived] Release 0.4.8
Cc: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>, <keepalived-announce@xxxxxxxxxxxxxxxxxxxxx>
From: Julian Anastasov <ja@xxxxxx>
Date: Wed, 21 Nov 2001 19:16:52 +0200 (EET)

On Wed, 21 Nov 2001, Alexandre CASSEN wrote:

>         * VRRP : Review the multicast socket creating. We bind the socket
>           to a specific NIC. inbound & outbound traffic are bound to the
>           NIC.
>           => why IP_ADD_MEMBERSHIP & IP_MULTICAST_IF doesnt set
>              sk->bound_dev_if themself ??? !!!

        May be because there is a bug in all kernels. Wensong provided
patch to the maintainers. IP_MULTICAST_IF binds to interface but
it is saved in another place (sk->ip_mc_index). udp_connect() and
udp_sendmsg() behave differently. Of course, you can explicitly
bind to device with SO_BINDTODEVICE as I see it in the following
paragraph. In any case, I don't know what you consider as a bad
behavior (which syscall) - why do you need valid data in bound_dev_if?

>              Needed for filter multicasted advert per interface.
>           => For inbound binding we use SO_BINDTODEVICE kernel option.

> Best regards,
> Alexandre


Julian Anastasov <ja@xxxxxx>

<Prev in Thread] Current Thread [Next in Thread>