Protecting Internet Key Exchange Protocol version 2 (IKEv2) Implementations from Distributed Denial of Service Attacks
draft-ietf-ipsecme-ddos-protection-04

The information below is for an old version of the document
Document Type Active Internet-Draft (ipsecme WG)
Last updated 2016-03-01
Stream IETF
Intended RFC status (None)
Formats plain text pdf html bibtex
Reviews
Stream WG state WG Document
Document shepherd No shepherd assigned
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
IPSecME Working Group                                             Y. Nir
Internet-Draft                                               Check Point
Intended status: Standards Track                              V. Smyslov
Expires: September 2, 2016                                    ELVIS-PLUS
                                                           March 1, 2016

      Protecting Internet Key Exchange Protocol version 2 (IKEv2)
       Implementations from Distributed Denial of Service Attacks
                 draft-ietf-ipsecme-ddos-protection-04

Abstract

   This document recommends implementation and configuration best
   practices for Internet Key Exchange Protocol version 2 (IKEv2)
   Responders, to allow them to resist Denial of Service and Distributed
   Denial of Service attacks.  Additionally, the document introduces a
   new mechanism called "Client Puzzles" that help accomplish this task.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at http://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on September 2, 2016.

Copyright Notice

   Copyright (c) 2016 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of

Nir & Smyslov           Expires September 2, 2016               [Page 1]
Internet-Draft          DDoS Protection for IKEv2             March 2016

   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
     1.1.  The Stateless Cookie  . . . . . . . . . . . . . . . . . .   3
     1.2.  Conventions Used in This Document . . . . . . . . . . . .   4
   2.  The Vulnerability . . . . . . . . . . . . . . . . . . . . . .   4
   3.  Puzzles . . . . . . . . . . . . . . . . . . . . . . . . . . .   6
   4.  Retention Periods for Half-Open SAs . . . . . . . . . . . . .   8
   5.  Rate Limiting . . . . . . . . . . . . . . . . . . . . . . . .   9
   6.  Plan for Defending a Responder  . . . . . . . . . . . . . . .  10
     6.1.  Session Resumption  . . . . . . . . . . . . . . . . . . .  12
   7.  Using Puzzles in the Protocol . . . . . . . . . . . . . . . .  12
     7.1.  Puzzles in IKE_SA_INIT Exchange . . . . . . . . . . . . .  12
       7.1.1.  Presenting Puzzle . . . . . . . . . . . . . . . . . .  13
       7.1.2.  Solving Puzzle and Returning the Solution . . . . . .  15
       7.1.3.  Computing Puzzle  . . . . . . . . . . . . . . . . . .  16
       7.1.4.  Analyzing Repeated Request  . . . . . . . . . . . . .  16
       7.1.5.  Making Decision whether to Serve the Request  . . . .  18
     7.2.  Puzzles in IKE_AUTH Exchange  . . . . . . . . . . . . . .  19
       7.2.1.  Presenting Puzzle . . . . . . . . . . . . . . . . . .  19
       7.2.2.  Solving Puzzle and Returning the Solution . . . . . .  20
       7.2.3.  Computing Puzzle  . . . . . . . . . . . . . . . . . .  21
       7.2.4.  Receiving Puzzle Solution . . . . . . . . . . . . . .  21
   8.  DoS Protection after IKE SA is created  . . . . . . . . . . .  22
   9.  Payload Formats . . . . . . . . . . . . . . . . . . . . . . .  23
     9.1.  PUZZLE Notification . . . . . . . . . . . . . . . . . . .  23
     9.2.  Puzzle Solution Payload . . . . . . . . . . . . . . . . .  24
   10. Operational Considerations  . . . . . . . . . . . . . . . . .  24
   11. Security Considerations . . . . . . . . . . . . . . . . . . .  25
   12. IANA Considerations . . . . . . . . . . . . . . . . . . . . .  26
   13. Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .  26
   14. References  . . . . . . . . . . . . . . . . . . . . . . . . .  26
     14.1.  Normative References . . . . . . . . . . . . . . . . . .  26
     14.2.  Informative References . . . . . . . . . . . . . . . . .  27
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  27

1.  Introduction

   Denial of Service (DoS) attacks have always been considered a serious
Show full document text