Article ID: 256145 - Last Review: November 1, 2006 - Revision: 1.1 Use Network Monitor to Determine Proxy Server ConfigurationThis article was previously published under Q256145 On This PageSUMMARY
This article describes how to use the Microsoft Network Monitor Tools and agent provided with Windows NT and Small Business Server to determine how to configure protocol definitions and custom packet filters for Proxy Server.
MORE INFORMATION
Protocol definitions are necessary for some client applications to function properly through Proxy Server. Custom static packet filters are necessary for applications that must run on the server. Network Monitor is useful when the application does not provide documentation containing port numbers and configuration information. To determine the necessary custom configuration for an application to communicate through Proxy Server, you need to do the followng five procedures in this order (these procedures are explained in detail later in this article):
Determine Whether the Application Uses Winsock or Web ProxyMany applications provide support for use with a Proxy Server. A good example of this is Microsoft Internet Explorer. Internet Explorer can be configured to use a Proxy Server through the connection settings in Internet Options. Applications that are configured to use a proxy server use the Web Proxy to communicate through the Proxy. These applications should require only that the proper Proxy Server information be entered in order for the Web Proxy to handle the application's requests.Applications that have no feature to use a Proxy Server may also be able to communicate through Proxy Server. These applications use the Proxy Server's Winsock Proxy. In order for this to work properly, the application must use Winsock for communication and the client computer hosting the application must have the Winsock Proxy Client properly installed. To install the Winsock Proxy Client on a Proxy Server's client computer, follow these steps:
Client control protocol version MATCHES the server Control protocol
For applications that run on the Server, see the "Custom Packet Filters" section later in this article.Install the Network Monitor Tools and Agent on the Proxy Server
148942
(http://support.microsoft.com/kb/148942/EN-US/
)
How to Capture Network Traffic with Network Monitor
Capture Network Traffic from the Client Computer
Analyze Network TrafficThe following is an example of a Network Monitor trace that was used to determine Protocol Definitions for a Winsock Application. Network Monitor interprets the TCP header information and displays it as follows: TCP: ....S., len: 0, seq: 28201-298201, ack: 0, win: 8192, src: 1124 dst: 443 TCP = Type of Frame S = SYN flag, used at the beginning of the connection setup to establish sequence and acknowledgement numbers. len = Header length, Data offset seq = Sequence number, used to indicate the sequence number corresponding to the first octet in this segment or frame. ack = acknowledgement number, significant only if the Ack flag is set win = TCP Window size src = Source Port dst = Destination Port Configure Protocol DefinitionBecause the sample frame above shows the application making a request to the Destination, TCP port 443, from the Source, TCP port 1124, the Protocol Definition would be configured as follows:Protocol Name: CustomApp Initial Connection: Port 443 Type: TCP Direction: Outbound Port Ranges for subsequent connections: Port: 0 Type: TCP Direction Inbound
Configure Custom Static Packet FiltersCustom static packet filters are only required if the application resides on the server. A static packet filter is one that has been manually configured. Once a Static Packet Filter is enabled for a particular port, that port is open to anyone on the External Interface. The fewer ports and services open on the External Interface, the fewer the chances of external attacks. For more information about Security, see the following Web site:http://www.microsoft.com/security
(http://www.microsoft.com/security)
If a Network Monitor trace is necessary to determine port numbers for an application running from the server, use the method described in the "Capture Network Traffic from the Client Computer" section earlier in this article. Be sure to select the external interface for the Proxy Server in step 3. If an application must be run on the Proxy Server, configure a custom static packet filter:
http://www.rfc-editor.org
(http://www.rfc-editor.org)
The RFCs form a series of notes about the Internet, and discuss many aspects of computer communication, networking protocols, procedures, programs, and concepts.The Internet Assigned Numbers Authority documents protocol numbers and assignment services at the following Web site: http://www.iana.org
(http://www.iana.org)
Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information. | Article Translations
|
Back to the top
