Subject: Re: [PATCH] ipv4/ipv6: check hop limit field on input

From: Nicolas Dichtel <[email-masked]>
Date: Mon, 01 Jun 2009 18:49:05 +0200

Le 01.06.2009 18:19, Florian Westphal a écrit :
> Nicolas Dichtel <[email-masked]> wrote:
>> when network stack receives a packet, it didn't check value of ttl/hop 
>> limit
>> field. RFC indicates that a router must drop the packet if this field is 0.
> 
> Whats wrong with the checks in ip(6)_forward?
It's on forward, not on input. Router must not process it.
For example, if you try to ping (with ttl set to 0) the router, you will receive 
a reply.

Nicolas