How to Configure Websense Enterprise to log bytes received information sent by NetCache
By default, Websense Enterprise 6.1.1 does not log bytes received information sent by NetCache.
To configure Websense to log the bytes received, edit the Websense netcache.conf file as follows:
- Use the NetCache Manager utility to disable the ICAP Service Farm on each NetCache machine:
- Select ICAP in the left pane.
- Select ICAP 1.0.
- Open the General tab.
- Uncheck Enable ICAP Version 1.0 in the ICAP 1.0 Enable area.
- Click Commit Changes.
- On the Websense machine, stop the Filtering Service.Â
In Windows, use the Control Panel to stop Websense services in the following order:- Network Agent
- Filtering Service
- User Service
- Policy Server
If Websense components are running Linux or Solaris:
- Open a command prompt.
- Change directories to where Websense is installed. By default the directory is /opt/websense
- Stop Websense Services using the following command:
./WebsenseAdmin stop
- On the Websense machine, stop the Websense NetCache Service.
- Go to the \Websense\bin folder in the Websense installation directory.
- Make a backup copy of the netcache.conf file.
- Open the netcache.conf file in a text editor.
- Find the methods parameter and add LOG to it, so it reads as follows:
methods=REQMOD, LOG - Save and close the file.
- On the Websense machine, start the Filtering Service.Â
In Windows, use the Control Panel to start Websense services in the following order:- Policy Server
- User Service
- Filtering Service
- Network Agent
If Websense components are running Linux or Solaris:
- Open a command prompt.
- Change directories to where Websense is installed. By default the directory is /opt/websense
- Stop Websense Services using the following command:
./WebsenseAdmin start
- On the Websense machine, start the Websense NetCache Service.
- Use the NetCache Manager utility to enable the ICAP Service Farm on each NetCache machine:
- Select ICAP in the left pane.
- Select ICAP 1.0.
- Open the General tab.
- Check Enable ICAP Version 1.0 in the ICAP 1.0 Enable area.
- Click the Commit Changes button.
| NOTE | NetCache sends information to Websense about the number of bytes downloaded for each internet request. If the requested content requires that data be downloaded from the origin server, NetCache reports the bytes received; however, if the data is available in the web content cache on NetCache, the bytes received is reported as zero. If accurate records of bytes transferred are important to your organization, consider using Websense Network Agent to log this information instead. Network Agent can accurately calculate and log the number of bytes sent and bytes received, as well as the duration of the transfer. You can use the Websense Reporting Tools to view this information. If you need information about installing Network Agent, refer to the Websense Web Security Suite and Websense EnterpriseInstallation Guide for your integration. Information about configuring and using Network Agent can be found in the Websense Web Security Suite and Websense Enterprise Administrator’s Guide (see Documentation link below). |
|---|
