Quick Start 4: Identifying and Troubleshooting proxy issues for Websense Web Security Gateway



Similar documents
Websense Web Security Gateway: What to do when a Web site does not load as expected

Quick Start 5: Introducing and configuring Websense Cloud Web Security solution

Websense Content Gateway v7.x: Troubleshooting

Filtering remote users with Websense remote filtering software v7.6

Quick start 6: Administering the Websense Cloud Web Security solution

Configuring WCCP v2 with Websense Content Gateway the Web proxy for Web Security Gateway

Controlling Risk, Conserving Bandwidth, and Monitoring Productivity with Websense Web Security and Websense Content Gateway

v7.8.2 Release Notes for Websense Content Gateway

v7.7.3 Release Notes for Websense Content Gateway

Online Help. Websense Content Gateway. v7.6

SSL Decryption: Benefits, Configuration and Best Practices

Websense Content Gateway HTTPS Configuration

Deploying with Websense Content Gateway

Installing and Configuring Websense Content Gateway

Upgrading to Websense Web Security v7.6

Using Integrated Windows Authentication with Websense Content Gateway, v7.6

2. Are explicit proxy connections also affected by the ARM config?

Quickstart guide to Configuring WebTitan

McAfee Web Gateway Administration Intel Security Education Services Administration Course Training

F-SECURE MESSAGING SECURITY GATEWAY

Configuration Guide BES12. Version 12.1

Configuration Guide BES12. Version 12.2

TRITON - Web Security Help

Direct or Transparent Proxy?

Securing Networks with PIX and ASA

SWSA ((SECURING WEB WITH CISCO WEB SECURITY APPLIANCE)) 2.1

Configuration Guide. BES12 Cloud

Configuration Guide. BlackBerry Enterprise Service 12. Version 12.0

Setting Up Scan to SMB on TaskALFA series MFP s.

Online Help. Websense Content Gateway. v7.5

Websense Web Security Gateway: Integrating the Content Gateway component with Third Party Data Loss Prevention Applications

Using TestLogServer for Web Security Troubleshooting

Quick Start for Network Agent. 5-Step Quick Start. What is Network Agent?

SolarWinds Log & Event Manager

Configuration Guide BES12. Version 12.3

Decryption. Palo Alto Networks. PAN-OS Administrator s Guide Version 6.0. Copyright Palo Alto Networks

F-Secure Messaging Security Gateway. Deployment Guide

How to Configure Captive Portal

H3C SSL VPN RADIUS Authentication Configuration Example

Cyan Networks Secure Web vs. Websense Security Gateway Battle card

Migrating your custom settings to version 7.6

Blue Coat Security First Steps Solution for Deploying an Explicit Proxy

GFI Product Manual. Web security, monitoring and Internet access control. Administrator Guide

SuperLumin Nemesis. Administration Guide. February 2011

Cisco AnyConnect Secure Mobility Solution Guide

SSL VPN Portal Options

Network Agent Quick Start

The SSL device also supports the 64-bit Internet Explorer with new ActiveX loaders for Assessment, Abolishment, and the Access Client.

Cisco ASA, PIX, and FWSM Firewall Handbook

Websense Support Webinar: Questions and Answers

Configuring Network Address Translation (NAT)

DMZ Network Visibility with Wireshark June 15, 2010

Hosting more than one FortiOS instance on. VLANs. 1. Network topology

Connection and Printer Setup Guide

McAfee Web Gateway 7.4.1

Release Notes for Websense Web Endpoint (32- and 64-bit OS)

Security IIS Service Lesson 6

Quick Start Guide Sendio Hosted

Step-by-Step Configuration

Integrated Cisco Products

Personal Telepresence. Place the VidyoPortal/VidyoRouter on a public Static IP address

TRITON - Web Security Help

NETASQ MIGRATING FROM V8 TO V9

Architecture and Data Flow Overview. BlackBerry Enterprise Service Version: Quick Reference

OneFabric Connect and iboss Internet Filtering Appliance

User Guide. Cloud Gateway Software Device

A Websense White Paper Implementing Best Practices for Web 2.0 Security with the Websense Web Security Gateway

Log Server Error Reference for Web Protection Solutions

Installation and configuration guide

Cisco S380 and Cisco S680 Web Security Appliance

A host-based firewall can be used in addition to a network-based firewall to provide multiple layers of protection.

SSL VPN Technology White Paper

QUICK START GUIDE. Cisco S170 Web Security Appliance. Web Security Appliance

