On 04/01/17 23:48, Ledochowski, Roy wrote:
I'll check the Kea docs for that, thank you.  Any idea why the NIC  ROM doesn't 
seem to have a problem and iPXE does?

The NIC ROM has a much simpler IPv4 stack that probably fails to filter out some packets that should be rejected.

Try the attached patch, and please let me know if it works.

Thanks,

Michael
diff --git a/src/net/ipv4.c b/src/net/ipv4.c
index b4148d8..b9ce5e7 100644
--- a/src/net/ipv4.c
+++ b/src/net/ipv4.c
@@ -552,6 +552,7 @@ static int ipv4_rx ( struct io_buffer *iobuf,
 
 	/* Discard unicast packets not destined for us */
 	if ( ( ! ( flags & LL_MULTICAST ) ) &&
+	     ( iphdr->dest.s_addr != INADDR_BROADCAST ) &&
 	     ipv4_has_any_addr ( netdev ) &&
 	     ( ! ipv4_has_addr ( netdev, iphdr->dest ) ) ) {
 		DBGC ( iphdr->src, "IPv4 discarding non-local unicast packet "
_______________________________________________
ipxe-devel mailing list
[email protected]
https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel

Reply via email to