Re: [netmod] WG Last Call for draft-ietf-netmod-syslog-model-15

"Clyde Wildes (cwildes)" <cwildes@cisco.com> Tue, 18 July 2017 18:21 UTC

Return-Path: <cwildes@cisco.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AFA9E129AD3 for <netmod@ietfa.amsl.com>; Tue, 18 Jul 2017 11:21:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.523
X-Spam-Level:
X-Spam-Status: No, score=-14.523 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 IGBriAoN0mQ7 for <netmod@ietfa.amsl.com>; Tue, 18 Jul 2017 11:21:01 -0700 (PDT)
Received: from alln-iport-5.cisco.com (alln-iport-5.cisco.com [173.37.142.92]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AF81512F28B for <netmod@ietf.org>; Tue, 18 Jul 2017 11:21:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3198; q=dns/txt; s=iport; t=1500402061; x=1501611661; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=Yr778uW45tGRWa+XjLVQLBiUdD0Ed9CWaow1HwTBH6I=; b=kqr3TVBRN+TAwSAiTscMdGuBogi9x9bxp+pEWUX/a6gGp/j1joUqbUav aAVm9Zv5f6jDEXP0bhQKWoeMmaaEaePJoGnQ8pk91BXH5I20bUyjKEKaS OcKFUlAAwifEkMmt/H8MkzCG/v36yhpr6b9yLc0iY0neHCwXrqZKs6r00 k=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DBAACJUG5Z/4kNJK1YAxkBAQEBAQEBAQEBAQcBAQEBAYNaZIEUB44EkUUilgSCESEPhEhPAhqDOD8YAQIBAQEBAQEBayiFGQEBAQMBARsGEToLDgICAQgOAggCAiYCAgIZDAsVEAIEAQ0Fii8Qr0qCJop/AQEBAQEBAQEBAQEBAQEBAQEBAQEBHQWBBoIdg02BYSsLgm6EahcKJoJMMIIxBZ80AodIjEwMkiOVVgEfOIEKdRVJEgGHA3YBAYdEgQ0BAQE
X-IronPort-AV: E=Sophos;i="5.40,378,1496102400"; d="scan'208";a="455718266"
Received: from alln-core-4.cisco.com ([173.36.13.137]) by alln-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 18 Jul 2017 18:21:00 +0000
Received: from XCH-ALN-015.cisco.com (xch-aln-015.cisco.com [173.36.7.25]) by alln-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id v6IIL0T4001303 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 18 Jul 2017 18:21:00 GMT
Received: from xch-aln-015.cisco.com (173.36.7.25) by XCH-ALN-015.cisco.com (173.36.7.25) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Tue, 18 Jul 2017 13:21:00 -0500
Received: from xch-aln-015.cisco.com ([173.36.7.25]) by XCH-ALN-015.cisco.com ([173.36.7.25]) with mapi id 15.00.1210.000; Tue, 18 Jul 2017 13:21:00 -0500
From: "Clyde Wildes (cwildes)" <cwildes@cisco.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Alex Campbell <Alex.Campbell@Aviatnet.com>
CC: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] WG Last Call for draft-ietf-netmod-syslog-model-15
Thread-Index: AQHS90+tnxmaKupZ/kyeF+fon7bzlqJYswb2gADxToCAADC8AA==
Date: Tue, 18 Jul 2017 18:20:59 +0000
Message-ID: <E521D480-2187-4477-A3C7-8ADB6743A0B8@cisco.com>
References: <91245764-587A-4F9C-B8F4-8A9A7E2BC9BB@juniper.net> <1500333639904.57913@Aviatnet.com> <20170718082635.GA18279@elstar.local>
In-Reply-To: <20170718082635.GA18279@elstar.local>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.154.163.52]
Content-Type: text/plain; charset="utf-8"
Content-ID: <C76542FFFABD52439D3780C9F88642CC@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/WJ2ZiMS6n9ehl8T-F_GMHwrRNOE>
Subject: Re: [netmod] WG Last Call for draft-ietf-netmod-syslog-model-15
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Jul 2017 18:21:04 -0000

Juergen and Alex,

The choice of Posix 1003.2 regular expressions was because of multiple vendors who supported same and asked for model support:
http://www.juniper.net/documentation/en_US/junos12.3/topics/reference/configuration-statement/syslog-edit-system.html
http://www.rsyslog.com/doc/v8-stable/configuration/filters.html
http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/esm/command/esm-cr-book/esm-cr-a1.html#wp1888787448
https://infoproducts.alcatel-lucent.com/html/0_add-h-f/93-0071-10-01/7750_SR_OS_System_Management_Guide/Logcli.html#1030840

Posix 1003.2 regular expressions support Unicode characters using the notation: \uFFFF or \x{FFFF}.

I will insert a normative reference to POSIX 1003.2 in the next revision of the draft.

Thanks,

Clyde

On 7/18/17, 1:26 AM, "netmod on behalf of Juergen Schoenwaelder" <netmod-bounces@ietf.org on behalf of j.schoenwaelder@jacobs-university.de> wrote:

    On Mon, Jul 17, 2017 at 11:20:40PM +0000, Alex Campbell wrote:
    > I am considering to implement the data model in this draft. (dependent on business priorities of course)
    > I have reviewed this draft and found the following issues.
    > 
    > * I see pattern-match is specified to use POSIX 1003.2 regular expressions. This is presumably for compatibility with existing implementations; however it is inconsistent with most of YANG (which is specified to use XPath regular expressions) - unless these are the same.
    
    The fact that the schema language uses a different regular expression
    language than the data model is by itself not a problem I think. What
    is potentially a problem is that RFC 5424 syslog messages are UTF-8
    and hence the regular expression language adopted should be able to
    match on unicode characters. Does POSIX 1003.2 do that? (There also
    needs to be a normative reference to POSIX 1003.2 or whatever is
    finally adopted.)
    
    /js
    
    -- 
    Juergen Schoenwaelder           Jacobs University Bremen gGmbH
    Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
    Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>
    
    _______________________________________________
    netmod mailing list
    netmod@ietf.org
    https://www.ietf.org/mailman/listinfo/netmod