From a328123357f07db4d2a75d1ea2dbc946ecc9f95c Mon Sep 17 00:00:00 2001 From: Markus Hilger Date: Wed, 18 Nov 2026 13:06:14 +0100 Subject: [PATCH] Ignore DHCPv6 requests sent to another server A client sends its Request to the server whose Advertise it picked, named by the server identifier. confluent answered every Request, so with several DHCPv6 servers on the segment, such as the members of a collective, all of them replied to it. --- confluent_server/confluent/discovery/protocols/pxe.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/confluent_server/confluent/discovery/protocols/pxe.py b/confluent_server/confluent/discovery/protocols/pxe.py index 443e1d4d..02616ff3 100644 --- a/confluent_server/confluent/discovery/protocols/pxe.py +++ b/confluent_server/confluent/discovery/protocols/pxe.py @@ -483,6 +483,8 @@ async def process_dhcp6req(handler, rqv, addr, net, cfg, nodeguess): req, disco = v6opts_to_dict(bytearray(rqv[4:])) req['txid'] = rqv[1:4] req['rqtype'] = bytearray(rqv[:1])[0] + if req['rqtype'] == 3 and req.get(2, b'') != b'\x00\x04' + get_my_duid(): + return # request for another server if not disco.get('uuid', None) or not disco.get('arch', None): return if disco['uuid'] == '03000200-0400-0500-0006-000700080009':