Tapset for TCP

Breno Leitao leitao@linux.vnet.ibm.com
Fri Mar 13 20:37:00 GMT 2009


Guys, 

I created a tapset for TCP incoming packets, and I hope it's helpful to the
project.  Until now, it probes when the kernel receives a TCP packets,
and expose the following values: 

IP SRC address
IP DST address
IP TTL
IP CHECKSUM

TCP SRC PORT
TCP DST PORT
TCP SEQ NUMBER
TCP SEQ ACK NUMBER
TCP CHECKSUM

An example is also attached. 

I have plan to create another probe for TCP output packets and integrate
in the same file.  As soon as I finish the output part, I'll also send
it you. 

So, I am sharing these files now, in order to receive some feedback and
improve the code quality. 


Thanks
Breno
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: example.stp
URL: <http://sourceware.org/pipermail/systemtap/attachments/20090313/0ab64906/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tcp.stp
URL: <http://sourceware.org/pipermail/systemtap/attachments/20090313/0ab64906/attachment-0001.ksh>


More information about the Systemtap mailing list