[acassen/keepalived] 0c0d5a: vrrp: fix checksum computation in vrrp v2 for sock...
Alexandre Cassen <[email protected]>
| Newsgroups | gmane.linux.keepalived.devel |
|---|---|
| Message-ID | <559bd1b6d2b3f_4e0d3fc0d4fc12bc560b9@hookshot-fe6-cp1-prd.iad.github.net.mail> |
Branch: refs/heads/master
Home: https://github.com/acassen/keepalived
Commit: 0c0d5a5a163b5a355685235be3aba1f1bfdcd2a4
https://github.com/acassen/keepalived/commit/0c0d5a5a163b5a355685235be3aba1f1bfdcd2a4
Author: Alexandre Cassen <[email protected]>
Date: 2015-07-07 (Tue, 07 Jul 2015)
Changed paths:
M keepalived/vrrp/vrrp.c
Log Message:
-----------
vrrp: fix checksum computation in vrrp v2 for socket family AF_INET
One of difference between VRRPv2 and VRRPv3 is the way checksum is computed.
In VRRPv2 no accumulation is specified in RFC while in VRRPv3 it uses regular
accumulator with upper pseudo header. This fix restore compliant VRRPv2 for
AF_INET vrrp instance. Since IPv6 socket are using IPV6_CHECKSUM option
this means that checksum for VRRPv6 instance runing in native_ipv6 mode are
broken. But since this is a end to end sanity check and both side are
operating the same way this OK, no "compliant with VRRPv3 RFC", but anyway
using native IPv6 on VRRPv2 is not really compliant too ;)
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel