lkml.org 
[lkml]   [2004]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Entirely ignoring TCP and UDP checksum in kernel level
Josan Kadett wrote:
> That is certainly what I require but I need some guidelines; I investigated
> into the issue and fount out that;
>
> - By only changing the source address coded in the IP header
> - And by just applying checksum to IP header [Not TCP or UDP]
>
> The problem would be gone since when the source IP in the IP address field
> is validated, the checksum in the underlying protocol is automatically
> validated (because the sender system had already computed this CRC using the
> IP address which we want to write onto the packet)
>
> I do not have much time to build a code just for this purpose and thus I am
> looking for a simple app. or some other way...

So if we took any packet that came in from 192.168.1.1 and substituted 192.178.77.1 for the Source
address and then re-calculated the IP checksum you would be up and running?

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

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