[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100815204350.4amjt1lngg0s0048@webmail.dartmouth.edu>
Date: Sun, 15 Aug 2010 20:43:50 -0400
From: Morgon.J.Kanter@...tmouth.edu
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: netdev@...r.kernel.org
Subject: Re: PROBLEM: raw sockets rewriting IP ID in rare cases.
Quoting Eric Dumazet <eric.dumazet@...il.com>:
> Le dimanche 15 août 2010 à 13:13 -0700, David Miller a écrit :
>> From: Morgon.J.Kanter@...tmouth.edu
>> Date: Sun, 15 Aug 2010 13:57:41 -0400
>>
>> > Is there a way to turn this behavior off, then, with raw sockets? Zero
>> > is the desired ID value.
>>
>> No, there isn't.
>
> Just a note about IP_DF (Dont Fragment) bit.
>
> If set, ID stay 0.
>
> Not sure it can help Morgon.
>
> Jiri Olsa added IP_NODEFRAG option some weeks ago (commit 7b2ff18e),
> we probably could implement IP_NOIDENT option for RAW sockets ?
Thanks for the information. I was thinking of adding it in as a socket
option as well, similar to that one you pointed out -- but seeing that
makes me wonder, perhaps an "as-is" option would be more appropriate,
instead of a different option for each field you want to leave as-is?
Thanks,
-- Morgon
--
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