Re: [CDNi] Triggers regexp: draft-finkelman-cdni-sva-extensions-00.txt

"Kevin J. Ma" <kevin.j.ma.ietf@gmail.com> Wed, 07 February 2018 15:01 UTC

Return-Path: <kevin.j.ma.ietf@gmail.com>
X-Original-To: cdni@ietfa.amsl.com
Delivered-To: cdni@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BE378126BF3 for <cdni@ietfa.amsl.com>; Wed, 7 Feb 2018 07:01:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 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, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 9F-OoEHaa5Dl for <cdni@ietfa.amsl.com>; Wed, 7 Feb 2018 07:01:46 -0800 (PST)
Received: from mail-qt0-x234.google.com (mail-qt0-x234.google.com [IPv6:2607:f8b0:400d:c0d::234]) (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 7ECEE120454 for <cdni@ietf.org>; Wed, 7 Feb 2018 07:01:46 -0800 (PST)
Received: by mail-qt0-x234.google.com with SMTP id d8so2013251qtm.0 for <cdni@ietf.org>; Wed, 07 Feb 2018 07:01:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=DpYaNKq3KrB14fPi46Hm9OnwrjTF6Ym5r7qGoFkcyCo=; b=mk5o5z1jEBeLZ6dCxBuS2kn7s3vH8Rh1Dq85nB9KaVqMv0nMVn/jL8Lb/n3VuhRKr9 0DvJTtpr8inRwLrWV1Km9OpzT1LmsehKutQ3HTpJFwVacahbhi+TdJnIj0uidw1R0tWh OIDDXdjXjkHB8ViLXmegY8W7snG+lbO7pGKwBySRn56MZPOYWslqte0Ur3qhwBtwt7Tv Lo6sm6aFDqVaMlLY4PBPNky4YBLoy0ctJfwrX5NlSxipWyEVRecPEIkai69BmYNmRzSH HVxb+KCrQ431j+1sLU2r8FEfxrvo6vw24S2coDstQeAgBX47oidnKG+032PyRJAS8nc9 j/uQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=DpYaNKq3KrB14fPi46Hm9OnwrjTF6Ym5r7qGoFkcyCo=; b=h0lO/f2X/OXbtsINVcY+fp9LG4PXuXQmYWr3NcbAQWa7BIk5fv0hZG1QuLdwAXud0Q JjscIxAI16Y8g/naOXE9iTeny6rcxk3NUUBY4cXXGT5L8NvESJRNNQkGDAG3q/ZDzaVH QBMFU8sB/pBehFf93p+viNQuv0sgbNKMWv8X+y4YioVJhPQl/GAlm+2T+inaLpWKI2T7 LEYcK6SYPd9DIeFPgrwy2Pmz8hdlYrUfq/qX+TK30lV0k3XT7EGIGnOhmdt871PpPrAH Jt/0/eiJ5apFlPm4ZAiK2P5Ug6BYAQ2q7AUkaoV86tEAcaqz8Y+BAs/Gi3ts3N3ab4tx hkrQ==
X-Gm-Message-State: APf1xPBe+39UacapM1Ts65cSVZuAc5WnTHhc9RRHoIpaEk03TlK97P0W jLU5UjgHW7D/yBLekSOsWy7O6A47
X-Google-Smtp-Source: AH8x2272QGHu+dXBSSkxsKjnl8vidO0IesoWosPr/ewwYnWgcp9ScKz4qhelNhypOF5E019g6Fl43A==
X-Received: by 10.200.81.83 with SMTP id h19mr9320501qtn.63.1518015705378; Wed, 07 Feb 2018 07:01:45 -0800 (PST)
Received: from [172.20.20.20] ([73.61.19.35]) by smtp.gmail.com with ESMTPSA id v14sm1210806qtc.56.2018.02.07.07.01.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Feb 2018 07:01:44 -0800 (PST)
Content-Type: multipart/alternative; boundary="Apple-Mail-9FAC7C82-6DA0-46AD-B5CF-BFED49B28738"
Mime-Version: 1.0 (1.0)
From: "Kevin J. Ma" <kevin.j.ma.ietf@gmail.com>
X-Mailer: iPhone Mail (15C202)
In-Reply-To: <CAMb9nTv1uWO3xa1eoL6Bb9_pzZVO+5h+F8fUoaG5khkKBKwPUQ@mail.gmail.com>
Date: Wed, 07 Feb 2018 10:01:43 -0500
Cc: "<cdni@ietf.org>" <cdni@ietf.org>
Content-Transfer-Encoding: 7bit
Message-Id: <FC8D0AB8-FD7F-4D64-B1B3-5FADF6BFBD74@gmail.com>
References: <CAMb9nTv1uWO3xa1eoL6Bb9_pzZVO+5h+F8fUoaG5khkKBKwPUQ@mail.gmail.com>
To: Ori Finkelman <orif@qwilt.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cdni/zo1IBu8e8SSD_Tmc7z5OLTXgsE0>
Subject: Re: [CDNi] Triggers regexp: draft-finkelman-cdni-sva-extensions-00.txt
X-BeenThere: cdni@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This list is to discuss issues associated with the Interconnection of Content Delivery Networks \(CDNs\)" <cdni.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cdni>, <mailto:cdni-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cdni/>
List-Post: <mailto:cdni@ietf.org>
List-Help: <mailto:cdni-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cdni>, <mailto:cdni-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Feb 2018 15:01:50 -0000

I would favor triggers matching uri signing, i.e., PCRE only, to simplify interoperability requirements; unless there's a really good reason implementers should have to support multiple standards?

Sent from my iPhone

> On Feb 7, 2018, at 3:39 AM, Ori Finkelman <orif@qwilt.com> wrote:
> 
> Dear Colleagues,
> Regarding the addition of a regular expression match for triggers, mainly for invalidation.
> What should be the regexp standard we use, PCRE ? POSIX BRE or ERE ?
> Does the type of regrexp need to be exchanged via the interface (trigger and capability) ?
> 
> Example 1: assuming we support only one specific type of regrex
> 
>     { 
>        "regex": "/^(https:\/\/video\.example\.com)\/([a-z])\/([1-7])\/([\/\w \.-]*)*\/?$",    
>        "case-sensitive": true
>     }
> 
> Example 2: assuming regexp type is variable
> 
>     { 
>        "regex": "/^(https:\/\/video\.example\.com)\/([a-z])\/([1-7])\/([\/\w \.-]*)*\/?$",    
>        "case-sensitive": true
>        "regrex-type": "pcre"
>     }
> 
> Thanks,
> Ori
> 
> 
> 
> -- 
> Ori Finkelman
> Qwilt | Work: +972-72-2221647 | Mobile: +972-52-3832189 | orif@qwilt.com
> _______________________________________________
> CDNi mailing list
> CDNi@ietf.org
> https://www.ietf.org/mailman/listinfo/cdni