Virtual Firewalls. Ivan Pepelnjak (ip@ioshints.info) NIL Data Communications



Similar documents
Cloud Networking From Theory to Practice" Ivan Pepelnjak NIL Data Communications"

Data Center Fabrics What Really Matters. Ivan Pepelnjak NIL Data Communications

Automating Network Security

BUILDING A NEXT-GENERATION DATA CENTER

Software Defined Network (SDN)

Palo Alto Networks. Security Models in the Software Defined Data Center

Skip the Transitions, Jump Straight into IPv6

Cisco Virtual Security Gateway for Nexus 1000V Series Switch

SOFTWARE-DEFINED NETWORKING AND OPENFLOW

Roman Hochuli - nexellent ag / Mathias Seiler - MiroNet AG

Virtualization, SDN and NFV

What is SDN? And Why Should I Care? Jim Metzler Vice President Ashton Metzler & Associates

Cisco Prime Network Services Controller. Sonali Kalje Sr. Product Manager Cloud and Virtualization, Cisco Systems

A Case for Overlays in DCN Virtualization Katherine Barabash, Rami Cohen, David Hadas, Vinit Jain, Renato Recio and Benny Rochwerger IBM

How Linux kernel enables MidoNet s overlay networks for virtualized environments. LinuxTag Berlin, May 2014

VXLAN: Scaling Data Center Capacity. White Paper

The Road to SDN: Software-Based Networking and Security from Brocade

OpenFlow and Software Defined Networking presented by Greg Ferro. OpenFlow Functions and Flow Tables

Deliver the Next Generation Intelligent Datacenter Fabric with the Cisco Nexus 1000V, Citrix NetScaler Application Delivery Controller and Cisco vpath

SOFTWARE DEFINED NETWORKING: INDUSTRY INVOLVEMENT

Introduction to Network Virtualization in IaaS Cloud. Akane Matsuo, Midokura Japan K.K. LinuxCon Japan 2013 May 31 st, 2013

Achieving a High-Performance Virtual Network Infrastructure with PLUMgrid IO Visor & Mellanox ConnectX -3 Pro

HAWAII TECH TALK SDN. Paul Deakin Field Systems Engineer

OpenFlow and Software Defined Networking presented by Greg Ferro. Software Defined Networking (SDN)

Using SouthBound APIs to build an SDN Solution. Dan Mihai Dumitriu Midokura Feb 5 th, 2014

Network Virtualization

VMware NSX Network Virtualization Design Guide. Deploying VMware NSX with Cisco UCS and Nexus 7000

Network Virtualization and Software-defined Networking. Chris Wright and Thomas Graf Red Hat June 14, 2013

Datacenter Networking. Joy ABOIM Consulting System Engineer

SOFTWARE-DEFINED NETWORKING AND OPENFLOW

How Network Virtualization can improve your Data Center Security

Visibility into the Cloud and Virtualized Data Center // White Paper

Cisco Virtual Network Management Center

Evolution of Software Defined Networking within Cisco s VMDC

Securing the Virtualized Data Center With Next-Generation Firewalls

Expert Reference Series of White Papers. vcloud Director 5.1 Networking Concepts

VMware vcloud Air Networking Guide

Cisco Nexus 1000V Switch for Microsoft Hyper-V

Softening the Network: Virtualization s Final Frontier

Cloud Networking Disruption with Software Defined Network Virtualization. Ali Khayam

Implementing and Troubleshooting the Cisco Cloud Infrastructure **Part of CCNP Cloud Certification Track**

Introduction to Software Defined Networking (SDN) and how it will change the inside of your DataCentre

Definition of a White Box. Benefits of White Boxes

Why Software Defined Networking (SDN)? Boyan Sotirov

Data Center Network Virtualisation Standards. Matthew Bocci, Director of Technology & Standards, IP Division IETF NVO3 Co-chair

Software Defined Environments

2013 ONS Tutorial 2: SDN Market Opportunities

