lkml.org 
[lkml]   [2000]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: IP changes in 2.3.4x make things wierd?
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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.062 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site