Re: [sipcore] WGLC: draft-ietf-sipcore-callinfo-spam

worley@ariadne.com (Dale R. Worley) Fri, 16 February 2018 02:37 UTC

Return-Path: <worley@alum.mit.edu>
X-Original-To: sipcore@ietfa.amsl.com
Delivered-To: sipcore@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E50411270AC for <sipcore@ietfa.amsl.com>; Thu, 15 Feb 2018 18:37:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.934
X-Spam-Level:
X-Spam-Status: No, score=-1.934 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_SOFTFAIL=0.665] autolearn=no autolearn_force=no
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 Ucj70oNBdu7R for <sipcore@ietfa.amsl.com>; Thu, 15 Feb 2018 18:37:03 -0800 (PST)
Received: from resqmta-ch2-03v.sys.comcast.net (resqmta-ch2-03v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7A871126DEE for <sipcore@ietf.org>; Thu, 15 Feb 2018 18:37:03 -0800 (PST)
Received: from resomta-ch2-09v.sys.comcast.net ([69.252.207.105]) by resqmta-ch2-03v.sys.comcast.net with ESMTP id mVtVexWrSFtNCmVtWexvu4; Fri, 16 Feb 2018 02:37:02 +0000
Received: from hobgoblin.ariadne.com ([65.96.206.41]) by resomta-ch2-09v.sys.comcast.net with SMTP id mVtUeLayWsRexmVtWeTyHP; Fri, 16 Feb 2018 02:37:02 +0000
Received: from hobgoblin.ariadne.com (hobgoblin.ariadne.com [127.0.0.1]) by hobgoblin.ariadne.com (8.14.7/8.14.7) with ESMTP id w1G2b0ki010951 for <sipcore@ietf.org>; Thu, 15 Feb 2018 21:37:00 -0500
Received: (from worley@localhost) by hobgoblin.ariadne.com (8.14.7/8.14.7/Submit) id w1G2b0fu010948; Thu, 15 Feb 2018 21:37:00 -0500
X-Authentication-Warning: hobgoblin.ariadne.com: worley set sender to worley@alum.mit.edu using -f
From: worley@ariadne.com
To: sipcore@ietf.org
In-Reply-To: <f3338ec2-87b1-6da2-6afe-6f7f2916dc59@nostrum.com> (mahoney@nostrum.com)
Sender: worley@ariadne.com
Date: Thu, 15 Feb 2018 21:37:00 -0500
Message-ID: <87inaxfynn.fsf@hobgoblin.ariadne.com>
X-CMAE-Envelope: MS4wfOC8rjHvJpSizoF9hMnOxHLkwyVxGtE4NZazQtu96rjZWiSXgCMLcoVC7lj/h9nGgtulekf5yByLq45gbKVQXM6PvnX1krEzHM2d4Jb4tK9vD59LlEdz YW5PaTLHW1h6tG+cLhBWELR96NicgNRxeXKit/x8APuCaMybHMEm5qCE
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/e_qMZzqCXvGzj8Jx03d2efCL-bc>
Subject: Re: [sipcore] WGLC: draft-ietf-sipcore-callinfo-spam
X-BeenThere: sipcore@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: SIP Core Working Group <sipcore.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sipcore>, <mailto:sipcore-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sipcore/>
List-Post: <mailto:sipcore@ietf.org>
List-Help: <mailto:sipcore-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sipcore>, <mailto:sipcore-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 16 Feb 2018 02:37:05 -0000

"A. Jean Mahoney" <mahoney@nostrum.com> writes:
> Working Group Last Call starts today for draft-ietf-sipcore-callinfo-spam.

   3.  Overview of Operation

   SIP proxies or B2BUAs MUST add a new Call-Info "info" header field
   instance, rather than add parameters to an existing one.  Thus, there
   MAY be several Call-Info header fields of purpose "info" in one
   request.

This is correct, but I misread it the first time.  The grammar of
Call-Info is:

    Call-Info   =  "Call-Info" HCOLON info *(COMMA info)
    info        =  LAQUOT absoluteURI RAQUOT *( SEMI info-param)
    info-param  =  ( "purpose" EQUAL ( "icon" / "info"
                   / "card" / token ) ) / generic-param

and the above text means that a device may not add further info-param's
to an existing info.  But it may add additional info's to an existing
Call-Info, rather than using separate header fields.

However, it's easy to misread as meaning that the following is not
allowed:

   Call-Info: <http://wwww.example.com/
       5974c8d942f120351143> ;source=carrier.example.com
       ;purpose=info ;confidence=85 ;type=fraud ;reason="FTC list",
       <data:> ;source=other.example.com
       ;purpose=info ;confidence=20 ;type=prison

Is there a way to phrase this that is less easy to misread?

   6.1.  REGISTER Response
   ...
   SIP/2.0 200 OK
   ...
   From: Bob <sips:bob@biloxi.example.com>;tag=a73kszlfl
   To: Bob <sips:bob@biloxi.example.com>;tag=34095828jh
   ...
   Feature-Caps: *sip.call-info.spam

Having recently made the same mistake, I notice that the Feature-Caps
header should be:

   Feature-Caps: * ;sip.call-info.spam

See the BNF in RFC 6809 section 6.2.1.

Dale