Network Defense Tools

Deploying Layered Security. What is Layered Security?

Lab Configure and Test Advanced Protocol Handling on the Cisco PIX Security Appliance

SSL Certificate Verification

Step-by-Step Configuration

iboss Enterprise Deployment Guide iboss Web Filters

Analyze Traffic with Monitoring Interfaces and Packet Forwarding

Application Note. Onsight Connect Network Requirements v6.3

Web Appliance Configuration Guide

HP Load Balancing Module

Integration and Configuration of SofwareAG s webmethods Broker with JBOSS EAP 6.1

NEFSIS DEDICATED SERVER

F-Secure Internet Gatekeeper

Click Studios. Passwordstate. Installation Instructions

Masters Project Proxy SG

WebTitan 5 Administrators Guide

What is included in the ATRC server support

v5.2 Installation Guide for Websense Enterprise v5.2 Embedded on Cisco Content Engine

Security. TestOut Modules

Setting Up SSL on IIS6 for MEGA Advisor

ez Agent Administrator s Guide

User Identification and Authentication

Configuration Information

Configuration Manual

How to Logon with Domain Credentials to a Server in a Workgroup

Introducing the BIG-IP and SharePoint Portal Server 2003 configuration

Transcription:

Quick Start 4: Identifying and Troubleshooting proxy issues for Websense Web Security Gateway Websense Support Webinar March 2013 1

Presenter Greg Didier Title: Support Specialist Accomplishments: 9 years supporting Websense products Qualifications: Technical Support Mentor Product Trainer 2

Goals And Objectives Traffic flow Components and processes Configure logging Identify relevant log files How to resolve issue Exceptions Bypassing Tunneling After this webinar, you will understand how the proxy works and know where available resources are to resolve issues 3

Content Gateway Traffic Flow Filtering Service - 15868 Policy Server - 55806 Policy Broker - 55880 Domain Controller - 53 W I S P RTCC RTSS AR/AD AV ANT Server Transparent Proxy Traffic 21, 53, 80, 443 Explicit Proxy Traffic - 8080 ARM 21 53 80 443 (8080) Inbound Decryption (8070) UI APD DB DNS Proxy Alerts Bandwidth Authentication ARM Bypass W I S P Content Stripping Proxy (8080) Lookup Request Logging WTG Plugin SSL Manager (8070) License Mgr. Cache Stream Mgt. FTP Proxy (HTTP) Outbound Encryption SSL Bypass 4

SSL Manager Filtering Service - 15868 Policy Server - 55806 Policy Broker - 55880 Domain Controller - 53 W I S P RTCC RTSS AR/AD AV ANT Server Transparent Proxy Traffic 21, 53, 80, 443 Explicit Proxy Traffic - 8080 ARM 21 53 80 443 (8080) Inbound Decryption (8070) UI APD DB Alerts Bandwidth W I S P Content Stripping DNS Proxy Proxy (8080) Lookup Request Logging WTG Plugin Authentication Bypass ARM Bypass SSL Manager (8070) License Mgr. Cache Stream Mgt. FTP Proxy (HTTP) Outbound Encryption SSL Bypass 5

Sending Secure Traffic Explicit proxy Browser is aware of the proxy URL filtering based on Host name in the request Explicit Proxy 8080 (8080) Proxy (8080) (FTP, HTTPS, HTTP) 6

Sending Secure Traffic Transparent proxy Browser is not aware of the proxy URL filtering based on Common Name in certificate ARM 21 53 80 443 (8080) Proxy (8080) (FTP, HTTPS, HTTP) Transparent Proxy Traffic 21, 53, 80, 443 7

SSL Transactions Capturing logging data Inbound transactions to SSL Manager from client Outbound transactions to origin server from SSL Manager Alternatively, you may send SSL inbound and outbound logging data to the system messages file messages inbound.log inbound_access.log outbound.log outbound_access.log 8

SSL Manager Logging Provides SSL decryption Requires deploying certificates Troubleshooting 1. Configure SSL logging Select Configure > SSL > Logging > General tab Enable all logs, set logging level to 7, enable syslog, enable File and apply changes 2. Reproduce the issue 9

SSL Manager Logging Troubleshooting (continued) 3. Examine SSL Manager logs In the Content Gateway console Select Configure > My Proxy > Logs > System tab > Log File > messages Alternatively, SSH client to /opt/wcg/sxsuite/log/ inbound.log, inbound_access.log» Client connection to SSL Manager outbound.log, outbound_access.log» SSL Manager connection to destination server 4. Disable SSL logging Demonstration 10

