YANG Data Model for Stateless Packet Filter Configuration draft-huang-netmod-acl-03



Similar documents
ΕΠΛ 674: Εργαστήριο 5 Firewalls

FIREWALLS & CBAC. philip.heimer@hh.se

ΕΠΛ 475: Εργαστήριο 9 Firewalls Τοίχοι πυρασφάλειας. University of Cyprus Department of Computer Science

CCNA Security 1.1 Instructional Resource

Adding an Extended Access List

: Interconnecting Cisco Networking Devices Part 1 v2.0 (ICND1)

Firewalls and VPNs. Principles of Information Security, 5th Edition 1

Internetwork Expert s CCNA Security Bootcamp. IOS Firewall Feature Set. Firewall Design Overview

Firewall Technologies. Access Lists Firewalls

Interconnecting Cisco Network Devices 1 Course, Class Outline

Firewall REFERENCE GUIDE. VYATTA, INC. Vyatta System. IPv4 Firewall IPv6 Firewall Zone-Based Firewall. Title

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

Cisco Configuring Commonly Used IP ACLs

ACL Compliance Director FAQ

INTERCONNECTING CISCO NETWORK DEVICES PART 1 V2.0 (ICND 1)

Configuration Guide for RFMS 3.0 Initial Configuration. WiNG 5 How-To Guide. Firewall. June 2011 Revision 1.0

Interconnecting Cisco Networking Devices, Part 1 (ICND1) v3.0

Load Balancing SIP Quick Reference Guide v1.3.1

Security and Access Control Lists (ACLs)

12. Firewalls Content

INTRODUCTION TO FIREWALL SECURITY

Firewall. Vyatta System. REFERENCE GUIDE IPv4 Firewall IPv6 Firewall Zone Based Firewall VYATTA, INC.

Configuring Network Address Translation (NAT)

Security Technology: Firewalls and VPNs

How To - Configure Virtual Host using FQDN How To Configure Virtual Host using FQDN

UPPER LAYER SWITCHING

Configuring Personal Firewalls and Understanding IDS. Securing Networks Chapter 3 Part 2 of 4 CA M S Mehta, FCA

How To Set Up An Ip Firewall On Linux With Iptables (For Ubuntu) And Iptable (For Windows)

Firewalls. Ingress Filtering. Ingress Filtering. Network Security. Firewalls. Access lists Ingress filtering. Egress filtering NAT

Chapter 4: Security of the architecture, and lower layer security (network security) 1

Network Load Balancing

Central America Workshop - Guatemala City Guatemala 30 January - 1 February 07. IPv6 Security

Firewall. Vyatta System. REFERENCE GUIDE IPv4 Firewall IPv6 Firewall Zone Based Firewall VYATTA, INC.

Controlling Network Access

CSCE 465 Computer & Network Security

Deployment Guide AX Series for Palo Alto Networks Firewall Load Balancing

The Cisco IOS Firewall feature set is supported on the following platforms: Cisco 2600 series Cisco 3600 series

This Technical Support Note shows the different options available in the Firewall menu of the ADTRAN OS Web GUI.

1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet

Lab Configure IOS Firewall IDS

Packet Filtering using the ADTRAN OS firewall has two fundamental parts:

CSCI Firewalls and Packet Filtering

Digi Connect WAN Application Helper NAT, GRE, ESP and TCP/UPD Forwarding and IP Filtering

Firewalls. Chapter 3

Configuring Network Address Translation

Internet Firewall CSIS Internet Firewall. Spring 2012 CSIS net13 1. Firewalls. Stateless Packet Filtering

Cisco Firewall Technology

Campus LAN at NKN Member Institutions

CISCO IOS NETWORK SECURITY (IINS)

Linux Virtual Server Tutorial

CTS2134 Introduction to Networking. Module Network Security

Classic IOS Firewall using CBACs Cisco and/or its affiliates. All rights reserved. 1

Firewall Firewall August, 2003

Class Test 2 - e-security (CSN11102/11117) Semester 2, Session

Introduction of Intrusion Detection Systems

Deploying ACLs to Manage Network Security

Firewall Introduction Several Types of Firewall. Cisco PIX Firewall

Chapter 4 Rate Limiting

Table of Contents. Cisco Blocking Peer to Peer File Sharing Programs with the PIX Firewall

Lab VI Capturing and monitoring the network traffic

Securing Networks with PIX and ASA

Deployment Guide AX Series for Palo Alto Networks SSL Intercept and Firewall Load Balancing

Configuring NetFlow Secure Event Logging (NSEL)

How to Make the Client IP Address Available to the Back-end Server

Recommended IP Telephony Architecture

Appendix A: Configuring Firewalls for a VPN Server Running Windows Server 2003

IP Telephony Management

EXPLORER. TFT Filter CONFIGURATION

Configuring Class Maps and Policy Maps

Configuring RADIUS Server Support for Switch Services

IDIS Product Security

IP Filter/Firewall Setup

Solution of Exercise Sheet 5

Access Control Lists: Overview and Guidelines

