lkml.org 
[lkml]   [1999]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Help on TCP hack
On Fri, 13 Aug 1999, Koushik Chakraborty wrote:

> Hi,
> I have a router with IP forwarding ON. But I need all the packets coming
> in through ip_rcv() to pass through the TCP stack where I need to see the
> Application level data stream after TCP has done away with sequence
> numbering and stuffs like that(i.e, so that I get a coherent data ..
> without any duplicate and out-of -order data ). Can anybody suggest what
> functions to invoke and where .. I am pretty much new in the linux-kernel
> world and a bit lost!
>
What do you want to happen if there are two simultaneous TCP connections?
Should you get the data from the two connections mixed up, in the order
the packets are acked? If you want totally coherent data, you'd have to
wait until the connection was closed, then read it all.

Either way, it is do-able from user-space, although it might be easier
with a kernel hook somewhere.

--
Mike <rickettm@ox.compsoc.net>

A friend of mine won't get a divorce, because he hates lawyers more than he
hates his wife.


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

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