Results 1 to 1 of 1
Hi,
I am writing a module for tcptrace in Fedora Linux ...I want to extract payload from the tcp packet and later search few bytes in it...
I have extracted ...
- 07-22-2007 #1Just Joined!
- Join Date
- Feb 2007
- Posts
- 31
need to extract payload from the tcp packet
Hi,
I am writing a module for tcptrace in Fedora Linux ...I want to extract payload from the tcp packet and later search few bytes in it...
I have extracted the tcpheader through follwing code..
struct tcphdr *ptcp = (struct tcphdr *) ((char *)pip + 4*IP_HL(pip));
Is there any function or anything which I can use to extract payload and also how I can search the bytes in the payload ..any linux function or any suggestions how I can do that...


Reply With Quote