| Proxy Server 2.0 - Cramsession |
SETUP.EXE can be used to install Proxy Server. Options:
Proxy Server 2.0 is added into the MS Management Console (Internet Service Manager) administration utility.
The following items are installed with the client software:
The default setting for cache is 100mb when the drive has at least 150mb free hard drive space.
Caching can only be performed on an NTFS partition. It cannot be performed on a FAT partition.
To convert a FAT partition to NTFS to allow caching, use the CONVERT.EXE utility.
Connections requiring authentication or SSL connections will not be cached.
Caching options:
Enable active caching
To limit the size of cache objects, use expired objects in the cache, or change an object's TTL, set the proper options in the page accessed through the Web Proxy Service Properties window by clicking the Caching tab, then click Advanced.
You can construct the list of internal IP addresses by clicking Construct Table.
Add Internal IP ranges from your network to specify addresses of clients that will be connecting throught the proxy server.
IP ranges can be changed in the individual service's properties by clickin the Local Address Table button.
Uses HTTP to communicate.
CARP can be implemented on clients using PAC - Proxy Auto-Config file.
Proxy arrays use an array membership list. They use TTL to determine when to check for active servers, and maintains the list of active servers in the array membership list.
Array manager is used to maintain the array membership list. List includes TTL until next check, URL to receive array information for a remote manager, and load factors for each server.
The proxy server will query array for a new table when TTL expires.
Array members contain a script, written in JavaScript, which tells clients how to connect to the array.
To view the array membership table, input the following URL into your browser:
The list you will receive will resemble the following:
server1 192.168.0.1 80 http://server1:80/array.dll MSProxy/2.0 7521 Up 100 150
server2 192.168.0.2 80 http://server2:80/array.dll MSProxy/2.0 7521 Up 100 150
| servername | server1 |
| IP Address | 192.168.0.1 |
| Port number | 80 |
| URL for array.dll | http://server1:80/array.dll |
| Version of Proxy Server | MSProxy/2.0 |
| Number of seconds in current state | 7521 |
| Current state (up or down) | Up |
| Load factor of server | 100 |
| Cache size | 150 |
Under the Routing tab of the proxy's properties, you can configure Upstream routing to automatically forward client requests to the Internet or to another proxy server or array.
Under the Routing tab of the proxy's properties, check the Enable backup route box and insert the proper parameters to automatically forward requests to the Internet or another proxy server or array in case the first upstream choice is unavailable.
Routing within array can be enabled to resolve proxy requests within the array prior to routing the client to an upstream server or array. This allows load balancing within the array.
Proxy Server installs counters into Performance monitor to enhance and troubleshoot more efficiently.
To remotely administer Proxy server, you must have the same version of client software installed on your system as the server you are connecting to.
Command line utilities:
To stop/start services from the command line:
To perform a backup, go to the Properties field of any proxy service, click the Service tab, then click Server Backup. Select the directory you would like to backup to and click OK.
To perform a restoration, go to the Properties field of any proxy service, click the Service tab, then click Server Backup. Select whether to perform a Partial or Full Restore, then specify the directory that the backup was placed in and click OK.
Authentications:
Challenge/response will only work properly with IE 3.0 and later. When a non-IE browser accesses a challenge/response site, access will be denied.
Web proxy covers only FTP, Gopher, Secure and Web protocols. The web protocol covers HTTP and HTTPS protocols. The secure protocol covers protocols setup to use secure ports.
WinSock proxy covers many protocols including HTTP, HTTPS, FTP, Telnet, Gopher, IRC, RealAudio, POP3, SMTP, and others.
Once users have been assigned permissions to a protocol, they then have access to the Internet through those specified ports. For example, when a user is assigned permission to use HTTP, they then have access to the Internet through port 80.
To assign or revoke permissions for users to other protocols, highlight the user and click Copy to or Remove From, select the proper protocol, and click OK.
WinSock proxy allows Unlimited Access to be specified. This allows all users full access to all ports on that defined in the WinSock proxy service.
WinSock proxy protocols can be editted, or new protocols can be added, to customize or create ports that are needed for certain application communications. Protocols can also be defined to only allow outbound or inbound access.
Socks proxy service depends on the Web proxy service to be running. If the Web proxy service stops, the Socks proxy service also stops.
Socks proxy does not support IPX/SPX.
Socks permissions can be moved change the orders of the listed permissions.
Custom Socks permissions can have functions matched to specified port numbers:
Socks can be set to deny or allow access from specific IP ranges, domain names, or all users. Options for this can be set to:
Socks port settings are defined by the following determiners:
| EQ | Equal to |
| NEQ | Not equal to |
| GT | Greater than |
| LT | Less than |
| GE | Greater than or equal to |
| LE | Less than or equal to |
Another example is portrayed in the following graphic:
This allows all clients from geocities.com to access anything in cramsession.com through port 80.
Click the checkbox next to Enable Filtering to allow filtering.
Options:
You can grant or deny access to:
Provides filtering on packets, addresses and spoofs/attacks.
All packet types will be blocked, except for those specified in the Exceptions list.
Alerts
Proxy server can send alerts for events through the Event Viewer, log files or email.
Alerting can only be enabled when packet filtering is enabled.
Alerts can be sent for:
Reverse hosting can be enabled to allow multiple web servers to be contacted through the reverse proxy server.
To enable reverse proxy support, under the Publishing tab of the proxy service properties panel, click the Enable Web publishing box. There are three options available:
To create a reverse host route, click Add. In the Path field, insert the URL to be routed. In the URL field, insert the URL of the internal web server that will service this request.
filename = yymmx; yy=year, mm=month, xx=day/week/month of log.
Logging to a text file takes considerably less resources than logging to database.
An OBDC driver must be installed on the proxy server to be able to log to a database.
A DSN (Data Source Name) must be added to describe which server or database file you are writing to.
Common Port Numbers
| FTP | 21 |
| Telnet | 23 |
| SMTP | 25 |
| Gopher | 70 |
| HTTP | 80 |
| POP3 | 110 |
| PPTP | 1723 |
Proxy Clients
Windows 3.x clients cannot use the WinProxy service, but can use the Socks and Web services.
Windows 95 clients must have the Novell Client 32-bit IPX stack installed in order use IPX through the proxy server.
The default URL for clients to get the array routing script is http://servername/Array.dll?Get.Routing.Script
To prevent Exchange clients from connecting to Internet POP3 servers, put DISABLE=1 under the [EXCLNT32] header in the MSPCLNT.INI.
Clients with the WinSock proxy client application download the MSPCLNT.INI file every time the client system is restarted, and every six hours after the last refresh.
RAS (Remote Access Services)
RAS supports call back security to either the calling number or to a specified, non-changing number.
RAS for NT 4.0 supports multilink (the use of more than one modem to achieve higher transmission speeds). Multilink cannot be used with callback security unless there are two (or more) ISDN modems configured on the same phone number.
RAS uses NetBEUI as the default network protocol, but can also use TCP/IP and IPX/SPX. TCP/IP will need to be used if you are using programs that utilize the Windows Sockets (Winsock) interface over the RAS services.
RAS encryption settings
| Allow any authentication including clear text | This will allow RAS to use a number of password authentication protocols including the Password Authentication Protocol (PAP) which uses a plain-text password authentication. This option is useful if you have a number of different types of RAS clients, or to support third-party RAS clients. |
| Require encrypted authentication | This option will support any authentication used by RAS except PAP. |
| Require Microsoft encrypted authentication | This option will only make use of Microsoft's CHAP (Challenge Handshake Authentication Protocol). All Microsoft operating systems use MS-CHAP by default. |
| Require data encryption | This option will enable the encryption of all data sent to and from the RAS server. |
RAS will write to a log file which can be used for troubleshooting RAS services. In order to enable RAS to write to the log, you have to enable it in the Registry.
Auto Dial is used to automatically dial-up to the Internet when a client is attempting to gain Internet access through the Proxy Server with RAS Auto-dial capabilities.
A RAS phonebook entry to your ISP will need to be created to allow Auto Dial to work. Credentials can be setup to set the user name and password used to connect with the ISP.
When Auto Dial is configured for the first time, or if settings are cleared, the services will need to be restarted before settings can take effect.
Computer name resolution