DCB for Network Virtualization Overlays. Rakesh Sharma, IBM Austin IEEE 802 Plenary, Nov 2013, Dallas, TX

Designing Virtual Network Security Architectures Dave Shackleford

Advanced Security Services with Trend Micro Deep Security and VMware NSX Platforms

Architecting and Building a Secure and Compliant Virtual Infrastructure and Private Cloud

Network Virtualization for the Enterprise Data Center. Guido Appenzeller Open Networking Summit October 2011

VMware. NSX Network Virtualization Design Guide

Securing Virtual Applications and Servers

Networking in the Era of Virtualization

Ixia Phantom vtap. Overview. Virtual Taps Phantom Monitoring Solution DATA SHEET

White Paper. Juniper Networks. Enabling Businesses to Deploy Virtualized Data Center Environments. Copyright 2013, Juniper Networks, Inc.

Cisco ASA 1000V Cloud Firewall

Scalable Approaches for Multitenant Cloud Data Centers

NETWORK FUNCTIONS VIRTUALIZATION. Segmenting Virtual Network with Virtual Routers

Network Virtualization Solutions

Virtual Network Exceleration OCe14000 Ethernet Network Adapters

Transform Your Business and Protect Your Cisco Nexus Investment While Adopting Cisco Application Centric Infrastructure

AGENDA. 資 訊 網 路 發 展 趨 勢 Juniper Cloud Solution Cloud Security 解 決 方 案 共 同 供 應 契 約 採 購 建 議 為 何 選 擇 Juniper

Enhancing Cisco Networks with Gigamon // White Paper

VXLAN Overlay Networks: Enabling Network Scalability for a Cloud Infrastructure

Understanding Cisco Cloud Fundamentals CLDFND v1.0; 5 Days; Instructor-led

Building Scalable Multi-Tenant Cloud Networks with OpenFlow and OpenStack

CS244 Lecture 5 Architecture and Principles

STORMY WEATHER SECURING CLOUD COMPUTING. Russell Skingsley Director of Advanced Technology Data Centre and Cloud, APAC Juniper Networks

How To Orchestrate The Clouddusing Network With Andn

Network Performance Comparison of Multiple Virtual Machines

SOFTWARE DEFINED NETWORKING

Ethernet-based Software Defined Network (SDN) Cloud Computing Research Center for Mobile Applications (CCMA), ITRI 雲 端 運 算 行 動 應 用 研 究 中 心

SINGLE-TOUCH ORCHESTRATION FOR PROVISIONING, END-TO-END VISIBILITY AND MORE CONTROL IN THE DATA CENTER

White Paper. Advanced Server Network Virtualization (NV) Acceleration for VXLAN

Windows Server 2012 Hyper-V Extensible Switch and Cisco Nexus 1000V Series Switches

Network performance in virtual infrastructures

Quantum Hyper- V plugin

Outline. Why Neutron? What is Neutron? API Abstractions Plugin Architecture

Data Center Virtualization and Cloud QA Expertise

Accelerating Network Virtualization Overlays with QLogic Intelligent Ethernet Adapters

Analysis of Network Segmentation Techniques in Cloud Data Centers

Performance of Network Virtualization in Cloud Computing Infrastructures: The OpenStack Case.

The Evolving Data Center. Past, Present and Future Scott Manson CISCO SYSTEMS

IPOP-TinCan: User-defined IP-over-P2P Virtual Private Networks

Open Source Networking for Cloud Data Centers

OVERLAYING VIRTUALIZED LAYER 2 NETWORKS OVER LAYER 3 NETWORKS

Oracle SDN Performance Acceleration with Software-Defined Networking

THE REVOLUTION TOWARDS SOFTWARE- DEFINED NETWORKING

VMware

Utility Computing and Cloud Networking. Delivering Networking as a Service

The Impact of Virtualization on Cloud Networking Arista Networks Whitepaper

Cisco Intercloud Fabric Security Features: Technical Overview

VMware and Brocade Network Virtualization Reference Whitepaper

