From ecb9a6633e9e47aada8a1715daf3b4e7c75453b5 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 18 Nov 2021 09:16:57 -0500 Subject: [PATCH] Ignore common malformed dhcpv6 request --- confluent_server/confluent/discovery/protocols/pxe.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/confluent_server/confluent/discovery/protocols/pxe.py b/confluent_server/confluent/discovery/protocols/pxe.py index 4f65e9b7..d8c259f4 100644 --- a/confluent_server/confluent/discovery/protocols/pxe.py +++ b/confluent_server/confluent/discovery/protocols/pxe.py @@ -415,6 +415,9 @@ def process_dhcp6req(handler, rqv, addr, net, cfg, nodeguess): req['rqtype'] = bytearray(rqv[:1])[0] if not disco.get('uuid', None) or not disco.get('arch', None): return + if disco['uuid'] == '03000200-0400-0500-0006-000700080009': + # Ignore common malformed dhcpv6 request from firmware + return mac = neighutil.get_hwaddr(ip.split('%', 1)[0]) if not mac: net.sendto(b'\x00', addr)