fielding 98/10/09 16:09:18
Modified: . debugging.html
Log:
Add brief notes about getting and analyzing a TCP packet trace.
This is the last of my remembered tips, so feel free to add stuff
if you have any more.
Revision Changes Path
1.7 +21 -3 apache-devsite/debugging.html
Index: debugging.html
===================================================================
RCS file: /export/home/cvs/apache-devsite/debugging.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- debugging.html 1998/10/09 22:14:05 1.6
+++ debugging.html 1998/10/09 23:09:17 1.7
@@ -14,9 +14,8 @@
<H1>Apache Debugging Guide</H1>
-<P>This document is a collection of semi-random and unorganized notes
-regarding tools and techniques for debugging Apache, and Apache
-modules.
+<P>This document is a collection of notes regarding tools and techniques
+for debugging Apache and Apache modules.
<OL>
<LI><A HREF="#gdb">Using '<CODE>gdb</CODE>'</A>
@@ -24,6 +23,7 @@
<LI><A HREF="#truss">Using '<CODE>truss/trace/strace</CODE>' to
trace system calls and signals</A>
<LI><A HREF="#gcore">Getting the server to dump core</A>
+<LI><A HREF="#tcpdump">Getting and analyzing a TCP packet trace</A>
</OL>
<HR>
@@ -275,6 +275,24 @@
and then look at the backtrace as discussed above for <a href="#gdb">gdb</a>.
<P>
+
+<HR>
+
+<H3><A NAME="tcpdump">Getting and analyzing a TCP packet trace</A></H3>
+
+<P>
+This is more difficult than I have time to describe at the moment.
+Here are some pointers to useful discussions and tools:
+<UL>
+<LI><a href="http://jarok.cs.ohiou.edu/software/tcptrace/pcap.html">tools for
+ producing TCP dumps</a>
+<LI><a href="http://jarok.cs.ohiou.edu/software/tcptrace/tcptrace.html">
+ tcptrace</a> is a TCP dump file analysis tool
+<LI><a href="http://HTTP.CS.Berkeley.EDU/~daw/mike/">tcpshow</a> is another
+</UL>
+There is also a simple ASCII viewer for TCP dump traces in the Apache
+repository in the file
+<CODE><a
href="http://www.apache.org/websrc/cvsweb.cgi/apache-1.3/src/test/tcpdumpscii.txt">src/test/tcpdumpscii.txt</a></CODE>.
<HR>