Subject: Re: a remote user can check promiscuous mode
To: None <tech-net@netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-net
Date: 01/18/2000 13:30:02
> Date: Sat, 11 Dec 1999 04:05:40 -0500

(Sigh.)

> wouldn't it be relatively simple (although a probably little
> top-heavy) to add a few lines of code to ether_input() to check the
> dst hardware address vs the interface address on which the packet
> arrived if the dst hardware address is *not* multi/broadcast?

At least one of the Ethernet drivers does this already; see
dev/ic/lance.c, around line 500 of rev 1.9.

					der Mouse

			       mouse@rodents.montreal.qc.ca
		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B