Install Network Monitor
- In Control Panel, double-click Add/Remove Programs, and then click Add/Remove Windows Components.
- In the Windows Components wizard, select Management and Monitoring Tools, and then click Details.
- In the Management and Monitoring Tools window, select Network Monitor Tools. Click OK, click Next, and then click Finish.
Set Network Monitor and Set Capture Filter
- On the Start menu, click Programs, then click Administrative Tools, and then click Network Monitor.
- On the Network Monitor Capture menu, click Filter.
- In the Capture Filter dialog box, select SAP/ETYPE = Any SAP or Any ETYPE and then click Edit.
- Click Disable All to remove all entries from the Enabled Protocols list.
- Select all of the IP protocols listed under Disabled Protocols, and click Enable to move them back up to the Enabled Protocols list, and then click OK.
- Back in the Capture Filter dialog box, double-click (Address Pairs).
- Under Station 1, select the local computer name, under Direction select the two-way arrows ("<-->"), and then under Station 2, select *ANY.
- Click OK twice to close the Capture Filter dialog box.
Capture the HTTP Data
- From the Capture menu, click Start.
- Browse to the Web site you want to collect HTTP data from.
- After the Web site has loaded in the browser, switch back to Network Monitor and click Stop from the Capture menu.
Filter the HTTP Data Frames
- From the Capture menu, click Display Captured Data, which displays the Capture window.
- In the Capture window, from the Display menu, click Filter.
- Double-click Protocol == Any, disable all protocols, and then reenable the HTTP protocol.
- Click OK twice to return to the Capture window. Note that only the data frames containing HTTP data are now displayed.
View an HTTP Data Frame
- Double-click an HTTP frame that you want to view, which causes the Detail (middle) and Hex (bottom) panes for that frame to be displayed.
- In the Detail pane, double-click the HTTP: frame to view the data in it.
- Continue to drill-down, double-clicking any data under the HTTP frame that you want to view.
- In a text editor such as Notepad, open the TCP.ini file located in the Parsers folder under the Network Monitor installation point. By default, the location is %windir%\system32\netmon.
- In TCP.ini, locate the TCP_HandoffSet section.
- Below the '80 = HTTP' line, add the following (assumes the new port number is TCP 5150):5150 = HTTP
- Save the edited TCP.ini file.
- Reopen the .cap file, the HTTP frames on both TCP 80 and TCP 5150 should now be parsed and displayed.
(c) Microsoft Corporation 2000, All Rights Reserved. Contributions by Kevin Zollman, Microsoft Corporation.
رقم الموضوع: 252876 - آخر مراجعة: 30/07/2008 - المراجعة: 1