Hello
I received the following bug report through the Debian bug tracking
system. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=225919
Can you please comment the patch?
bye,
-christian-
> From: Anand Kumria <wildfire@progsoc.org>
> Date: Sat, 03 Jan 2004 02:15:35 +1100
...
> When used with a network of Debian 3.0 machines, quagga will generate
> router advertisements (RAs) with a checksum of 0000. This is incorrect
> and will cause those machine to (eventually) time out their global route
> to the IPv6 Internet.
>
> This has caused a number of system of mine to become unusable over the
> last few days. I have managed to track down the problem to a change in
> rtadv.c revisions 1.2 and 1.3.
>
> --- quagga-0.96.4x.orig/zebra/rtadv.c
> +++ quagga-0.96.4x/zebra/rtadv.c
> @@ -434,6 +434,9 @@
> ret = setsockopt_ipv6_pktinfo (sock, 1);
> if (ret < 0)
> return ret;
> + ret = setsockopt_ipv6_checksum (sock, 2);
> + if (ret < 0)
> + return ret;
> ret = setsockopt_ipv6_multicast_loop (sock, 0);
> if (ret < 0)
> return ret;
>
> I've done some testing with other kernel versions, here is what I have
> found:
>
> 2.4.18: patch required
> 2.4.19: unknown?
> 2.4.20: unknown?
> 2.4.21: unknown?
> 2.4.22: not required
> 2.4.23: not required
> 2.6+: not required
>
> If you like I can write up a patch which will only do this only on the
> required kernel versions once I know the status of 2.4.19 - 2.4.21
>
> Thanks,
> Anand
I received the following bug report through the Debian bug tracking
system. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=225919
Can you please comment the patch?
bye,
-christian-
> From: Anand Kumria <wildfire@progsoc.org>
> Date: Sat, 03 Jan 2004 02:15:35 +1100
...
> When used with a network of Debian 3.0 machines, quagga will generate
> router advertisements (RAs) with a checksum of 0000. This is incorrect
> and will cause those machine to (eventually) time out their global route
> to the IPv6 Internet.
>
> This has caused a number of system of mine to become unusable over the
> last few days. I have managed to track down the problem to a change in
> rtadv.c revisions 1.2 and 1.3.
>
> --- quagga-0.96.4x.orig/zebra/rtadv.c
> +++ quagga-0.96.4x/zebra/rtadv.c
> @@ -434,6 +434,9 @@
> ret = setsockopt_ipv6_pktinfo (sock, 1);
> if (ret < 0)
> return ret;
> + ret = setsockopt_ipv6_checksum (sock, 2);
> + if (ret < 0)
> + return ret;
> ret = setsockopt_ipv6_multicast_loop (sock, 0);
> if (ret < 0)
> return ret;
>
> I've done some testing with other kernel versions, here is what I have
> found:
>
> 2.4.18: patch required
> 2.4.19: unknown?
> 2.4.20: unknown?
> 2.4.21: unknown?
> 2.4.22: not required
> 2.4.23: not required
> 2.6+: not required
>
> If you like I can write up a patch which will only do this only on the
> required kernel versions once I know the status of 2.4.19 - 2.4.21
>
> Thanks,
> Anand