[Anima] GRASP as a secure session layer

Brian E Carpenter <brian.e.carpenter@gmail.com> Tue, 12 November 2019 20:01 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: anima@ietfa.amsl.com
Delivered-To: anima@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BCF6F120839 for <anima@ietfa.amsl.com>; Tue, 12 Nov 2019 12:01:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, 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 FJYFw0aoK55Z for <anima@ietfa.amsl.com>; Tue, 12 Nov 2019 12:01:54 -0800 (PST)
Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) (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 3717B1200F9 for <anima@ietf.org>; Tue, 12 Nov 2019 12:01:54 -0800 (PST)
Received: by mail-pf1-x432.google.com with SMTP id p26so14095117pfq.8 for <anima@ietf.org>; Tue, 12 Nov 2019 12:01:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:organization:to:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=KB7CFEWK2OGVNjxM8L7bWc95Y4tDmZZ7GhMufo7QI78=; b=gJVs3NEwC0+NjaBEuxOJertgWkyaWuwy/RMx741nwaRKGW0Zu8Xnd9REyDqcIgYk77 cPaT0Avwh3hZBgXs9hLq8UCzvUQpM0iT2CTWNo4xEeLZvSQ/DVVYB+J/6anPl5wjSWsG gFQmLkaQTsSjS2KWSdHQSAOKnn0gYs7NLkGdwD0Xg6IPgbVDCZJ1I46IrZ84EJV8Zaev 4UYxAjys8gJaRRNQHAqqSZNFyWctXn/OZh/ylsFfZz8JjHtp58Ma4WZLhKaOnRaHSwD7 WoazN5n+Jpib2bJ+zD0FMSy25PsB4g0MZruC2nUMu/VKUYPvjGEdi69/ZIxz2O+wHc6k ERZQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:organization:to:subject:message-id:date :user-agent:mime-version:content-language:content-transfer-encoding; bh=KB7CFEWK2OGVNjxM8L7bWc95Y4tDmZZ7GhMufo7QI78=; b=dlq4ybiK9EmlwcNiCyfBnCVZvLrE7gFdeUUZExoruNgR3mCtWet6rHWeLYPbEcZAud R+g4Re31OlHt0nMrAi0QOTUg6bSZbtMRrSVCE7jsGtNMjogUfAE/vPS9VrpAZotWKhTZ Bhy6hFqY6hTejFAdiR840cJ+5d2v2Y6+l9YeEwHykYmPppYbBEZs2phbJLoiYqFKauFA 6x6G/3vIsBkAtilSy01ZLt/I3CiWG+aiSssdWZch50EeAw5zAH1JifnVWK55RzBBaRwu Zk1QMpQxJHnrTapQMPsIss+yZPZRloS3MRju8s1aV0Izwg1D0GuZegQV9LtfTiJzGNOv Yygw==
X-Gm-Message-State: APjAAAUx9SeTYrhy+JVhKouzpUqfthesXcsKlXjLIbUmBhZiBtWKc4Bu nix0RVV4UZIYnHy1cSg2pLrQqqpy
X-Google-Smtp-Source: APXvYqyrWmtbzRqzsVCaY805mJIUZVshqJpbKQXsvidWGMKWaiJ/5lVnkmS/fGbscOZDdHjT/kWT2Q==
X-Received: by 2002:a63:dd11:: with SMTP id t17mr37116235pgg.242.1573588913357; Tue, 12 Nov 2019 12:01:53 -0800 (PST)
Received: from [192.168.178.30] (8.166.69.111.dynamic.snap.net.nz. [111.69.166.8]) by smtp.gmail.com with ESMTPSA id b26sm19624987pfo.158.2019.11.12.12.01.51 for <anima@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Nov 2019 12:01:52 -0800 (PST)
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
To: Anima WG <anima@ietf.org>
Message-ID: <87eb9861-114d-b910-fb97-9405470715be@gmail.com>
Date: Wed, 13 Nov 2019 09:01:48 +1300
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/5zwxyP8yWigJZBQNF02owH0yU4w>
Subject: [Anima] GRASP as a secure session layer
X-BeenThere: anima@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Autonomic Networking Integrated Model and Approach <anima.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/anima>, <mailto:anima-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/anima/>
List-Post: <mailto:anima@ietf.org>
List-Help: <mailto:anima-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/anima>, <mailto:anima-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Nov 2019 20:01:57 -0000

Hi,

While thinking about what we need in an ANIMA ecosystem, and about how
we might marry ANIMA with more traditional techniques like NETCONF/YANG
(as indicated in RFC8368), I remembered one suggestion that I think came
from Toerless: is there a way for an ASA to use a secure "clear channel"
across the ACP? But of course if we do that, many of the features of
GRASP would be lost (discovery, session management).

So here's a possible solution. Allow an ASA to use GRASP discovery etc.
to set up a secure session with another ASA, but then instead of using
GRASP negotiation or synchronization messages, simply take over the session
and use simple send/receive primitives for whatever it wants.

No sooner thought than done. I added one optional parameter to
grasp.req_negotiate() to indicate this mode, and two new functions
grasp.send() and grasp.recv(), and GRASP became a secure session layer.
The code is really too new for me to commit to GitHub, but it's a very
convincing proof of concept.
 
Regards
   Brian Carpenter