Flow Sensor and Load Balancer Integration Guide. (for Stealthwatch System v6.9.2)

Similar documents
Downloading and Licensing. (for Stealthwatch System v6.9.1)

External Lookup (for Stealthwatch System v6.10.0)

TechNote on Handling TLS Support with UCCX

Cisco TelePresence FindMe Cisco TMSPE version 1.2

Cisco CSPC 2.7x. Configure CSPC Appliance via CLI. Feb 2018

Cisco Proximity Desktop

Cisco Meeting App. What's new in Cisco Meeting App Version December 17

Cisco FindIT Plugin for Kaseya Quick Start Guide

Cisco TelePresence Management Suite Extension for Microsoft Exchange Software version 3.1

Cisco TelePresence Management Suite Extension for Microsoft Exchange Software version 5.7. User Guide July 2018

Cisco TelePresence Management Suite Extension for Microsoft Exchange Software version 5.0

Cisco Jabber IM for iphone Frequently Asked Questions

Cisco Unified Communications Self Care Portal User Guide, Release

SAML SSO Okta Identity Provider 2

Validating Service Provisioning

Cisco Meeting App. Cisco Meeting App (Windows) Release Notes. March 08, Cisco Systems, Inc.

Cisco has more than 200 offices worldwide. Addresses, phone numbers, and fax numbers are listed on the Cisco website at

Cisco Unified Communications Self Care Portal User Guide, Release 11.5(1)

Cisco Meeting Management

Application Launcher User Guide

Recovery Guide for Cisco Digital Media Suite 5.4 Appliances

Cisco Meeting App. Release Notes. WebRTC. Version number September 27, Cisco Systems, Inc.

Cisco Prime Home Device Driver Mapping Tool July 2013

Cisco Meeting App. Cisco Meeting App (OS X) Release Notes. July 21, 2017

Stealthwatch and Cognitive Analytics Configuration Guide (for Stealthwatch System v6.10.x)

Method of Procedure for HNB Gateway Configuration on Redundant Serving Nodes

Cisco TelePresence Management Suite Extension for Microsoft Exchange 5.6

Cisco TelePresence Management Suite Extension for Microsoft Exchange 5.5

Creating and Installing SSL Certificates (for Stealthwatch System v6.10)

VCS BSS/OSS Adaptor (BOA) 17.2 Release Notes

Migration and Upgrade: Frequently Asked Questions

Cisco TelePresence Management Suite Extension for Microsoft Exchange 5.2

Cisco Unified Communications Manager Device Package 8.6(2)( ) Release Notes

Stealthwatch System v6.9.0 Internal Alarm IDs

Proxy Log Configuration

Cisco UCS Performance Manager Release Notes

Cisco Meeting App. Cisco Meeting App (ios) Release Notes. October 06, 2017

Cisco Meeting Management

Proxy Log Configuration

Cisco Jabber for Android 10.5 Quick Start Guide

CPS UDC MoP for Session Migration, Release

Cisco Meeting App. User Guide. Version December Cisco Systems, Inc.

Installation and Configuration Guide for Visual Voic Release 8.5

Cisco Meeting Management

Cisco Expressway ENUM Dialing

Cisco UC Integration for Microsoft Lync 9.7(4) User Guide

Wireless Clients and Users Monitoring Overview

Cisco TelePresence TelePresence Server MSE 8710

Cisco UCS Director F5 BIG-IP Management Guide, Release 5.0

Cisco StadiumVision Management Dashboard Monitored Services Guide

Cisco Meeting App. Cisco Meeting App (Windows) Release Notes. March 08, Cisco Systems, Inc.

Cisco Meeting App. Cisco Meeting App (OS X) Release Notes. October 24, Cisco Systems, Inc.

Cisco TelePresence Supervisor MSE 8050

Cisco TelePresence MCU MSE 8510

Cisco TelePresence Management Suite 15.5

Managing Device Software Images

Cisco TelePresence Management Suite 15.4

Cisco Jabber Video for ipad Frequently Asked Questions

Cisco TEO Adapter Guide for SAP Java