Recap: SSL Manager Logging Viewing SSL logs is a four step process 1. Configure SSL logging 2. Reproduce issue 3. Examine SSL Manager logs In the messages log 4. Disable SSL logging 11

Analytic And Process Transactions Filtering Service - 15868 Policy Server - 55806 Policy Broker - 55880 Domain Controller - 53 W I S P RTCC RTSS AR/AD AV ANT Server Transparent Proxy Traffic 21, 53, 80, 443 Explicit Proxy Traffic - 8080 ARM 21 53 80 443 (8080) Inbound Decryption (8070) UI APD DB Alerts Bandwidth W I S P Content Stripping DNS Proxy Proxy (8080) Lookup Request Logging WTG Plugin Authentication Bypass ARM Bypass SSL Manager (8070) License Mgr. Cache Stream Mgt. FTP Proxy (HTTP) Outbound Encryption SSL Bypass 12

Analytic And Process Transactions Capturing logging data Content Gateway is the workhorse for analyzing traffic and enforcing security policies Capturing transaction requires enabling debugging tags for specific processes, such as: Authentication, analytics, virus scans, caching, etc. content_gateway.out 13

Process Transaction Logging Debug tags enable logging for specific processes Enabled via command line Only content_gateway.out receives tag logging data Displayable within the Content Gateway console Avoid editing the records.config file While in the /opt/wcg/bin/ directory, best practice is adding entries via the content_line command If the Content Gateway bin directory is not in your path, prepend the command with./. For example:./content_line Steps to capture logging data: 1. Enable logging 2. Specify interesting tags 3. Apply changes 4. Reproduce issue and view logs 5. Disable logging 14

Process Transaction Logging From the /opt/wcg/bin/ directory 1. Enable debug logging content_line -s proxy.config.diags.debug.enabled -v 1 2. Enable one or more debug tags content_line -s proxy.config.diags.debug.tags -v win.* ntlm.* Logs IWA and NTLM authentication activity. 3. Reload the configuration to apply changes content_line -x 4. Reproduce the issue and review debugging data Content Gateway console, select Configure > My Proxy > Logs > System tab > Log File > content_gateway.out tail -f /opt/wcg/logs/content_gateway.out 5. Disable debug logging content_line -s proxy.config.diags.debug.enabled -v 0 content_line -x 15

Process Transaction Logging Tags Common debug logging tags DNS Proxy hostdb.* SSL Manager events ssl.* or http_ssl.* HTTP Proxy http_hdrs.* FTP Proxy ftp.* Analytics (RTCC, RTSS, AR, AD, AV) wtg_txn.* General tag to log real-time activities Authentication win.* or ldap.* or ntlm.* Demonstration 16

Disable Logging WARNING: Log files can become very large. Do not leave debug logging enabled. On software installations, from the /opt/wcg/bin/ folder run: content_line -s proxy.config.diags.debug.enabled -v 0 content_line -x On a V-series appliance, run: 17

Process Transaction Logging 1. Enable debug logging Module: Websense Content Gateway Command: content-line -s Variable Name: proxy.config.diags.debug.enabled Value: 1 Run 18

Process Transaction Logging 2. Enable one or more debug tags Module: Websense Content Gateway Command: content-line -s Variable Name: proxy.config.diags.debug.tags Value: http_hdrs.* Run 19

Process Transaction Logging 3. Reload configuration to apply changes Module: Websense Content Gateway Command: content_line -x Run 20

Process Transaction Logging 4. Reproduce issue and review debugging data 21

Process Transaction Logging 5. Disable debug logging Module: Websense Content Gateway Command: content-line -s Variable Name: proxy.config.diags.debug.enabled Value: 0 Run 6. Apply changes, run content_line -x command 22

Recap: Process Transaction Logging Enabling debug tag logs 1. Enable debug logging 2. Enable one or more debug tags 3. Reload configuration to apply changes 4. Reproduce issue and review debugging data In the content_gateway.out log 5. Disable debug logging 6. Reload configuration to apply changes At the command line: If the Content Gateway bin directory is not in your path, prepend the content_line command with./ as shown./content_line -r variable For multiple tags, use the pipe symbol and exclude extra spaces as shown ldap.* win.* For one or more tags, enclose tags with quotes as shown above 23

