Re: TCP checksum?

From: Padraig Brady (padraig@antefacto.com)
Date: Thu Jun 13 2002 - 10:34:40 EST


Shipman, Jeffrey E wrote:
> I'm looking for a function similar to skb_checksum(), but
> for the tcphdr->check field. I'm playing around with a module
> I've written for netfilter and I would like to modify options of
> the IP and TCP headers. For example, right now I'm trying
> to set the destination IP to the source IP

I think there already is a module to do this?
Paull Russel (did I get the l's right :-)) mentioned
it at a talk in Ireland a couple of months ago.
There were fun and games when 2 machines with this
module we put back to back and it was noticed that the
ttl wasn't decremented :-P

Padraig.

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



This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:28 EST