Re: IP changes in 2.3.4x make things wierd?

From: Andi Kleen (ak@suse.de)
Date: Mon Feb 21 2000 - 08:46:14 EST


On Mon, Feb 21, 2000 at 03:17:57PM +0100, almesber@lrc.di.epfl.ch wrote:
> Andi Kleen wrote:
> > Save the current IPID counter when the socket is created. Ignore the ICMP
> > when the ID is older than the socket or wrapped. This gives an "ICMP window"
> > of 2^31 packets, which should be more than enough.
>
> 1) iph->id is 16 bits.
> 2) see net/ipv4/route.c:__ip_select_ident and friends (2.3.39 or such)

Sorry, I meant to write 16bits of course, silly me.
The window should be big enough, because it is a per packet count.

Assuming 40 bytes minimum packets you could have a ~2.5MB "error window"
outstanding, when you use bigger packet sizes on average much more.

Regarding (2), I'm aware of the way inetpeer id selection works in 2.3.
Do you have any other point?

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:27 EST