Secure Networks for Process Control

FIREWALLS IN NETWORK SECURITY

Firewall REFERENCE GUIDE. VYATTA, INC. Vyatta System. IPv4 Firewall IPv6 Firewall Zone-Based Firewall. Title

Configuring NetFlow Secure Event Logging (NSEL)

Review: Lecture 1 - Internet History

Firewalls (IPTABLES)

Virtual private network. Network security protocols VPN VPN. Instead of a dedicated data link Packets securely sent over a shared network Internet VPN

Chapter 7. Firewalls

FortiOS Handbook - Load Balancing VERSION 5.2.2

Virtual Fragmentation Reassembly

Testing Network Security Using OPNET

Chapter 8 Security Pt 2

Track 2 Workshop PacNOG 7 American Samoa. Firewalling and NAT

Data Analysis Load Balancer

TOE2-IP FTP Server Demo Reference Design Manual Rev1.0 9-Jan-15

Firewalls. Chien-Chung Shen

Network Programming TDC 561

OLD VULNERABILITIES IN NEW PROTOCOLS? HEADACHES ABOUT IPV6 FRAGMENTS

Security Policies Tekenen? Florian Buijs

Cork Institute of Technology Master of Science in Computing in Education National Framework of Qualifications Level 9

"Charting the Course...

Internet Firewall CSIS Packet Filtering. Internet Firewall. Examples. Spring 2011 CSIS net15 1. Routers can implement packet filtering

Information Models, Data Models, and YANG. IETF 86, Orlando,

CSE 4482 Computer Security Management: Assessment and Forensics. Protection Mechanisms: Firewalls

Transcription:

YANG Data Model for Stateless Packet Filter Configuration draft-huang-netmod-acl-03 Lisa Huang, yihuan@cisco.com Alexander Clemm, alex@cisco.com Andy Bierman, andy@yumaworks.com 11/04/2013

SPF Summery SPF: Stateless Packet Filter, aka ACL, Access Control Lists Used to filter traffic ( Firewall Rules ); major part of device configurations No configuration complete without ACLs Why a YANG data model? Netconf and YANG are intended for network device configuration Make SPF more accessible to automated applications, examples: I2RS, Open Daylight, Dynamic Intrusion Protection Systems Dynamic setup/configuration of services, e.g. temporary firewall rule adjustments for video conferences Covered popular SPFs and incorporated a rich set of filters IP SPF, MAC SPF, ARP SPF as initial SPF types More than 50 filter leaves in models. Extensible + modular framework 2

Revision History Main changes in revision 02 Expounded how to extend the current SPF to support SPF chain. Gave an example for ipv4. Same pattern can apply to ipv6, mac, and arp PFEs if needed. Multivendor SPF follow up and result. DMTF s (Desktop management Task Force) CIM (Common Information Model) vendor specific follow up and result. Can map 1-to-1 to AAA protocol IP filters. Main changes in revision 03 Renamed all ACL to SPF, ACE (Access Control Entry) to PFE(Packet Filter Entry). Explained the relationship between SPF and ACL http://www.ietf.org/id/draft-huang-netmod-acl-03.txt 3

Proposal Request to adapt SPF model as standards-track working group item SPFs are an important part of device configurations Needed both by administrators and by applications Enabler for many applications, generally related to security, widely used in policy Will clearly benefit from standardization Rev 03 of draft has already been posted Addressed all issues raised in two previous rounds of WG discussions Extendable structure Includes support for 3 different types of SPF, more can be added Covers comprehensive set of parameters; feature statements allow for customization and device adaptation 4

Q & A 5

Thank You 6

SPF concept SPF: Stateless Packet Filter Also know as ACL: Access Control List An ordered set of rules used to filter traffic on a networking device Packet Filter Entry (PFE) : a representation of a rule Left hand side: the matching criteria, or "filter" Right hand side : the action to take permit/deny a packet Note: can generalize SPF with further actions: packet capture, audit logging,... First rule that matches is applied Most specific rules first to avoid rule shadowing SPFs are applied against interfaces Interface refers to SPF (SPF specified independent of interface) Different interfaces can use different SPFs, or use the same 7

ACL Types covered in the data model Ø IP SPFs Ø Filter traffic based on IP information in the Layer 3 header of packets. Ø MAC SPFs Ø Filter traffic using the information in the Layer 2 header of each packet. Ø ARP SPFs Ø Filter IP- and non-ip-based traffic by checking the Ethernet type code field in the Layer 2 header. Each SPF includes only PFEs of its type (no mix and match) Framework can be extended with additional SPF types Augment stateless-pf YANG module Follow design pattern of other SPF types, leverage common SPF data types 8

SPF module overview SPF SPF-IP SPF-MAC SPF-ARP IPv4-PFE IPv4 Filter params IPv6-PFE MAC-PFE ARP-PFE IPv6 Filter params MAC Filter params ARP Filter params IP-group Name Remark Filter Actions Stats PFE Time-range Port-group Conceptual diagram only for specific parameters and mapping to YANG data nodes refer to the draft 9

