RE: Entirely ignoring TCP and UDP checksum in kernel level

From: Josan Kadett
Date: Sun Aug 22 2004 - 01:07:37 EST



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...


-----Original Message-----
From: Brad Campbell [mailto:brad@xxxxxxxxxxx]
Sent: Sunday, August 22, 2004 8:01 AM
To: Josan Kadett
Cc: 'Chris Siebenmann'; linux-kernel@xxxxxxxxxxxxxxx
Subject: Re: Entirely ignoring TCP and UDP checksum in kernel level

Just a completely random thought. What about re-calculating the checksum and
correcting it when the
packet hits the IP layer prior to it being passed out to the relevant
protocol handlers?

Regards,
Brad


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