Network Virtualization: Delivering on the Promises of SDN. Bruce Davie, Principal Engineer

VMware NSX A Perspective for Service Providers part 2

Transcription:

Virtual Firewalls Ivan Pepelnjak (ip@ioshints.info) NIL Data Communications

Who is Ivan Pepelnjak (@ioshints) Networking engineer since 1985 Focus: real-life deployment of advanced technologies Chief Technology Advisor @ NIL Data Communications Consultant, blogger (blog.ioshints.info), book and webinar author Teaching Scalable Web Application Design at University of Ljubljana Current interests: Large-scale data centers and network virtualization Networking solutions for cloud computing Scalable application design Core IP routing/mpls, IPv6, VPN 2 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

Virtualization Webinars on ipspace.net Coming in 2013 Coming in 2013 vsphere 5 Update Overlay Virtual Networking Coming in 2013 Virtual Firewalls OpenFlow and SDN Use Cases VXLAN Deep Dive OpenFlow VMware Networking Cloud Computing Networking Introduction to Virtualized Networking Availability Live sessions Recordings of individual webinars Yearly subscription Other options Customized webinars ExpertExpress On-site workshops Inter-DC More information FCoE has @ very http://www.ipspace.net/webinars limited use and requires no bridging 3 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

Firewalls Used To Be Easy Packet filters Application-level firewalls (WAF) Firewalls Stateful firewalls Load balancers? 4 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

Routed or Bridged? Routed (inter-subnet) Packet filtering and IP routing Inside and Outside subnets Static routing or routing protocols Easy to implement multiple zones Transparent (bridged) Packet filtering and bridging Simple to insert No interaction with routing Typically only two interfaces 10.2.3.4 10.0.0.1 10.0.0.1 10.0.0.2 10.1.2.3 5 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

Anything Is Virtual These Days Single physical device, multiple virtual contexts Separate management plane(s) Shared resources (code, CPU, interface bandwidth ) Tied to a physical device Firewall with virtual contexts Management Management Management This is not the virtual firewall we re looking for 6 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

Virtual Contexts Versus Virtual Firewalls Transport network independence Virtual firewalls run on any transport provided by hypervisor (VLAN, VXLAN, NVGRE ) Virtual contexts support the encapsulations of underlying firewalls software Virtual networking support in physical devices VLANs (802.1Q) Rarely: Q-in-Q (802.1ad) Exceptions: VXLAN supported by F5 (LB), Brocade (LB) and Arista (switch) NVGRE supported by F5 (LB) 7 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

Virtual Contexts Versus Virtual Firewalls Transport network independence Configuration management Virtual context configuration tied to physical device Virtual firewall configuration moves with it Stored in virtual disk attached to a VM Central management software 8 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

Virtual Contexts Versus Virtual Firewalls Transport network independence Configuration management Workload mobility Impossible to move physical device (don t even mention stretched firewalls) Virtual firewall migrates with the workload Primary DC site Internet HSRP peers Same IP subnet NO Pseudowire or VPLS service Shared IP address Move application stack + L4-7 components in disaster recovery/avoidance procedure Alternate DC site 9 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

Virtual Contexts Versus Virtual Firewalls The good news: Transport network independence Configuration management Workload mobility And now for some bad news: Performance Attacks on hypervisors, multi-tenant attacks Real question: How secure does your auditor think you have to be? 10 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

Virtual Firewalls 11 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

Virtual Networking Requirements Outside Web servers App servers DB servers User requirements Use virtual machines like physical hosts Deploy and move VMs at will Build virtual LANs Retain existing application stack Retain existing security paradigm Hypervisor requirements Decouple physical hardware from VM NIC (VM mobility) Enable inter-vm traffic (intra-hypervisor and across the network) Provide inter-vm isolation Design decision: physical or virtual firewalls and load balancers? 12 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

Virtual Firewall Taxonomy VM-based appliances VM NIC firewalls Virtual firewalls Service insertion Service chaining 13 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