Cisco Nexus 3000 Series NX-OS Verified Scalability Guide, Release 7.0(3)I7(2)

Cisco IOS Shell Command Reference

Media Services Proxy Command Reference

Quantum Policy Suite Subscriber Services Portal 2.9 Interface Guide for Managers

Cisco Evolved Programmable Network System Test Topology Reference Guide, Release 5.0

This document was written and prepared by Dale Ritchie in Cisco s Collaboration Infrastructure Business Unit (CIBU), Oslo, Norway.

Cisco Meeting Management

Prime Service Catalog: UCS Director Integration Best Practices Importing Advanced Catalogs

Cisco Meeting Server. Cisco Meeting Server Release 2.0+ Multi-tenancy considerations. December 20, Cisco Systems, Inc.

Cisco Connected Grid Design Suite (CGDS) - Substation Workbench Designer User Guide

Cisco Nexus 1000V for KVM Interface Configuration Guide, Release 5.x

Provisioning an Ethernet Private Line (EPL) Virtual Connection

Cisco TelePresence Server 4.2(3.72)

Cisco Terminal Services (TS) Agent Guide, Version 1.1

Provisioning an OCH Network Connection

Wired Network Summary Data Overview

Cisco TelePresence Management Suite

CC Software version 1.5.0

Cisco Meeting App. User Guide. Version December Cisco Systems, Inc.

Quick Start Guide for Cisco Prime Network Registrar IPAM 8.0

Cisco Unified Communications Manager Device Package 10.5(1)( ) Release Notes

IP Routing: ODR Configuration Guide, Cisco IOS Release 15M&T

Troubleshooting guide

Cisco CSPC 2.7.x. Quick Start Guide. Feb CSPC Quick Start Guide

Access Switch Device Manager Template Configuration

Cisco TelePresence Management Suite Provisioning Extension 1.6

Compatibility Matrix for Cisco Unified Communications Manager and IM & Presence Service, Release 11.x

IP Addressing: Fragmentation and Reassembly Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 1000)

Compatibility Matrix for Cisco Unified Communications Manager and IM & Presence Service, Release 10.x

Cisco UCS Director API Integration and Customization Guide, Release 5.4

Cisco Prime Network Registrar IPAM 8.3 Quick Start Guide

Cisco TEO Adapter Guide for Microsoft System Center Operations Manager 2007

HTTP Errors User Guide

Cisco IP Phone Agent User Guide

Cisco Meeting Server. Administrator Quick Reference Guide. Screen Layouts and Pane Placement. October 02, Cisco Systems, Inc.

Cisco Terminal Services (TS) Agent Guide, Version 1.1

Deploying Devices. Cisco Prime Infrastructure 3.1. Job Aid

Cisco Connected Mobile Experiences REST API Getting Started Guide, Release 10.2

Cisco Report Server Readme

Cisco WebEx Best Practices for Secure Meetings for Site Administrators and Hosts

Cisco UCS Performance Manager Release Notes

Transcription:

Flow Sensor and Load Balancer Integration Guide (for Stealthwatch System v6.9.2)

THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS. THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY. The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB s public domain version of the UNIX operating system. All rights reserved. Copyright 1981, Regents of the University of California. NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED AS IS WITH ALL FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE. IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental. All printed copies and duplicate soft copies are considered un-controlled copies and the original on-line version should be referred to for latest version. Cisco has more than 200 offices worldwide. Addresses, phone numbers, and fax numbers are listed on the Cisco website at www.cisco.com/go/offices. Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R) 2017 Cisco Systems, Inc. All rights reserved.

Contents Contents 3 Introduction 4 Audience 4 Before You Begin 4 Contacting Support 4 Configuring the Load Balancer 5 Disabling the XFF Option for HTTP 5 Creating the irule 6 Adding the irule as a Virtual Server Resource 8 Configuring All Load Balancers in the Network 10 Enabling XFF Processing on the Flow Sensor 11 Verifying the Configuration 12 Verifying the Configuration in the SMC Desktop Client 12 Adding Columns to the Flow Table (SMC Desktop Client) 12 Verifying the Configuration in the SMC Web Client 13

