Hi all,

On my machine running -current/amd64, inet6 autoconfprivacy seems to
broke neighbor sol/adv.

For this test, PF is disabled.

This is my setup:
mattieu@kronenbourg: ~ $ ifconfig re0
re0: flags=48843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,INET6_PRIVACY> mtu 1500
        lladdr 48:5b:39:46:e1:d5
        priority: 0
        groups: egress
        media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause)
        status: active
        inet 192.168.1.24 netmask 0xffffff00 broadcast 192.168.1.255
        inet6 fe80::4a5b:39ff:fe46:e1d5%re0 prefixlen 64 scopeid 0x1
        inet6 2001:470:d11c:1:f415:646b:fb75:9981 prefixlen 64
autoconf autoconfprivacy pltime 85728 vltime 604598

When I ping the local gateway on my LAN, nothing happens
mattieu@kronenbourg: ~ $ ping6 2001:470:d11c:1::1
PING6(56=40+8+8 bytes) 2001:470:d11c:1:f415:646b:fb75:9981 -->
2001:470:d11c:1::1
<NO RESPONSES>

I have ICMPv6 neighbor sol/adv:
mattieu@kronenbourg: ~ $ sudo tcpdump -vvv -ni re0 icmp6
tcpdump: listening on re0, link-type EN10MB
tcpdump: WARNING: compensating for unaligned libpcap packets
23:42:36.787226 2001:470:d11c:1:f415:646b:fb75:9981 >
ff02::1:ffd0:5a26: icmp6: neighbor sol: who has
fe80::fce1:baff:fed0:5a26(src lladdr: 48:5b:39:46:e1:d5) (len 32, hlim
255)
23:42:36.787625 2001:470:d11c:1::1 >
2001:470:d11c:1:f415:646b:fb75:9981: icmp6: neighbor adv: tgt is
fe80::fce1:baff:fed0:5a26(RSO)(tgt lladdr: fe:e1:ba:d0:5a:26) (len 32,
hlim 255)
23:42:37.354160 2001:470:d11c:1::1 >
2001:470:d11c:1:f415:646b:fb75:9981: icmp6: neighbor sol: who has
2001:470:d11c:1:f415:646b:fb75:9981(src lladdr: fe:e1:ba:d0:5a:26)
(len 32, hlim 255)
23:42:37.785319 2001:470:d11c:1:f415:646b:fb75:9981 >
ff02::1:ffd0:5a26: icmp6: neighbor sol: who has
fe80::fce1:baff:fed0:5a26(src lladdr: 48:5b:39:46:e1:d5) (len 32, hlim
255)
23:42:37.785695 2001:470:d11c:1::1 >
2001:470:d11c:1:f415:646b:fb75:9981: icmp6: neighbor adv: tgt is
fe80::fce1:baff:fed0:5a26(RSO)(tgt lladdr: fe:e1:ba:d0:5a:26) (len 32,
hlim 255)

But the NDP table is *incomplete* concerning this host
(fe80::fce1:baff:fed0:5a26%re0):
mattieu@kronenbourg: ~ $ ndp -a
Neighbor                             Linklayer Address  Netif Expire    S Flags
2001:470:d11c:1:f415:646b:fb75:9981  48:5b:39:46:e1:d5    re0 permanent R
fe80::4a5b:39ff:fe46:e1d5%re0        48:5b:39:46:e1:d5    re0 permanent R
fe80::fce1:baff:fed0:5a26%re0        (incomplete)         re0 1s        I  3
fe80::1%lo0                          (incomplete)         lo0 permanent R


When autoconfprivacy is disabled, everything is working fine.

-- 
Mattieu Baptiste
"/earth is 102% full ... please delete anyone you can."

Reply via email to