1 Jul 2008 06:04
inquiry on variable insertion on tcpdump code
Ignacio, Domingo Jr Ostria - igndo001 <DomingoJr.Ignacio <at> postgrads.unisa.edu.au>
2008-07-01 04:04:20 GMT
2008-07-01 04:04:20 GMT
Hello everyone, Good day! I am using tcpdump in my linux system to sniff and capture tcp packet headers. I inserted a new variable, srtt, into the print_tcp.h header file and tcp.c source code. I want to print/output/capture the inserted variable srtt into the tcp packet headers once I run tcpdump. Any idea on how to go about this? However, once I run tcpdump with all the changes I made (of course, after configuring and making) and I got an error: Bad header length and <bad opt>, header length too short<20. I tried to increase the snap length to 1514 but I still got the same errors. What seems to be the problem, anyone? Thanks! (Command: tcpdump tcp -nvvvs 1514 -i eth0) Also, I cannot see the inserted srtt variable in the tcpdump trace files. Any idea on these guys? Help would be appreciated. Cheers, Dom(Continue reading)
RSS Feed