Configure Current Time Zone

When filtering HTTPS traffic it is very important to have correct date, time and time zone settings on your Squid proxy. Dashboard on the Monitoring section in Web UI shows current time zone and various times as detected by the application.

../../../_images/time55.png

Set correct Time Zone in Web Safety

Please select current time zone information for your area from http://en.wikipedia.org/wiki/List_of_tz_zones_by_name. Open /opt/websafety/var/console/console/settings.py find the TIME_ZONE settings and type your timezone. For example on our servers the timezone is set as:

TIME_ZONE ='Europe/Amsterdam'

Set correct Time Zone in OS

The time zone of your Squid proxy must match the timezone of your proxy clients (browsers). See this article showing how to select timezone for FreeBSD 10 - http://www.cyberciti.biz/faq/howto-set-date-and-time-timezone-in-freebsd/.

If you are using pfSense build and encounter the timezone not found error run the following command from root terminal on your pfSense to extract timezone info:

tar -xvzf /usr/share/zoneinfo.tgz -C /usr/share/zoneinfo/

Note

Please note time zone in Django and in the OS need to be the same! Yes you need to set the time zone twice!

Enable automatic time sync

If you are running Web Safety as virtual appliance in VMWare vSphere - it is recommended to sync the time in virtual appliance with vSphere host which in turn needs to be synced with external NTP server or Active Directory domain controller. The Active Directory installation article describes this in detail Step 2. Syncronize time.

If you are running Web Safety on real hardware, it is recommended to setup NTP server on the proxy box and sync with the reliable time source. See this article on how to do that - https://www.freebsd.org/doc/handbook/network-ntp.html.