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:
> Well, the device fails only in one type of operation, that is when it has to
> receive packets from an internal port, it sends packets via its external IP
> address.
>
> I have managed to disable IP header checksumming by hacking the kernel (in
> file ip_input.c). Now I have to do the same for tcp_input.c and udp.c .
> Packet mangling will not be required because when I turn the rp_filter off,
> the kernel does not care whether it is coming from the intended source or
> not.
>

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@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.119 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site