📄 debugging.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><html lang="en"><head><title>Winsock Programmer's FAQ: Debugging Resources</title><link rel="Stylesheet" type="text/css" href="../faq.css"></head><body bgcolor="#ffffee" text="#000000" link="#491e00" vlink="#7d2e01" alink="#da7417"><!-- ---- Header Bar ---- --><table border="0" width="95%" bgcolor="#006000" cellpadding="5" cellspacing="3" align="center"> <tr> <td align="left" bgcolor="#e0e0c0"> <font size="2" face=Verdana,Arial,Helvetica> <b><a href="../resources/sdks.html"><<</a></b> </font> </td> <td align="center"> <font face=Verdana,Arial,Helvetica color="#ffffee"> <p align=center class=bigger3><b> Winsock Programmer's FAQ<br> Section 5.5: Debugging Resources<br> </b></p> </font> </td> <td align="right" bgcolor="#e0e0c0"> <font size="2" face=Verdana,Arial,Helvetica> <b><a href="../resources/misc.html">>></a></b> </font> </td> </tr></table><!-- ---- Body Table ---- --><table width="95%" border="0" cellpadding="10"> <tr valign="top"> <td><p>Please see the FAQ item <a href="../newbie.html#debugtools">"Arethere any tools available for debugging Winsock programs?"</a> for moreinformation on sniffers and shims.</p><p><b>Ratings:</b> Packages are rated on a simple 5-point system. Featuresand usablility are rated on the following scale:</p><table cellpadding=5 cellspacing=0 border=0> <tr> <td><img src="../bitmaps/dot-clear.gif" alt="" width=100 height=1></td> <td valign=top><b>5 points</b></td> <td>This is a wonderful product and you should waste no time getting it, if price permits.</td> </tr> <tr> <td> </td> <td valign=top><b>4 points</b></td> <td>Nearly perfect. Its features are competitive with others in its price class.</td> </tr> <tr> <td> </td> <td valign=top><b>3 points</b></td> <td>Adequate. This product may be mildly buggy, but it's tolerable. It does what the manual says it will, and it's reasonably usable.</td> </tr> <tr> <td> </td> <td valign=top><b>2 points</b></td> <td>Yick! This product is buggy, weak, and/or hard to use. Use only if there's no other choice.</td> </tr> <tr> <td> </td> <td valign=top><b>1 points</b></td> <td>This product is unusable. Stay away.</td> </tr></table> <p>Price also matters. A program with features comparable to higher-pricedprograms gets one extra point. So, a cheap program given 3 points on itsown merits would get an extra point if its features were comparable toa more expensive product.</p><p>If the "Date tried" field is "Long, long ago", the review may wellbe sadly outdated. I don't have any information on when I last triedthe product in question. One Day<sup><sup>TM</sup></sup>I'll get back to it.</p><h5>Ethernet Sniffers:</h5><ul><a name="Sniffer"></a><table cellspacing=0 cellpadding=5 border=0> <tr> <td valign=top><b>Package:</b></td> <td><a href="http://www.sniffer.com/asp_set/products/tnv/snifferbasic_intro.asp">Sniffer Basic </a></td> <tr> <tr> <td valign=top><b>Vendor:</b></td> <td>Network Associates, Inc.</td> </tr> <tr> <td valign=top><b>Platform(s):</b></td> <td>Win32</td> </tr> <tr> <td valign=top><b>User interface:</b></td> <td>GUI</td> </tr> <tr> <td valign=top><b>Price:</b></td> <td>$1000</td> </tr> <tr> <td valign=top><b>Licensing:</b></td> <td>Commercial</td> </tr> <tr> <td valign=top><b>Commentary:</b></td> <td>Sniffer Basic (neé NetXRay) is a fine commercial sniffer forWindows 95/98 and Windows NT/2000. It is very configurable, allows you towrite protocol decoder plugins for custom protocols, and has a very niceuser interface. Like all analyzers of its class, it can also generatereal-time traffic statistics, with alarms and such. If I had the cash,this is the product that I'd buy. </td> </tr> <tr> <td valign=top><b>Date tried:</b></td> <td>Long, long ago, version unknown</td> </tr> <tr> <td valign=top><b>Rating:</b></td> <td><img src="bitmaps/5socket.gif" alt="*" width=160 height=32></td> </tr></table><hr noshade size=1><a name="EtherPeek"></a><table cellspacing=0 cellpadding=5 border=0> <tr> <td valign=top><b>Package:</b></td> <td><a href="http://www.aggroup.com/products/etherpeek/">EtherPeek</a></td> <tr> <tr> <td valign=top><b>Vendor:</b></td> <td>The AG Group</td> </tr> <tr> <td valign=top><b>Platform(s):</b></td> <td>Win32, Macintosh</td> </tr> <tr> <td valign=top><b>User interface:</b></td> <td>GUI</td> </tr> <tr> <td valign=top><b>Price:</b></td> <td>$900</td> </tr> <tr> <td valign=top><b>Licensing:</b></td> <td>Commercial</td> </tr> <tr> <td valign=top><b>Commentary:</b></td> <td>EtherPeek is similar in functionality to Sniffer Basic, though havingplayed with their demo some, I found that I liked Sniffer Basicbetter. Still, it is a bit cheaper, support is not an extra like it iswith Sniffer, and it runs on more platforms. </td> </tr> <tr> <td valign=top><b>Date tried:</b></td> <td>Long, long ago, version unknown</td> </tr> <tr> <td valign=top><b>Rating:</b></td> <td><img src="bitmaps/4socket.gif" alt="*" width=128 height=32></td> </tr></table><hr noshade size=1><a name="Observer"></a><table cellspacing=0 cellpadding=5 border=0> <tr> <td valign=top><b>Package:</b></td> <td><a href="http://www.networkinstruments.com/html/observer_resource_center.html">Observer</a></td> <tr> <tr> <td valign=top><b>Vendor:</b></td> <td>Network Instruments</td> </tr> <tr> <td valign=top><b>Platform(s):</b></td> <td>Win32</td> </tr> <tr> <td valign=top><b>User interface:</b></td> <td>GUI</td> </tr> <tr> <td valign=top><b>Price:</b></td> <td>$1000</td> </tr> <tr> <td valign=top><b>Licensing:</b></td> <td>Commercial</td> </tr> <tr> <td valign=top><b>Commentary:</b></td> <td>Observer is one of the "big boys" of network monitoring tools. However,between my initial passing review and a few reviews I've read inmagazines, this package does not look as though it will dethrone themore popular packages any time soon. </td> </tr> <tr> <td valign=top><b>Date tried:</b></td> <td>Long, long ago, version unknown</td> </tr> <tr> <td valign=top><b>Rating:</b></td> <td><img src="bitmaps/3socket.gif" alt="*" width=96 height=32></td> </tr></table><hr noshade size=1><a name="NetBoy"></a><table cellspacing=0 cellpadding=5 border=0> <tr> <td valign=top><b>Package:</b></td> <td><a href="http://www.ndgsoftware.com/">NetBoy Suite</a></td> <tr> <tr> <td valign=top><b>Vendor:</b></td> <td>NDG Software</td> </tr> <tr> <td valign=top><b>Platform(s):</b></td> <td>Win32</td> </tr> <tr> <td valign=top><b>User interface:</b></td> <td>GUI</td> </tr> <tr> <td valign=top><b>Price:</b></td> <td>$1300</td> </tr> <tr> <td valign=top><b>Licensing:</b></td> <td>Commercial</td> </tr> <tr> <td valign=top><b>Commentary:</b></td> <td>A few years ago when I tried PacketBoy 1.0<img src="../bitmaps/waist-dot.gif" alt="--" width=14 height=6 hspace=2>the sniffer component ofthe suite<img src="../bitmaps/waist-dot.gif" alt="--" width=14 height=6 hspace=2>it was essentially unusable. I've tried it twice sincethen (versions 1.44 and 1.5) and although it is now usable, it stillhas some bugs that should have been eradicated by now. (I crashed 1.5hard after just five minutes of playing with it!) Be sure to downloada demo copy before you commit to buying it!<img src="../bitmaps/dot-clear.gif" alt="" width=1 height=30 align=top> <br clear=all>This package gets another ding due to price. You used to be able to getjust the packet sniffer for about $400, but now you must get the wholesuite, making it more expensive than the big boys above. Unless you justgotta have their pretty network graphing modules, give this one a miss.You can get a better sniffer for free these days. </td> </tr> <tr> <td valign=top><b>Date tried:</b></td> <td>4/23/2000, version 1.5</td> </tr> <tr> <td valign=top><b>Rating:</b></td> <td><img src="bitmaps/2socket.gif" alt="*" width=64 height=32></td> </tr></table><hr noshade size=1><a name="NetSniffer"></a><table cellspacing=0 cellpadding=5 border=0> <tr> <td valign=top><b>Package:</b></td> <td><a href="http://www.assert.ee/netsniffer/">NetSniffer</a></td> <tr> <tr> <td valign=top><b>Author:</b></td> <td>A. Kaasik and T. Uudisaru</td> </tr> <tr> <td valign=top><b>Platform(s):</b></td> <td>Windows NT 4.0</td> </tr> <tr> <td valign=top><b>User interface:</b></td> <td>GUI</td> </tr> <tr> <td valign=top><b>Price:</b></td> <td>$100</td> </tr> <tr> <td valign=top><b>Licensing:</b></td> <td>Shareware</td> </tr> <tr> <td valign=top><b>Commentary:</b></td> <td>When I tried this package last, it was a workable but quirky program.The author says it works better now. Given the price, it's worthlooking into. </td> </tr> <tr> <td valign=top><b>Date tried:</b></td> <td>July 31, 1998, version 1.0</td> </tr> <tr> <td valign=top><b>Rating:</b></td> <td><img src="bitmaps/3socket.gif" alt="*" width=96 height=32></td> </tr></table><hr noshade size=1><a name="Gobbler"></a><table cellspacing=0 cellpadding=5 border=0> <tr> <td valign=top><b>Package:</b></td> <td><a href="http://www.umich.edu/~archive/msdos/communications/wattcp/delft/gobbler.zip">The Gobbler</a></td> <tr> <tr> <td valign=top><b>Author:</b></td> <td>Tirza van Rijn, University of Delft, The Netherlands</td> </tr> <tr> <td valign=top><b>Platform(s):</b></td> <td>DOS</td> </tr> <tr> <td valign=top><b>User interface:</b></td> <td>Text graphics</td> </tr> <tr> <td valign=top><b>Licensing:</b></td> <td>Freeware</td> </tr> <tr> <td valign=top><b>Commentary:</b></td> <td>The Gobbler is perhaps the best freeware DOS Ethernet sniffer. It hasa few quirks, but it's fairly featureful. It can decode the Ethernet,IP, TCP and UDP layers, as well as a few low-level protocols like ARPand ICMP. The interface is notable because it's surprisingly easy toquickly browse a dump looking for interesting packets<img src="../bitmaps/waist-dot.gif" alt="--" width=14 height=6 hspace=2>manyother sniffers's interfaces make it harder to maneuver, so you spendmore time fighting the tool than thinking about the data. The <a href="ftp://ftp.cdrom.com/pub/simtelnet/msdos/lan/frgsrc2.zip">source code</a>is available, so in theory you could extend it to your own needs, though Idon't know if this is easy to do.<img src="../bitmaps/dot-clear.gif" alt="" width=1 height=30 align=top> <br clear=all>If you can't afford a commercial sniffer and have a DOS box you candedicate to sniffing, this is the one I'd recommend you get. </td> </tr> <tr> <td valign=top><b>Date tried:</b></td> <td>"Long, long ago", version 2.1</td> </tr> <tr> <td valign=top><b>Rating:</b></td> <td><img src="bitmaps/4socket.gif" alt="*" width=128 height=32></td> </tr></table><hr noshade size=1><a name="Snooper"></a><table cellspacing=0 cellpadding=5 border=0> <tr> <td valign=top><b>Package:</b></td> <td><a href="http://www.crynwr.com/ep.html">Snooper</a></td> <tr> <tr> <td valign=top><b>Vendor:</b></td> <td>Crynwr</td> </tr> <tr> <td valign=top><b>Platform(s):</b></td> <td>DOS and Linux</td> </tr> <tr> <td valign=top><b>User interface:</b></td> <td>Text graphics</td> </tr> <tr> <td valign=top><b>Price:</b></td> <td>$350</td> </tr> <tr> <td valign=top><b>Licensing:</b></td> <td>Commercial</td> </tr> <tr> <td valign=top><b>Commentary:</b></td> <td>Of the "payware" DOS sniffers, this one is the best, because it has aclean interface that makes it easy to quickly read a packet dump. Theother commercial DOS sniffers require significantly more futzing around:move to next packet, re-adjust window to see the part of the packet youwant, move to next packet.... <img src="../bitmaps/dot-clear.gif" alt="" width=1 height=30 align=top> <br clear=all>Snooper's gets additional points because it comes with source code. Crynwractively hypes the source code as a way to add custom protocol decoders,so it should be straightforward.<img src="../bitmaps/dot-clear.gif" alt="" width=1 height=30 align=top> <br clear=all>Crynwr also offers a similar product called EtherProbe, but it is moreoriented towards network management and costs more than Snooper: $995without source, $1495 with source.<img src="../bitmaps/dot-clear.gif" alt="" width=1 height=30 align=top> <br clear=all>The demo version is limited to five seconds of continuous packet capturingwhich makes it a bit hard to evaluate. </td> </tr> <tr> <td valign=top><b>Date tried:</b></td> <td>Long, long ago, version unknown</td> </tr> <tr> <td valign=top><b>Rating:</b></td> <td><img src="bitmaps/4socket.gif" alt="*" width=128 height=32></td> </tr></table><hr noshade size=1><a name="PacketView"></a><table cellspacing=0 cellpadding=5 border=0> <tr> <td valign=top><b>Package:</b></td> <td><a href="http://www.klos.com/">PacketView</a></td> <tr> <tr> <td valign=top><b>Vendor:</b></td> <td>Klos Technologies</td> </tr> <tr> <td valign=top><b>Platform(s):</b></td> <td>DOS</td> </tr> <tr> <td valign=top><b>User interface:</b></td> <td>Text graphics</td> </tr> <tr> <td valign=top><b>Price:</b></td> <td>$300</td> </tr> <tr> <td valign=top><b>Licensing:</b></td> <td>Commercial</td> </tr> <tr> <td valign=top><b>Commentary:</b></td> <td>PacketView is similar to <a href="#Snooper">Snooper</a>, but it doesnot come with source code. Also, its interface and online help seem
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -