Go to file
sommerfeld c2accd9f9c In ip_forward():
Avoid forwarding ip unicast packets which were contained inside
link-level multicast packets; having M_MCAST still set in the packet
header flags will mean that the packet will get multicast to a bogus
group instead of unicast to the next hop.

Malformed packets like this have occasionally been spotted "in the
wild" on a mediaone cable modem segment which also had multiple netbsd
machines running as router/NAT boxes.

Without this, any subnet with multiple netbsd routers receiving all
multicasts will generate a packet storm on receipt of such a
multicast.  Note that we already do the same check here for link-level
broadcasts; ip6_forward already does this as well.

Note that multicast forwarding does not go through ip_forward().

Adding some code to if_ethersubr to sanity check link-level
vs. ip-level multicast addresses might also be worthwhile.
1999-10-17 16:00:00 +00:00
bin command(): don't start using procfs_getargv() instead of kvm_getargv() 1999-10-15 20:39:52 +00:00
distrib Use -f ${DESTDIR}/etc/disktab to find the disktab, so that we can build 1999-10-14 17:46:26 +00:00
etc Add com device. 1999-10-15 12:26:07 +00:00
games update after change to return value of tputs() third argument 1999-10-04 23:26:59 +00:00
gnu Add explicit dependency on arparse.h, so it can appear timely. 1999-10-10 13:02:32 +00:00
include 1003.1c: add {LOGIN_NAME_MAX}. 1999-09-27 16:24:39 +00:00
lib when loading all locale categories (called with LC_ALL), ignore if 1999-10-15 17:17:07 +00:00
libexec Don't complain that we can't fstat the Ifile, if it's because the filesystem 1999-10-07 18:26:58 +00:00
regress Add "popen" sub directory. 1999-09-30 09:29:11 +00:00
sbin Fix typo. ('_i386__' -> '__i386__') 1999-10-12 00:36:17 +00:00
share Fixed typos (mostly from OpenBSD) 1999-10-16 20:17:29 +00:00
sys In ip_forward(): 1999-10-17 16:00:00 +00:00
usr.bin * fix up confirm() (broke `a' and `p' in last commit) 1999-10-13 02:47:54 +00:00
usr.sbin Fix arguments to printf string. Was causing a crash on out of range mtu settings. 1999-10-14 18:29:02 +00:00
Makefile use new dependall target instead of depend then all in make build 1999-09-14 01:32:43 +00:00