On 2013-01-02, Toni Mueller <openbsd-m...@oeko.net> wrote: > Hi, > > I have a setup with three machines, all i386, and all plugged into > one switch: > > A: 5.1 (IPv4: master) > B: 5.0 (IPv4: backup) > C: 5.2 (IPv4: master, IPv6: backup)
Is this 5.0 release or is it "something close to 5.0"? ---------------------------- revision 1.181 date: 2011/03/08 22:53:28; author: mpf; state: Exp; lines: +6 -8 Fix a subtle carp reconfiguration problem. Updating the HMAC from the carp_ioctl call does not see the newly set IP address in the if_addrlist. The only chance for carp to see the new address is via the address-hook callback. This change moves the detection of address changes entirely into carp_addr_updated. Furthermore, only call carp_hmac_prepare for the SIOCSVH case. This second bug was the reason why the first one went unnoticed for such a long time. Problem found and debugging help by camield@. OK camield@ revision 1.183 date: 2011/04/29 12:36:31; author: mpf; state: Exp; lines: +10 -11 The previous reconfiguration change broke IPv6 only setups. The address hook was only registered for v4 addresses. We now call hook_establish at interface creation time. The hook is now disestablished upon interface destroy, which plugs a tiny memleak. While there remove redundancy in carp_set_addr6 and sync it with carp_set_addr. Bug noticed by todd@. OK sthen, mikeb (on an earlier version) OK and some hints by camield@ ----------------------------