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

Ori Finkelman <orif@qwilt.com> Wed, 07 February 2018 17:41 UTC

Return-Path: <orif@qwilt.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 AB05D12D838 for <cdni@ietfa.amsl.com>; Wed, 7 Feb 2018 09:41:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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=qwilt-com.20150623.gappssmtp.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 eRxdozVxCbMI for <cdni@ietfa.amsl.com>; Wed, 7 Feb 2018 09:41:48 -0800 (PST)
Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (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 C4AED12D833 for <cdni@ietf.org>; Wed, 7 Feb 2018 09:41:47 -0800 (PST)
Received: by mail-wm0-x22e.google.com with SMTP id r71so4718826wmd.1 for <cdni@ietf.org>; Wed, 07 Feb 2018 09:41:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qwilt-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bvuPzNPfJ15rfD9lD7FReqUrnK0yYeAiNvGQRSRQscs=; b=SIU6lj1doP+i5EHQxWhvAgV1CP3filuU2k/d3z9QGDtTKFLbE13mwa+ny8oSPNVAd7 JcfKNZ5sYtC4p/yaJAKsm1aZ7ALz7LqkrzJk8BctgsfBr3BkbIX120/iTKUi8i4yRJZN Oh09Qz9J7EDAhPOt4lPA70g7oERjCvoL+GGazEU0KfZphwPFVxuE+gP6hE8pfi09Kvs1 sA2GYW1+hvazDrqQ1OhmZ3EXO9JK3q1vW/XeU0Rdzw8ldotspk2l1JyZ/XC2PdlT1fOm G0WbpYdZaLPVb1swZP8t2Y7ajDe6csLCc7A+EbnydHzqA46SqgblV158o+DM/hIbsqra F7nQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bvuPzNPfJ15rfD9lD7FReqUrnK0yYeAiNvGQRSRQscs=; b=SO5NSY3eZnmi2zt6IFTG2EaaZLprCs3Gb3ky+Hglsk6qHPMMCkc2KC+AsvasYvh22Q AyiSEsrTNPGcU73neRucDKEWiECCrl45VqhMiwf3vaFqfV3d7r2r22C1v8SlaZNLduWn 93KBX1MwtnrGSiSX58LwQb4QcSx89IMRbGwrlz4DL8OvWlOXDVAFzeozFoz3EH06rqeP XgbYjTF31IFk43RetnKUxKCPwyWPmPTtEXsEJzV/NyFMJhU8zjgCCIa1qbfzk1Xje8Ru mNFWGy9yATryXjMgQvXr3R1lkL6rB9CCl/ABRSleMVCg3ys5KHPWOdJbq0WPP/9/9AWR 9+UA==
X-Gm-Message-State: APf1xPBt2LtVQNxUWwWKhWZsSQGEmPur63pcRkeY4ZcRTc54cf//wJ52 OH83djP8b8+GBOBIbibsZErvHWbo2rXOSSH80rCD0g==
X-Google-Smtp-Source: AH8x224qbfDrkf5L3wilDDlD29gH9JFOaULNisXWi4EclONRJAJuzPA5JZr6iGbT89GFYYdnPpDUGGadjXf3v8L5mkU=
X-Received: by 10.28.0.212 with SMTP id 203mr4981686wma.128.1518025306191; Wed, 07 Feb 2018 09:41:46 -0800 (PST)
MIME-Version: 1.0
References: <CAMb9nTv1uWO3xa1eoL6Bb9_pzZVO+5h+F8fUoaG5khkKBKwPUQ@mail.gmail.com> <FC8D0AB8-FD7F-4D64-B1B3-5FADF6BFBD74@gmail.com>
In-Reply-To: <FC8D0AB8-FD7F-4D64-B1B3-5FADF6BFBD74@gmail.com>
From: Ori Finkelman <orif@qwilt.com>
Date: Wed, 07 Feb 2018 17:41:35 +0000
Message-ID: <CAMb9nTt2=e-41C0oXTmd+7PqgMTRj-Yexs8=na=a9d18ynfAFQ@mail.gmail.com>
To: "Kevin J. Ma" <kevin.j.ma.ietf@gmail.com>
Cc: "<cdni@ietf.org>" <cdni@ietf.org>
Content-Type: multipart/alternative; boundary="001a113c9bf222e9af0564a2cfb9"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cdni/ciM7VVXgg6d3mUiy4Hk9tCPlEWc>
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 17:41:50 -0000

I also prefer pcre only.

On Wed, Feb 7, 2018, 17:01 Kevin J. Ma <kevin.j.ma.ietf@gmail.com> wrote:

> 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
>
>

-- 

*Ori Finkelman*Qwilt | Work: +972-72-2221647 | Mobile: +972-52-3832189 |
orif@qwilt.com