Proxy Access / TCP Connections Filtering Service - 15868 Policy Server - 55806 Policy Broker - 55880 Domain Controller - 53 W I S P RTCC RTSS AR/AD AV ANT Server Transparent Proxy Traffic 21, 53, 80, 443 Explicit Proxy Traffic - 8080 ARM 21 53 80 443 (8080) Inbound Decryption (8070) UI APD DB Alerts Bandwidth W I S P Content Stripping DNS Proxy Proxy (8080) Lookup Request Logging WTG Plugin Authentication Bypass ARM Bypass SSL Manager (8070) License Mgr. Cache Stream Mgt. FTP Proxy (HTTP) Outbound Encryption SSL Bypass 24

Error And Transaction Logging General proxy access log for TCP connections 1. Start logging Select Configure > Subsystems > Logging > General tab Select Log Transactions and Errors and apply changes 2. Recreate issue 3. View logging data Select Configure > My Proxy > Logs > Access tab > Log File > extended.log and error.log /opt/wcg/logs/extended.log /opt/wcg/logs/error.log 4. Stop logging when complete Select Log Errors Only and apply changes 25

Recap: Error And Transaction Logging 1. Start logging 2. Recreate issue 26

Recap: Error And Transaction Logging 1. Start logging 3. View logging data 2. Recreate issue 27

Recap: Error And Transaction Logging 1. Start logging 3. View logging data 2. Recreate issue 4. Stop logging 28

Collecting Packet Captures Content Gateway installed on a Red Hat server tcpdump -i eth0 -s 0 -w dump.pcap V-Series appliance Command Line Utility Demonstration 29

Recap: Proxy And SSL Logging Logs /var/log/messages Operating System log and a good place to start looking Contains SSL logging data when syslog is enabled /opt/wcg/logs/content_gateway.out Contains debug tag logging data /opt/wcg/logs/extended.log Primary log for displaying proxy access events /opt/wcg/logs/error.log Primary log for displaying proxy access errors Content Gateway management console Configure > My Proxy > Logs > System tab > Log File messages and content_gateway.out Configure > My Proxy > Logs > Access tab > Log File error.log and extended.log 30

Exception, Bypass And Tunnel Filtering Service - 15868 Policy Server - 55806 Policy Broker - 55880 Domain Controller - 53 W I S P RTCC RTSS AR/AD AV ANT Server Transparent Proxy Exception Explicit Proxy Exception ARM 21 53 80 443 (8080) Inbound Decryption (8070) UI APD DB Alerts Bandwidth W I S P Content Stripping DNS Proxy Proxy (8080) Lookup Request Logging WTG Plugin Authentication Bypass ARM Bypass SSL Manager (8070) License Mgr. Cache Bypass Stream Mgt. FTP Proxy (FTP, (HTTPS, (HTTP) Outbound Encryption SSL Bypass 31

Exception, Bypass And Tunnel Explicit proxy Add browser exceptions via WPAD, PAC file, GPO or manually Transparent proxy Add ACL exceptions to Policy-based routing (PBR), WCCPv2 enabled router or Layer 4 switch ARM (transparent proxy only) Add a static bypass rule Authentication bypass Edit the filter.config file Cache Edit the cache.config file 32

Exception, Bypass And Tunnel Certificate Verification Engine (CVE ) Tunnel incidents Tunneling Ports Skype Unknown Protocols Web Security management console Scanning Options Scanning Exceptions SSL Decryption Bypass Selectively omits sites from decryption Demonstration 33

Presenter s Notes This Webinar focused on clarifying the various resources available within the Content Gateway This Webinar builds upon the Content Gateway troubleshooting information presented in a previous Webinar titled: Web Security Gateway - What to do when a Web site does not load as expected Please view this prior Webinar. I guarantee you will find it valuable in regards to troubleshooting Websense Content Proxy. 34

Reference: Links Webinar: Web Security Gateway - What to do when a Web site does not load as expected Web sites that have difficulty transiting Content Gateway How to run a packet capture on Websense Content Gateway SSL Manager Certificate Verification Engine v7.7 35

Upcoming Webinar Webinar Update Title: Quick Start 5: Introducing and configuring Websense Cloud Web Security solution Date: April 17, 2013 Time: 8:30 A.M. PST (GMT -8) How to register: http://www.websense.com/content/supportwebinars.aspx 36

Training To find Websense classes offered by Authorized Training Partners in your area, visit: http://www.websense.com/findaclass Websense Training Partners offer classes online and onsite at your location. For more information, please send email to: readiness@websense.com 37