[Kea-users] [kea-dev] kea-dhcp6 ignoring DHCPv6 messages received on a tuntap interface

Templin, Fred L Fred.L.Templin at boeing.com
Mon Apr 25 15:47:13 UTC 2016


Hi All,

This turned out to be our bug - we had UDP checksum errors on the
DHCPv6 Solicits we are hand-crafting in our application. Fixed it, and
now kea is receiving and responding to the messages.

Thanks Francis for your help!

Fred

> -----Original Message-----
> From: Templin, Fred L
> Sent: Thursday, April 21, 2016 3:46 PM
> To: 'Francis Dupont' <fdupont at isc.org>
> Cc: kea-users at lists.isc.org; kea-dev at lists.isc.org; Benson, Michael W <michael.w.benson at boeing.com>
> Subject: RE: [kea-dev] [Kea-users] kea-dhcp6 ignoring DHCPv6 messages received on a tuntap interface
> 
> Hi Francis,
> 
> Are there instructions for strace'ing the server process? Even so, would that
> tell us anything that would help us find a solution? It is perplexing that we
> have gotten this working over tuntap interfaces in other application contexts
> but can't seem to get it working in this one.
> 
> Also, see attached for the packets in pcap form suitable for wireshark. The
> packets appear to be formed properly.
> 
> Thanks - Fred
> 
> > -----Original Message-----
> > From: Francis Dupont [mailto:fdupont at isc.org]
> > Sent: Thursday, April 21, 2016 3:34 PM
> > To: Templin, Fred L <Fred.L.Templin at boeing.com>
> > Cc: kea-users at lists.isc.org; kea-dev at lists.isc.org; Benson, Michael W <michael.w.benson at boeing.com>
> > Subject: Re: [kea-dev] [Kea-users] kea-dhcp6 ignoring DHCPv6 messages received on a tuntap interface
> >
> > As far as I know Kea used LPF for IPv4 (so it won't work with tun interfaces)
> > but IPv6 UDP fro IPv6 so it should work. IMHO you should add some fprintf's
> > in PktFilterInet6::receive to be sure packets are really received
> > (or if you don't want to recompile strace the server process).
> > And of course if you forgot flush the ip6table's...
> >
> > Regards
> >
> > Francis Dupont <fdupont at isc.org>




More information about the Kea-users mailing list