Re: [port-srv-reg] Still broken ABNF

Magnus Westerlund <magnus.westerlund@ericsson.com> Tue, 12 October 2010 12:50 UTC

Return-Path: <magnus.westerlund@ericsson.com>
X-Original-To: port-srv-reg@core3.amsl.com
Delivered-To: port-srv-reg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 01B6C3A6981 for <port-srv-reg@core3.amsl.com>; Tue, 12 Oct 2010 05:50:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.473
X-Spam-Level:
X-Spam-Status: No, score=-106.473 tagged_above=-999 required=5 tests=[AWL=0.126, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3v7JPHE3oD8N for <port-srv-reg@core3.amsl.com>; Tue, 12 Oct 2010 05:50:19 -0700 (PDT)
Received: from mailgw9.se.ericsson.net (mailgw9.se.ericsson.net [193.180.251.57]) by core3.amsl.com (Postfix) with ESMTP id AD1A33A6969 for <port-srv-reg@ietf.org>; Tue, 12 Oct 2010 05:50:18 -0700 (PDT)
X-AuditID: c1b4fb39-b7c6dae000006ad7-39-4cb459d47707
Received: from esealmw128.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw9.se.ericsson.net (Symantec Mail Security) with SMTP id 90.B9.27351.4D954BC4; Tue, 12 Oct 2010 14:51:32 +0200 (CEST)
Received: from esealmw128.eemea.ericsson.se ([153.88.254.176]) by esealmw128.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959); Tue, 12 Oct 2010 14:51:32 +0200
Received: from [147.214.183.82] ([147.214.183.82]) by esealmw128.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959); Tue, 12 Oct 2010 14:51:32 +0200
Message-ID: <4CB459D4.2010604@ericsson.com>
Date: Tue, 12 Oct 2010 14:51:32 +0200
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; sv-SE; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: port-srv-reg@ietf.org
References: <4CB453BB.7020307@ericsson.com>
In-Reply-To: <4CB453BB.7020307@ericsson.com>
X-Enigmail-Version: 1.1.1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-OriginalArrivalTime: 12 Oct 2010 12:51:32.0250 (UTC) FILETIME=[3213C7A0:01CB6A0C]
X-Brightmail-Tracker: AAAAAA==
Subject: Re: [port-srv-reg] Still broken ABNF
X-BeenThere: port-srv-reg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of updates to service name and transport protocol port registry <port-srv-reg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/port-srv-reg>, <mailto:port-srv-reg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/port-srv-reg>
List-Post: <mailto:port-srv-reg@ietf.org>
List-Help: <mailto:port-srv-reg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/port-srv-reg>, <mailto:port-srv-reg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Oct 2010 12:50:21 -0000

Magnus Westerlund skrev 2010-10-12 14:25:
> Hi,
> 
> The ABNF is still broken compared to the text rules. The current ABNF:
> 
>       SRVNAME = (ALPHA / (1*DIGIT [HYPHEN] ALPHA)) *([HYPHEN] ALNUM)
>       ALNUM   = ALPHA / DIGIT     ; A-Z, a-z, 0-9
>       HYPHEN  = %x2d              ; "-"
>       ALPHA   = %x41-5A / %x61-7A ; A-Z / a-z [RFC5234]
>       DIGIT   = %x30-39           ; 0-9       [RFC5234]
> 
> the text rule allows the following name: "1-2A" but the above doesn't.
> 
> I think if we tweak the rule to the following it will work:
> 
> SRVNAME = (ALPHA / (*(*DIGIT [HYPHEN]) ALPHA) *([HYPHEN] ALNUM)

The above is missing a parenthis it should be:

  SRVNAME = (ALPHA / (*(*DIGIT [HYPHEN]) ALPHA)) *([HYPHEN] ALNUM)

> 
> This would also allows such names as "1-2-3B"
> 
> Can some please check?
> 
> cheers
> 
> Magnus Westerlund
> 
> ----------------------------------------------------------------------
> Multimedia Technologies, Ericsson Research EAB/TVM
> ----------------------------------------------------------------------
> Ericsson AB                | Phone  +46 10 7148287
> Färögatan 6                | Mobile +46 73 0949079
> SE-164 80 Stockholm, Sweden| mailto: magnus.westerlund@ericsson.com
> ----------------------------------------------------------------------
> _______________________________________________
> Port-srv-reg mailing list
> Port-srv-reg@ietf.org
> https://www.ietf.org/mailman/listinfo/port-srv-reg
> 


-- 

Magnus Westerlund

----------------------------------------------------------------------
Multimedia Technologies, Ericsson Research EAB/TVM
----------------------------------------------------------------------
Ericsson AB                | Phone  +46 10 7148287
Färögatan 6                | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden| mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------