Bug#815793: IPv6 code ignores unsolicited router advertisements

Martin Pitt mpitt at debian.org
Wed Jul 6 07:57:43 BST 2016


Control: reopen -1
Control: tag -1 moreinfo

Hello Marc,

while we reverted the change in 229, we don't want to carry the
reversion forever. Also, some problems were fixed already in 230, like
[1]. I forwarded this upstream to
https://github.com/systemd/systemd/issues/3663, and will now play
relay :-)

Marc Haber [2016-02-24 15:01 +0100]:
> systemd 229 seems to ignore unsolicited router advertisements. This
> breaks, for example, prefix changes. And it prevents the self-healing
> characteristics of lost router solicitations.
> 
> tcpdump logs this:
> 14:41:40.062484 7e:79:61:31:55:28 > 33:33:00:00:00:01, ethertype IPv6 (0x86dd), length 294: fe80::1 > ff02::1: ICMP6, router advertisement, length 240

Do you have some instructions how this can be reproduced? It sounds
like it should be possible to test this using a veth pair, possibly a
dnsmasq on one end, and some ip commands. Then I'd like to write a
test case for [2].

If this is hardware specific, can you please try this with 230 with
the patch reverted? I build packages for amd64 here:
https://people.debian.org/~mpitt/tmp/systemd-userspace-ndisc/
(there's also a Packages.gz so this can be used as an apt deb line)
There were a lot of changes to the RA handling in 230.

If it still happens, can you please run it in debugging mode with

  systemd-analyze set-log-level debug
  systemctl restart systemd-networkd

then reproduce the bug, and finally

  systemd-analyze set-log-level info
  journalctl -u systemd-networkd.service > /tmp/networkd.log

and append the log file here?

Thanks!

[1] https://github.com/systemd/systemd/issues/2572
[2] https://github.com/systemd/systemd/blob/master/test/networkd-test.py
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)



More information about the Pkg-systemd-maintainers mailing list