[TLS] Minimal API for the basic (D)TLS operation? (concerns draft-ietf-taps-transports-usage)

Naeem Khademi <naeem.khademi@gmail.com> Tue, 10 May 2016 13:51 UTC

Return-Path: <naeem.khademi@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 73C2A12D17C; Tue, 10 May 2016 06:51:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aqH0RdamyIjQ; Tue, 10 May 2016 06:51:05 -0700 (PDT)
Received: from mail-vk0-x22b.google.com (mail-vk0-x22b.google.com [IPv6:2607:f8b0:400c:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1D57D12D6CA; Tue, 10 May 2016 06:51:02 -0700 (PDT)
Received: by mail-vk0-x22b.google.com with SMTP id f66so16500138vkh.2; Tue, 10 May 2016 06:51:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc; bh=COeMMyxZK6xzlu68oedZBuY8Hyv0oBCVpPj0VK8E3CI=; b=V+eOgSuwvtQLwaHDpkUBVii8AlNFqLO/RV6BDfBcMjmJxEL+7E8KbaFVTi+NkfWyfJ xOREEuJ36C0/5KHwtSUPICoiR7ThZfCTNONPuT7elJA7sizk1nGJ3NostlIu0sBw/TzA GSOgA4R7CVKXF21yFGlSu6C3cHCEKdfxpl9wR7xIpukWi94yHWAaItO/7/bOi6stbe6y cqid32csIBFqGoKSwdExh230ziT0OWBf3TH09yL5CuoHYQU97kTZyO+2KMZgEX7VULSt XEWfJZFzpZGSf5Gz+mOkLduZh5lcV3adlqvOB3nbujA59E0PbS8k+DZuImURMs1BoQLu aIlw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to:cc; bh=COeMMyxZK6xzlu68oedZBuY8Hyv0oBCVpPj0VK8E3CI=; b=N3QalvnWs5QZ/qzj6Plhgvx1nKUy+t9PuMEPxeqBK0A9Pok7UnGwbiSskWgRpZ+7d4 4pez+Z05jgH4Kj/JVWPkrNgAC3XSzTwkmIawOfFK/S0TpA1DGCcJE3hYXI47XG/1Pn3l 5f8A+dV9CUphFkPRPsYr/jA2WjrCYog7FB6sCWosMNZo7giMEoMFHvRxt/kq0f1HrnPj 4cndC0mO959ufiRliwCFj5e5tZlUMKqXeEB/PdjwLJUEmYvUmKCiODPp+Us9tnVYMczJ DG7B/hOmqp6PEb1VKsle//ptNWHWTam2ExnYmMCgKHQU5b5g51s/yR7x5TzHaGDq8pqb GOgw==
X-Gm-Message-State: AOPr4FXzfSj3EWwas+Yk1W2fOQyLMIgVgOX3vwBf7jtWEbo2dL5ZvnhN0IBdNKbGlAZw8CUklDEDWPaiA4Pckw==
MIME-Version: 1.0
X-Received: by 10.31.98.135 with SMTP id w129mr8793192vkb.106.1462888261130; Tue, 10 May 2016 06:51:01 -0700 (PDT)
Received: by 10.31.98.195 with HTTP; Tue, 10 May 2016 06:51:01 -0700 (PDT)
Date: Tue, 10 May 2016 15:51:01 +0200
Message-ID: <CAEjQQ5VC_asdH+rviYpDWGPJ1JSsMLO2fPTpzjToQ0WcOv6DGw@mail.gmail.com>
From: Naeem Khademi <naeem.khademi@gmail.com>
To: Uta@ietf.org, tls@ietf.org
Content-Type: multipart/alternative; boundary="94eb2c094e6826a71505327d37f3"
Archived-At: <http://mailarchive.ietf.org/arch/msg/tls/ks3eZY1cfyJfov0px1CNKicU-vw>
Cc: taps@ietf.org
Subject: [TLS] Minimal API for the basic (D)TLS operation? (concerns draft-ietf-taps-transports-usage)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 10 May 2016 13:51:10 -0000

Hi

I am writing this as one of the authors of the
draft-ietf-taps-transports-usage and as a result of our WG discussions
during the TAPS meeting in Buenos Aires. This draft tries to derive a list
of transport service features and primitives (function-calls) provided by
the transport protocols to the application. This is an initial milestone
for building a TAPS system. It proposes a 3-pass process as a systematic
way to derive the primitives and transport service features based on the
IETF-based (abstract) APIs of transport protocols that are currently
covered by the draft.

   - The draft can be found here (currently covering TCP and SCTP only):
   https://tools.ietf.org/html/draft-ietf-taps-transports-usage-00
   - A companion draft covering UDP/UDP-Lite (to be merged with above draft
   eventually):
   https://tools.ietf.org/html/draft-fairhurst-taps-transports-usage-udp-01

The WG’s plan is to have (D)TLS included, initially as an independent draft
which applies the same exact process (Appendix B of
draft-ietf-taps-transports-usage-00) and eventually merging into our draft
as it matures. However we have some questions with regards to this:



*A) Is there a definition of minimal API available that covers the basic
operation? B) If not, is there enough energy in the WG(s) (UTA, TLS) to
define such an API? *

To clarify: we would like to make our lives easier by being able to just
say that (D)TLS can run OVER our TAPS system - but then it may make sense
to layer (D)TLS under a transport that we would base the TAPS system on, so
this is why things get a bit more complicated here.

Cheers,
Naeem