Introduction If a load balancer is installed in front of a resource on the network, it obscures visibility and may reduce the detection of threats in the Stealthwatch System. Use the instructions in this guide to configure the load balancer and Flow Sensor. This configuration stitches the client side and server side flows together, so the outside host connects to the inside host, providing visibility and enhanced security on the Flow Sensor and the Stealthwatch System. Audience The primary audience for this guide includes administrators responsible for configuring the Stealthwatch System. Before You Begin Before starting the procedures in this guide, you should do the following: Confirm that your Stealthwatch System is communicating. Go to the SMC client interface. Check the Alarm Table to make sure there are no active Management Channel Down or Failover Channel Down alarms. Confirm that your Stealthwatch System appliance licenses are active. Contacting Support If you need technical support, please do one of the following: Contact your local Cisco partner Contact Cisco Stealthwatch Support To open a case by web: http://www.cisco.com/c/en/us/support/index.html To open a case by email: tac@cisco.com For phone support: 1-800-553-2447 (U.S.) For worldwide support numbers: www.cisco.com/en/us/partner/support/tsd_cisco_worldwide_contacts.html Submit a case using in the Stealthwatch Customer Community web site (https://lancope.force.com/customer/customercommlogin). 4

Configuring the Load Balancer Use the following instructions to configure the load balancer. You will disable the X-Forwarded-For (XFF) option for HTTP, create an irule, and enable a virtual server resource. If you prefer to use an existing irule, you can modify it using the information provided here. For successful integration, apply the instructions in this section to all load balancers in the network. Note: The instructions in this guide show the configuration on an F5 Load Balancer as an example, but we believe this configuration can be used on all types of load balancers. Disabling the XFF Option for HTTP Use the following procedure to disable the XFF option for HTTP. The built-in functionality to insert data in an XFF HTTP header must be disabled in the F5 Load Balancer as follows: 1. Log in to the F5 Load Balancer configuration utility. 2. Under the Main tab, click Local Traffic. 3. Click Profiles > Services > HTTP. If HTTP is not shown in the Services menu, skip to step 8. 4. Click http. 5. Under Settings, locate Insert X-Forwarded-For. 6. Select Disabled from the drop-down list (or uncheck the Enabled check box to clear it). 5

7. Click the Update button. 8. From the Services menu, click Fast HTTP. If Fast HTTP is not available in the Services menu, skip the rest of this section. Proceed to Creating the irule. 9. Locate Insert X-Forwarded-For. 10. Select Disabled from the drop-down list (or uncheck the Enabled check box to clear it). 11. Click the Update button to save and exit. 12. Continue to Creating the irule. Creating the irule Use the following instructions to add an irule for the XFF header. This procedure is used to map the Load Balancer IP and ensure that accurate port and protocol information are reported to the Flow Sensor. Note: If you prefer to use an existing irule, you can modify it using the information provided here. To create an irule for the XFF header in the F5 Load Balancer, complete the following steps: 1. Under the Main tab, click Local Traffic. 2. Click irules. 3. Click the Create button. 6

4. In the Name field, enter xff. continued... 7

5. Copy and paste the following text into the Definition field: when CLIENT_ACCEPTED { } if { [PROFILE::exists clientssl] } then { set client_protocol "https" set local_port 443 } else { } set client_protocol "http" set local_port 80 when HTTP_REQUEST { } if { [HTTP::header exists "X-Forwarded-For"] } { HTTP::header replace X-Forwarded-For "[HTTP::header X-Forwarded-For], [IP::client_addr]" } else { } HTTP::header insert "X-Forwarded-For" [IP::client_addr] if { [HTTP::header exists "X-Forwarded-Proto"] } { HTTP::header replace X-Forwarded-Proto "[HTTP::header X-Forwarded-Proto], $client_protocol" } else { } HTTP::header insert "X-Forwarded-Proto" $client_protocol if { [HTTP::header exists "X-Forwarded-Port"] } { HTTP::header replace X-Forwarded-Port "[HTTP::header X-Forwarded-Port], [TCP::client_port]" } else { } HTTP::header insert "X-Forwarded-Port" [TCP::client_port] if { [HTTP::header exists "X-Forwarded-Host"] } { HTTP::header replace X-Forwarded-Host "[HTTP::header X-Forwarded-Host], [IP::local_addr]:$local_port" } else { } HTTP::header insert "X-Forwarded-Host" [IP::local_addr]:$local_port 6. Click the Finished button to save and exit. 7. Continue to Adding the irule as a Virtual Server Resource. Adding the irule as a Virtual Server Resource To enable a virtual server, the new XFF irule must be added as a resource in the F5 Load Balancer. This step enables the load balancer to report the XFF Header. 8

