On Thu, 2008-09-04 at 09:19 -0400, James Carlson wrote: > When receiving packets set to a "real" (non-loopback) IP address, we > should discard those packets with a bogus source -- including loopback > and multicast. It's one of the implications of RFC 1122 section > 3.2.1.3(g). > > When sending packets on socket bound to the loopback address, I think > we should refuse (ENETUNREACH) to send to any non-loopback > destination. > > That sounds like a pair of bugs to me.
I agree, and the nice outcome of fixing these bugs is the removal of some tests cases as opposed to more hackery in the ip module to support these weird cases for IP observability. :-) -Seb _______________________________________________ networking-discuss mailing list [email protected]
