[Bug 269294] net/dhcp6: fails to receive information response from NSD-G1000T router

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 03 Feb 2023 01:37:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269294

            Bug ID: 269294
           Summary: net/dhcp6: fails to receive information response from
                    NSD-G1000T router
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: hrs@FreeBSD.org
          Reporter: naito.yuichiro@gmail.com
             Flags: maintainer-feedback?(hrs@FreeBSD.org)
          Assignee: hrs@FreeBSD.org

I'm using NSD-G1000T router for my home network.
It's rented from NURO internet service in Japan.

When I use net/dhcp6 to get informational DNS server address by following
command line,
net/dhcp6 always fails as follows.

```
# dhcp6c -d -i -f ix0
Feb/03/2023 10:26:32: Sending Information Request
Feb/03/2023 10:26:32: unsupported authentication protocol: 1
Feb/03/2023 10:26:32: failed to parse options
```

DHCP6 packets are shown as follows.

```
# tcpdump -vvv -n -i ix0 port dhcpv6-client
tcpdump: listening on ix0, link-type EN10MB (Ethernet), capture size 262144
byte
s
10:26:32.595885 IP6 (hlim 1, next-header UDP (17) payload length: 36)
fe80::8261
:5fff:fe0e:c656.546 > ff02::1:2.547: [bad udp cksum 0xa482 -> 0xc5cd!] dhcp6
inf-req (xid=ae72d9 (client-ID hwaddr/time type 1 time 630637321 80ee73ba355b)
(elapsed-time 0))
10:26:32.596591 IP6 (hlim 64, next-header UDP (17) payload length: 104)
fe80::f623:9cff:fed3:5d30.51858 > fe80::8261:5fff:fe0e:c656.546: [udp sum ok]
dhcp6 reply (xid=ae72d9 (client-ID hwaddr/time type 1 time 630637321
80ee73ba355b) (server-ID hwaddr type 1 f4239cd35d30) (DNS-server
240d:1a:12a:4e00:f623:9cff:fed3:5d30) (lifetime 86400) (authentication proto:
reconfigure, alg: HMAC-MD5, RDM: mono, RD: c862 dc63 0000 0000 reconfig-key
value: 3637434b 626e5242 356e4a41 3371514e))
```

net/dhcp6 version is dhcp6-20080615.2_3.

```
# pkg info -x dhcp6
dhcp6-20080615.2_3
```

For now, isc-dhcp44-client works for my home router.

-- 
You are receiving this mail because:
You are the assignee for the bug.