1. Under the Main tab, click Local Traffic. 2. Click Virtual Servers. 3. Locate the Service Port column and find Service Port 80 (HTTP) or 443 (HTTPS) that is handling the traffic handled by the device. Click the Virtual Server name. 4. Click the Resources tab. 5. In the irules section, click the Manage button. 6. Scroll through the Available irules to find the new XFF irule. Click the XFF irule to select it. 7. Click on the << button to add the XFF irule to the Enabled box. 9

8. Click the Finished button to save and exit. Configuring All Load Balancers in the Network If there are multiple load balancers chained on the network, apply the preceding instructions in this Configuring the Load Balancer section on each load balancer before proceeding to Enabling XFF Processing on the Flow Sensor. Configuring each load balancer preserves the XFF information and appends it. In this configuration, the Flow Sensor will report only the original load balancer IP in the translated host. Configuring the Load Balancer instructions include the following: Disabling the XFF Option for HTTP Creating the irule Adding the irule as a Virtual Server Resource 10

Enabling XFF Processing on the Flow Sensor To process the XFF header field on the Flow Sensor, complete the following steps: 1. Log in to the Flow Sensor. 2. Click Configuration. 3. Click Advanced Settings. 4. Check the Enable X-Forwarded-For Processing check box. 5. Click the Apply button. 6. Repeat these instructions on all Flow Sensors in the network that are receiving load balancer support. 7. Continue to Verifying the Configuration. 11

Verifying the Configuration To verify the load balancer configuration, log in to the SMC Desktop Client or the SMC Web Client. The SMC Desktop Client provides the load balancer IP address and port, and the SMC Web Client provides the load balancer IP address. Verifying the Configuration in the SMC Desktop Client Use the following instructions to review the load balancer IP address and port in the SMC Desktop Client. 1. Open a web page on the server (behind the F5 Load Balancer). 2. Log in to the SMC Desktop Client. 3. Locate the Flow Sensor in the Enterprise Tree. Right-click the Flow Sensor name (or IP address). 4. Click Flows > Flow Table. 5. Review the Translated Host and Translated Port columns to confirm the F5 Load Balancer IP address and port are shown. o o Translated Host (load balancer IP address) Translated Port (load balancer port) Adding Columns to the Flow Table (SMC Desktop Client) If the Translated Host and Translated Port columns are not shown in the SMC Desktop Client Flow Table, complete the following steps: 1. Right-click any column. 2. Scroll through the list. Select More until you reach the T's. 3. Click Translated Host and Translated Port to add them to the Flow Table. 12

Verifying the Configuration in the SMC Web Client Use the following instructions to review the load balancer IP address in the SMC Web Client. The translated port is not available in the SMC Web Client. See Verifying the Configuration in the SMC Desktop Client to verify the port. 1. Open a web page on the server (behind the F5 Load Balancer). 2. Log in to the SMC. 3. Click Analyze > Flow Search. 4. Click Search. 5. When the Flow search results display flows, click Manage Columns. 6. Click the check box to add a check mark to Peer NAT and Subject NAT. 7. Click Set. 8. Confirm the load balancer IP address is shown in the Peer NAT column or the Subject NAT column. The column is determined by the direction of flow. 13

SW_6_9_2_Flow_Sensor_and_Load_Balancer_Integration_Guide_DV_1_0