[domainrep] Draft response set - further questions
Steve Allam <steve.allam@trustsphere.com> Wed, 27 June 2012 15:54 UTC
Return-Path: <steve.allam@trustsphere.com>
X-Original-To: domainrep@ietfa.amsl.com
Delivered-To: domainrep@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8482621F87BF for <domainrep@ietfa.amsl.com>; Wed, 27 Jun 2012 08:54:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.344
X-Spam-Level:
X-Spam-Status: No, score=-2.344 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FU_ENDS_2_WRDS=0.255]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ME7pYn-gJwR4 for <domainrep@ietfa.amsl.com>; Wed, 27 Jun 2012 08:54:12 -0700 (PDT)
Received: from ob-rmv3.realmail-asp.co.uk (obgw1.realmail-asp.co.uk [80.249.100.237]) by ietfa.amsl.com (Postfix) with ESMTP id 7064621F87BC for <domainrep@ietf.org>; Wed, 27 Jun 2012 08:54:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=trustsphere.com; s=rmdkim; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:To:MIME-Version:From:Date:Message-ID; bh=z7CBVKoSmmfvbJqlVT9B38qto3U5w36nsNbO1gL8TXk=; b=o8YAOFkMAjaLXhBGsnGo+iZfIyiIq6SpZkUhwo5i8V2sQUspAu/0ZT5YJoSK2My/YZIDX1oFNZhkrCwqGiVQttS8rsOCQC8DFk5yACkE/SEisDydComAo9IaMlrwOuriVj31/kIFp2nnSlPJ5p/0fQQ3MpCDl9HAkXkXDsfxq1k=;
Received: from [116.12.149.130] (helo=cgpro.boxsentry.com) by ob-rmv3.realmail-asp.co.uk with esmtp id 1SjuZG-0007Fy-Ey for domainrep@ietf.org; Wed, 27 Jun 2012 16:54:11 +0100
Received: by cgpro.boxsentry.com (CommuniGate Pro PIPE 5.4.0) with PIPE id 2018644; Wed, 27 Jun 2012 23:52:24 +0800
Received: from [88.97.130.81] (account steve.allam@trustsphere.com HELO [10.1.1.35]) by cgpro.boxsentry.com (CommuniGate Pro SMTP 5.4.0) with ESMTPSA id 2018643 for domainrep@ietf.org; Wed, 27 Jun 2012 23:52:09 +0800
Message-ID: <4FEB2C8C.1020205@trustsphere.com>
Date: Wed, 27 Jun 2012 16:53:48 +0100
From: Steve Allam <steve.allam@trustsphere.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: domainrep@ietf.org
References: <4F7E26F5.5080508@gmail.com>
In-Reply-To: <4F7E26F5.5080508@gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-LogiQ-query: 116.12.149.130/steve.allam@trustsphere.com/domainrep@ietf.org (I000 Unknown UNKNOWN.UNKNOWN )
X-RealMail-Category: UNKNOWN/UNKNOWN/
X-RealMail-Ref: UNKNOWN/str=0001.0A0B020D.4FEB2CA3.0061,ss=1,re=0.000,fgs=0
X-RealMail-IWF: NO
X-CTCH-SenderID: steve.allam@trustsphere.com
X-CTCH-SenderID-Flags: 0
X-CTCH-SenderID-TotalMessages: 1
X-CTCH-SenderID-Total-Spam: 0
X-CTCH-SenderID-Total-Suspected: 0
Subject: [domainrep] Draft response set - further questions
X-BeenThere: domainrep@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Domain Reputation discussion list <domainrep.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/domainrep>, <mailto:domainrep-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/domainrep>
List-Post: <mailto:domainrep@ietf.org>
List-Help: <mailto:domainrep-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/domainrep>, <mailto:domainrep-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 27 Jun 2012 15:54:13 -0000
All, Back at the Paris meeting, I promised that I would complete a draft vocab (now response set) and also some sort of primer for people thinking of implementing the standard. I regret that this has taken me longer than I had planned, but I am making good progress, and should be able to post something in a few more days. I do have some further questions, which I thought rather than direct at individuals, I would address to the list. The draft states that a reputation server using the repute framework will make available a template at a well-known location, thus on one of our servers, you would be able to find the template at: http://tsserver.com/.well-known/repute-template The template itself contains the URI-TEMPLATE for the reputation service. The issue/question I have is with the template - I was hoping that URI-TEMPLATE defines a mechanism for quite detailed templating including mandatory and optional parameters, but find that it (seems to) stop short on that. The issue I am having is that our reputation server currently supports two queries (assertions in repute speak), which require different parameters, some of which are mandatory, others are optional. In order to provide a single template which covers both queries, it is not possible to cover this nuance, as uri-template only allows for a string of optional query components. Here is an example: First query would be: http://tsserver.com/check_sender?i=1.1.1.1&s=steve@ts.com&r=joe@acme.com Second: http://tsserver.com/check_ip?i=1.1.1.1 Both have additional optional parameters. However, to represent these as a single template is not great: {scheme}://tsserver.com/{assertion}{?i,s,r} - this covers both, but gives the impression that both assertions will be happy to receive all three (optional) parameters, whereas in fact one would ignore 's' and 'r' and the other would fail if 's' and 'r' were not supplied. As I understand it, when parsing the template, the client is obliged to supply those parameters that it has available, rather than all parameters - again, there is no separation between mandatory and optional parameters. This makes the template system much less useful than it could be, and in our case, doesn't help the client. So I have two issues really: 1. How to 'split' the template to give a different response per assertion, so that the correct parameter list can be given for each, like: {scheme}://tsserver.com/check_ip{?i} {scheme}://tsserver.com/check_sender{?i,s,r} 2. How to tell the client about optional and mandatory parameters, - maybe this actually means the client implementor needs to refer to the implementation guide and not rely on the template at all, which beggers the question - why have the template?? I wondered about the validity of: {scheme}://tsserver.com/check_sender{?i,s,r}{&v,f} - to try and show that i,s, and r are mandatory and that v,f are optional - this is as NOT specified in the URI-TEMPLATE, the use of {&} is a continuation or further optional params, after a literal component, such as {?i}&app=test{&v} Comments or advice please! Regards, Steve
- [domainrep] Paris wg minutes Dave Crocker
- [domainrep] Draft response set - further questions Steve Allam