[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090601.190228.75178984.davem@davemloft.net>
Date: Mon, 01 Jun 2009 19:02:28 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: john.dykstra1@...il.com
Cc: brian.haley@...com, dada1@...mosbay.com, nicolas.dichtel@...nd.com,
fw@...len.de, netdev@...r.kernel.org
Subject: Re: [PATCH] ipv4/ipv6: check hop limit field on input
From: John Dykstra <john.dykstra1@...il.com>
Date: Mon, 01 Jun 2009 20:54:06 -0500
> On Mon, 2009-06-01 at 14:55 -0400, Brian Haley wrote:
>> I don't know if that difference
>> in behavior is desired. Do we know how any other OSes behave?
>
> FWIW, the random BSD flavors I have on hand all check hop limit when
> forwarding, but not when processing local ingress traffic.
>
> Also FWIW, as I remember, the TAHI tests only check hop limit behavior
> on forwarded traffic.
And this is the behavior that makes the most sense to me.
The local system is "accounted for" in the hop limit by the previous
hop system. No other behavior makes any sense.
And I even remember there are applications that use multicast and
a hop limit of zero explicitly to keep application traffic only on
the local subnet. So any change like that proposed could break
things.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists