tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: How do I keep an inet6 address from being added to an interface?
> I've often wanted such a feature: a way to ensure that NetBSD's
> kernel neither sends or acts on *any* packet received on certain
> interfaces.
I added a handful of interface flags to 1.4T, and one of them was
BPFONLY; when set, packet reception short-circuits everything after
bpf. Not quite what you want, because it affects input only.
The most difficult part was finding (and fixing) everything that
treated interface flags as a 16-bit bitmask; I can't believe it would
be all that hard to add to -current.
/~\ The ASCII Mouse
\ / Ribbon Campaign
X Against HTML mouse%rodents-montreal.org@localhost
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
Home |
Main Index |
Thread Index |
Old Index