Example SPF Example: Denies TELNET traffic from 14.3.6.234 bound for host 6.5.4.1 from leaving. Denies all TFTP traffic bound for TFTP servers. Permits all other IP traffic. SPF CLI: access-list ip iacl deny tcp 14.3.6.234 0.0.0.0 host 6.5.4.1 eq 23 deny udp any any eq tftp permit ip any any 10

YANG Module Structure module: stateless-pf +--rw spfs +--rw spf [name] +--rw name +--rw spf-type +--rw capture-session-id-global? +--rw (enable-match-counter-choices)? +--ro match? +--rw port-groups +--rw port-group [name] +--rw name +--rw groups +--rw timerange-group +--rw timerange-group [name] +--rw name +--rw time-ranges +--rw ip-address-groups Generic SPF aspects, common to each SPF type Determines which types of PFEs can be inserted Not configuration related, could be separated Insertion point for specific SPF types (augmentation hook) Auxiliary convenience objects to simplify reuse of port groupings and schedule information (could move outside spfs container) 11

YANG module structure (contd.) module: stateless-pf +--rw spfs +--rw spf [name] +--rw spf-ip:afi +--rw spf-ip:ipv6-pfes +--rw spf-ip:ipv6-pfe [name] +--rw spf-ip:name +--rw (remark-or-ipv6-case)? +--:(remark) +--rw spf-ip:spf-remark +--:(ipv6-pfe) +--rw spf-ip:filters +-- filter parameters +--rw spf-ip:actions +-- action parameters +-- ro spf-ip:match Indicates IP address type SPFs can include comment lines for human/admin consumption Included in YANG module to maintain consistency with CLI left hand side right hand side Not configuration related, could be separated Generic design pattern that is reflected in every SPF type All SPF type specifics are in the filter parameters and in the actions 12

YANG module structure (contd.) module: stateless-pf +--rw spfs +--rw spf [name] +--rw spf-ip:afi +--rw spf-ip:ipv4-pfes +--rw spf-ip:ipv4-pfe [name] +--rw spf-ip:name +--rw (remark-or-ipv4-case)? +--:(remark) +--rw spf-ip:spf-remark +--:(ipv4-pfe) +--rw spf-ip:filters +-- filter parameters +--rw spf-ip:actions +-- action parameters +-- ro spf-ip:match SPFs can include comment lines for human/admin consumption Included in YANG module to maintain consistency with CLI left hand side IPv4 (IPv4 and IPv6 specified in same submodule) Indicates IP address type right hand side Not configuration related, could be separated Generic design pattern that is reflected in every SPF type All SPF type specifics are in the filter parameters and in the actions 13

YANG module structure (contd.) module: stateless-pf +--rw spfs +--rw spf [name] +--rw spf-mac:mac-pfes +--rw spf-mac:mac-pfe [name] +--rw spf-mac:name +--rw (remark-or-mac-case)? +--:(remark) +--rw spf-mac:remark +--:(mac-pfe) +--rw spf-mac:filters +-- filter parameters +--rw spf-mac:actions +-- action parameters +-- ro spf-mac:match MAC (separate module) Generic design pattern that is reflected in every SPF type All SPF type specifics are in the filter parameters and in the actions 14

YANG module structure (contd.) module: stateless-pf +--rw spfs +--rw spf [name] +--rw spf-arp:arp-pfes +--rw spf-arp:arp-pfe [name] +--rw spf-arp:name +--rw (remark-or-arp-case)? +--:(remark) +--rw spf-arp:remark +--:(arp-pfe) +--rw spf-arp:filters +-- filter parameters +--rw spf-arp:actions +-- action parameters +-- ro spf-arp:match ARP (separate module) Generic design pattern that is reflected in every SPF type All SPF type specifics are in the filter parameters and in the actions 15

YANG module structure (contd.) module: stateless-pf +--rw spfs +--rw spf [name] +--rw spf-ip:ipv6-pfes +--rw spf-ip:ipv6-pfe [name] +--rw spf-ip:name +--rw (remark-or-ipv6-case)? +--:(ipv6-pfe) +--rw spf-ip:filters +-- rw (source-address-host-group)? +-- rw (dest-address-host-goup)? +-- rw spf-ip:protocol? +-- rw spf-ip:capture-session-id? +-- rw spf-ip:fragments? +-- rw spf-ip:time-range? +-- rw spf-ip:src-ports? +-- rw spf-ip:dest-ports? +--... +--rw spf-ip: actions +-- rw spf-ip:action +-- rw spf-ip:log? IPv6-specific parameters, but could add IP-v6 Specific filters Insertion point for specific filters (augmentation hook) Common actions but could add IP-specific actions later, such as copy, chain Insertion point for 16 additional actions

SPF Chain ipv4 Example augment "/spf:spfs/spf:spf/spf-ip:ipv4-pfes" + "/spf-ip:ipv4-pfe/spf-ip:actions" { leaf chain { type spf-ref ; description "Reference to another SPF name to chain the PFEs"; } } 17