Virtual Appliances Most L4-7 devices run on x86 CPU Some of them are also offered in VM format VM appliances work with all network virtualization technologies (incl. vcdni and VXLAN) Outside Inside VM Hypervisor host Drawbacks CPU-based packet processing is expensive High hypervisor overhead with I/O intensive workload Traffic trombones Network Sample products Firewall: Vyatta, vshield Edge (VMware) Load balancer: BIG-IP VTM (F5), Zeus Traffic Manager (now Riverbed), vshield Edge (VMware), Embrane, LineRate Systems (now F5) 14 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

Virtual Appliances Virtual Appliance Performance Issues Typical performance: 40+ Gbps through a Xeon-based server ~1 Gbps for vshield Edge small instance (1 vcpu) Two performance roadblocks: Linux TCP/IP stack in appliance Hypervisor virtual switch Enhancements: TCP offload (not on VXLAN) Hypervisor bypass (Cisco VM-FEX) VEM Third-party TCP stacks (Intel DPDK, 6Wind) vsphere 5.1 15 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

Virtual Appliances Hypervisor Hypervisor Virtual Appliance-Induced Traffic Trombones Virtual Physical Database segment Virtual router Web server segment Virtual firewall Outside Physical network Core Requires DC design with equidistant end points (Clos architecture) 16 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

VM NIC Firewalls 17 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

What Is a VM NIC Firewall Virtual machines Virtual machines Hypervisor Physical server Hypervisor Physical server Firewall inserted between VM Network Interface Card (NIC) and hypervisor virtual switch Central management/configuration for scalability Firewall rules and state move with VM 18 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

VM NIC Firewalls: Changing the Security Paradigm Old world security Security zones = IP subnets = VLANs Add VXLAN/NVGRE for scalability Subnets segregated with firewalls or virtual appliance firewalls Traffic trombones Firewalls are choke points Brave new world Firewall rules attached to virtual NICs Everything else is outside Optimal any-to-any traffic flow Infinitely scalable Outside Outside 19 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

VM NIC Firewalls: Sample Solutions VMware VMsafe Network API vshield App/Zones (VMware) vgw (Juniper) Linux (KVM, Xen) iptables, ip6tables, ebtables Open vswitch with OpenFlow controller Midokura Midonet Virtual machines Hypervisor Physical server 20 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

VM NIC Firewalls VMsafe Network (dvfilter) API VMsafe Network API Allows a security appliance VM to intercept traffic to/from other VMs Internal name: dvfilter VMsafe kernel module vswitch Introspection vswitch Each dvfilter-based product has: Data-path kernel module Control-path VM (on the same host) Communication between components through a hidden vswitch Kernel module or control-path VM can permit, drop or modify VM traffic Management port group Sample products: vshield Zones/App, Virtual Gateway (Juniper), TippingPoint vcontroller (HP) Significant performance differences based on forwarding path 21 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

Service Insertion 22 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

Service Insertion Service Insertion 101 Virtual machines Download 5-tuple Hypervisor Transport network Physical server Hypervisor switch redirects traffic traversing VM NIC L4-7 functionality in external device or VM appliance Filtered/modified traffic is reinserted at NIC-to-vSwitch boundary Optional: approved 5-tuple inserted in hypervisor switch 23 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

Service Insertion HP TippingPoint vcontroller TippingPoint = IPS appliance vcontroller = per-vsphere host VM VMsafe Network API used for service insertion Typical packet flow vcontroller intercepts VM traffic vcontroller sends VM traffic to IPS IPS inspects VM traffic and returns it to vcontroller vcontroller forwards the traffic to VM or vds VMsafe kernel module vswitch Benefits and drawbacks Leverages existing IPS appliance Reduced CPU load on the ESX host Still requires a vcontroller VM on each ESX host 24 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

