Re: [tcpdump-workers] Capturing a "clean" TCP stream

2007-05-20 Thread Aaron Turner
On 5/18/07, Guy Harris <[EMAIL PROTECTED]> wrote: On May 18, 2007, at 7:09 AM, Alexandros Karypidis wrote: > I am writing a program that is intended to monitor the requests made > to > a server from various clients. I am using libpcap to capture all > packets directed to the server's IP and nee

Re: [tcpdump-workers] Capturing a "clean" TCP stream

2007-05-19 Thread Sivakumar Ramagopal
Maybe you could try using Ethereal's libraries. I think it can group TCP connections (conversations in Ethereal's terminology) which might be of use to you. Regards, Shiva > Hi, > > I'm a new user of libpcap. > > I am writing a program that is intended to monitor the requests made to > a server f

Re: [tcpdump-workers] Capturing a "clean" TCP stream

2007-05-19 Thread Gregor Maier
Guy Harris wrote: > On May 18, 2007, at 7:09 AM, Alexandros Karypidis wrote: > >> [TCP Reassembly w/ TCP ACK/SEQ numbers] > > Perhaps I'm missing something, but I can't think of a better approach, > other than "use a library that does that work for you, if it exists" (or > steal code from an appl

Re: [tcpdump-workers] Capturing a "clean" TCP stream

2007-05-18 Thread Guy Harris
On May 18, 2007, at 7:09 AM, Alexandros Karypidis wrote: I am writing a program that is intended to monitor the requests made to a server from various clients. I am using libpcap to capture all packets directed to the server's IP and need to parse the _payload_ of the TCP stream (i.e. isolate

[tcpdump-workers] Capturing a "clean" TCP stream

2007-05-18 Thread Alexandros Karypidis
Hi, I'm a new user of libpcap. I am writing a program that is intended to monitor the requests made to a server from various clients. I am using libpcap to capture all packets directed to the server's IP and need to parse the _payload_ of the TCP stream (i.e. isolate the application protocol m