Re: Layer-2 filtering in NPF

Mouse <[email protected]> Sat, 5 Jul 2025 07:13:20 -0400 (EDT)
Newsgroups gmane.os.netbsd.devel.network
Message-ID <[email protected]>
>>    pass in proto udp to any port 11000-11002

> i just removed the scanner rule for hyphen-sperated Mac addresses.

Or maybe make the lexer recognize such things only when they contain at
least two hyphens?  I don't think I've ever seen a MAC written with
hyphens but containing only one; they've been either six octets and
five dashes or three hextets and two dashes.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		[email protected]
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B