Service Insertion Virtual Security Gateway (Cisco) Some terminology Nexus 1000V : vswitch replacement VSM: Nexus 1000V control plane VEM: switching element in vsphere host VSG: stateful layer-2 firewall vpath: Cisco s service insertion technology VSM VSG VSG Principles of operation Service interception done in vswitch, not in NIC driver VN-service defined on port profile in Nexus 1000V Traffic forwarded to VSG on service VLAN or encapsulated in IP VSG can download 6-tuple (+VLAN) to VEM (fast-path offload) Nexus 1000V VEM vpath API Service VLAN Management VLAN HA VLAN 25 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

Service Chaining 26 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

Problem: Combining L3 and L2 Services Outside NIC-level firewall + routed firewall, load balancer or WAF Easy to implement with VM appliances + NIC-level firewalls More interesting when used with service insertion 27 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

Service Chaining Service Insertion Gone Bad Virtual machines Hypervisor Transport network Physical server External traffic is sent to L3 appliance (based on IP routing) L3 appliance forwards traffic toward VM MAC address Hypervisor switch (or NIC driver) intercepts the traffic Traffic is rerouted to IPS/L2 firewall VM receives traffic after IPS/L2 firewall inspection Service chaining: remove extra hops 28 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

Service Chaining Service Chaining 101 Virtual machines Hypervisor Transport network Physical server Hypervisor switch redirects L3 appliance traffic directly to L2 appliance An extra hop through the hypervisor is eliminated Sample commercial implementation: vpath 2.0 (Cisco) Combines Cisco ASA 1000V Cloud Firewall with VSG 29 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

Conclusions 30 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

Conclusions VM appliances Almost equivalent to physical devices Dedicated servers in high-security environments Work best with data center fabrics with equidistant endpoints NIC-level firewalls Linear scale-out performance... assuming you re ready for new security paradigms Outside Service insertion and chaining Best of both worlds? Needs fast-path flow processing for performance anything beyond smart packet filters is hard to implement Outside 31 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

More Information 32 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

More Information: Blogs and Podcasts Packet Pushers Podcast & blog (packetpushers.net) Yellow bricks (Duncan Epping, VMware) Frank Denneman s blog Scott Lowe s blog RationalSurvivability.com (Christopher Hoff, Juniper) it20.info (Massimo Re Ferre, VMware) ChrisColloti.us (Chris Colloti) The Lone Sysadmin (Bob Plankers) High Scalability Blog (Todd Hoff) Errata Security (Robert Graham) Network Heresy (Nicira dormant) Virtualization Security Roundtable blog.ioshints.info & ipspace.net (yours truly) 33 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

Virtualization Webinars on ipspace.net Coming in 2013 Coming in 2013 vsphere 5 Update Overlay Virtual Networking Coming in 2013 Virtual Firewalls OpenFlow and SDN Use Cases VXLAN Deep Dive OpenFlow VMware Networking Cloud Computing Networking Introduction to Virtualized Networking Availability Live sessions Recordings of individual webinars Yearly subscription Other options Customized webinars ExpertExpress On-site workshops Inter-DC More information FCoE has @ very http://www.ipspace.net/webinars limited use and requires no bridging 34 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

Data Center Webinars on ipspace.net Clos Fabrics Explained ProgrammableFlow Deep Dive Data Center Fabric Architectures OpenFlow Data Center Interconnects VMware Networking Data Center 3.0 for Networking Engineers Next-Generation IP Services Intro to Virtualized Networking Availability Live sessions Recordings of individual webinars Yearly subscription Other options Customized webinars ExpertExpress On-site workshops Inter-DC More information FCoE has @ very http://www.ipspace.net/dc limited use and requires no bridging 35 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

Need help? ExpertExpress for quick discussions, reviews or second opinions NIL s Professional/Learning Services In-depth design/deployment projects Data Center-, virtualization- and cloud-related training Details: www.nil.com, flipit.nil.com 36 ipspace.net / NIL Data Communications 2013 Virtual Firewalls

Questions? Send them to ip@ipspace.net or @ioshints 37 ipspace.net / NIL Data Communications 2013 Virtual Firewalls