Re: [paws] DB discovery [was: RE: need for DB initialization message]

"Rosen, Brian" <Brian.Rosen@neustar.biz> Mon, 13 August 2012 19:11 UTC

Return-Path: <brian.rosen@neustar.biz>
X-Original-To: paws@ietfa.amsl.com
Delivered-To: paws@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5F88E21F84E1 for <paws@ietfa.amsl.com>; Mon, 13 Aug 2012 12:11:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.403
X-Spam-Level:
X-Spam-Status: No, score=-6.403 tagged_above=-999 required=5 tests=[AWL=0.196, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 shM8tPkDTQa2 for <paws@ietfa.amsl.com>; Mon, 13 Aug 2012 12:11:39 -0700 (PDT)
Received: from neustar.com (smartmail.neustar.com [156.154.17.104]) by ietfa.amsl.com (Postfix) with ESMTP id CE1B321F84D9 for <paws@ietf.org>; Mon, 13 Aug 2012 12:11:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=neustar.biz; s=neustarbiz; t=1344885210; x=1660236644; q=dns/txt; h=From:Date:Subject:Message-ID:Content-Language: Content-Type:Content-Transfer-Encoding; bh=9mvewOECt++qTDO0LyjC2 /z9qdFYY+gXQ8dc/CC9wTo=; b=ZekDtAr90glfvxLV3NFKYRz4moHkoHCvg0lwU rMNKBfxELTlTvxEO+dOYgOrsCBUPZeVdFLOr4s/eH4zAfURaA==
Received: from ([10.31.13.242]) by stihiron2.va.neustar.com with ESMTP with TLS id J041124103.12590958; Mon, 13 Aug 2012 15:13:28 -0400
Received: from STNTEXCH01.cis.neustar.com ([fe80::31b6:4d09:2ada:e6c0]) by STNTEXCHHT03.cis.neustar.com ([::1]) with mapi; Mon, 13 Aug 2012 15:11:32 -0400
From: "Rosen, Brian" <Brian.Rosen@neustar.biz>
Date: Mon, 13 Aug 2012 15:11:31 -0400
Thread-Topic: DB discovery [was: RE: [paws] need for DB initialization message]
Thread-Index: Ac15gqFNItaZd90nQoOT2JXoMeeCoQABNFzr
Message-ID: <55A5A9A87506CB4BA580BF9D531957DA690227B9@STNTEXCH01.cis.neustar.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
x-ems-proccessed: R64IxjzeHPwwd+efoj3ZcA==
x-ems-stamp: TjSF62YlQ192mnS1kX+E3g==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
To: "'gabor.bajko@nokia.com'" <gabor.bajko@nokia.com>, "'basavaraj.patil@nokia.com'" <basavaraj.patil@nokia.com>, "'peter.mccann@huawei.com'" <peter.mccann@huawei.com>, "'jmh@joelhalpern.com'" <jmh@joelhalpern.com>
Cc: "'paws@ietf.org'" <paws@ietf.org>
Subject: Re: [paws] DB discovery [was: RE: need for DB initialization message]
X-BeenThere: paws@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "Protocol to Access White Space database \(PAWS\)" <paws.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/paws>, <mailto:paws-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/paws>
List-Post: <mailto:paws@ietf.org>
List-Help: <mailto:paws-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/paws>, <mailto:paws-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Aug 2012 19:11:40 -0000

The U-NAPTR is only part of LoST discovery.  If you don't like it, your only alternative is provisioning, but some folks seem to like provisioning.  We have a whole lot of experience with service discovery.  There are no simple mechanisms that work globally without support from some kind of infrastructure.  To me, the notion that a device manufacturer will support a discovery service for the lifetime of the device is less likely as ISP support for LoST, since the latter will be needed for emergency calling.

If we needed to do a json encoding of LoST, no one will object.

The only subset we need is a single URN (although you could imagine a country specific URN), and no validation.
The service boundary part is very handy for a mobile device to determine when it has moved beyond the boundary served by the same URN.  This would happen if you roamed across a border.  It's not a required element on the server, and the client can ignore it.

Brian <as individual>



 -----Original Message-----
From: 	Gabor.Bajko@nokia.com [mailto:Gabor.Bajko@nokia.com]
Sent:	Monday, August 13, 2012 02:46 PM Eastern Standard Time
To:	Rosen, Brian; Basavaraj.Patil@nokia.com; peter.mccann@huawei.com; jmh@joelhalpern.com
Cc:	paws@ietf.org
Subject:	DB discovery [was: RE: [paws] need for DB initialization message]

I could also see a few things why LoST might not be the best fit for WSDB discovery:

LoST does not specify LoST server discovery. There is a separate RFC on discovering LoST using DHCP, but that's not deployment friendly. So a discovery mechanism, eg the one described in Raj's document, is needed anyway.

LoST relies on U-NAPTR, and we all know how difficult is to get DNS admins add new records to their zones.

The WG seems to prefer JSON encoding to XML, to be able to support lightweight devices, LoST uses XML.

There is a lot of stuff in LoST, we would need a very small subset of it.

- Gabor

-----Original Message-----
From: ext Rosen, Brian [mailto:Brian.Rosen@neustar.biz] 
Sent: Monday, August 13, 2012 10:59 AM
To: Patil Basavaraj (Nokia-CIC/Dallas); 'peter.mccann@huawei.com'; 'jmh@joelhalpern.com'; Bajko Gabor (Nokia-CIC/SiliconValley)
Cc: 'paws@ietf.org'
Subject: RE: [paws] need for DB initialization message

in what way is it overkill?  You pass a location and a short URN in, using a simple HTTP exchange, and you get a (set of) URIs out.  The extra stuff it does (like recur/iterate) is useful.  About the only feature we don't need is validate, which is trivial to not support (since it's optional).  

Please cite a specific aspect of LoST which is overkill for us.

Brian <as individual>



 -----Original Message-----
From: 	Basavaraj.Patil@nokia.com [mailto:Basavaraj.Patil@nokia.com]
Sent:	Monday, August 13, 2012 01:49 PM Eastern Standard Time
To:	Rosen, Brian; peter.mccann@huawei.com; jmh@joelhalpern.com; Gabor.Bajko@nokia.com
Cc:	paws@ietf.org
Subject:	Re: [paws] need for DB initialization message


I think that LoST is a bit of an overkill for what is really needed in the context of PAWS for database discovery.
The WSDB discovery server (as per draft-probasco-paws-discovery-01.txt)
can provide the master device with information about the relevant WSDB (or list of DBs) to query as well as the regulatory domain that it is currently located in.

-Raj 
 


On 8/13/12 9:55 AM, "ext Rosen, Brian" <Brian.Rosen@neustar.biz> wrote:

><as individual>
>I prefer LoST for discovery.  LoST can do recur/iterate like DNS, and 
>it can return more than one URI.  That would allow the base LoST 
>discovery to find a server that returned the list.  The initial LoST 
>query returns the list server, and a recur or iterate returns the list.
>
>Brian
>
>
>
> -----Original Message-----
>From: 	Peter McCann [mailto:Peter.McCann@huawei.com]
>Sent:	Monday, August 13, 2012 10:47 AM Eastern Standard Time
>To:	Joel M. Halpern; Gabor.Bajko@nokia.com
>Cc:	paws@ietf.org
>Subject:	Re: [paws] need for DB initialization message
>
>Agree with Joel.
>
>I think a LOST-style service (a) is good for discovering a server 
>associated with a regulatory domain.  After that, you can query the 
>regulator (b) to find approved databases.  Then, you can choose one of 
>those databases with which you have a relationship or that you know 
>through some means will service your request (c).  The protocol for (b) 
>and (c) could both be PAWS, if we just add some sort of indirection to 
>our specification.
>
>-Pete
>
>
>Joel M. Halpern wrote:
>> The master has to know its location in geographic coordinates (GPS,
>> etc.)   As far as I know, we have not assumed that the maps to translate
>> that into political domains are known to the master a priori.
>> 
>> There are deployment scenarios (cell towers come to mind) where the 
>> master can probably be provisioned with the right administrative 
>> information.  There are other scenarios where that is not obviously 
>> achievable.
>> 
>> Yours,
>> Joel
>> 
>> On 8/10/2012 7:33 PM, Gabor.Bajko@nokia.com wrote:
>>> While I agree that re-direction from an intermediary to the final
>> recipient should not be disallowed, I don't think the use case you 
>> are describing is a valid one. The master needs to know its location 
>> before engaging into DB discovery. If it doesn't, then it can use 
>> some existing mechanism to find it out (eg, RFC5985) prior to the DB 
>> discovery process, but that for me is a separate transaction.
>>> 
>>> The current DB discovery mechanism described in
>> http://www.ietf.org/id/draft-probasco-paws-discovery-01.txt assumes  
>>that the master knows its location before performing DB discovery;  
>>after which it needs to do a regulatory domain discovery as well.
>> Brian suggested regulatory domain could be a parameter of the DB URI,  
>>thus no need for separate regulatory domain discovery. Any other 
>>suggestions?
>>> 
>>> - Gabor
>>> 
>>> -----Original Message-----
>>> From: ext Joel M. Halpern [mailto:jmh@joelhalpern.com]
>>> Sent: Thursday, August 09, 2012 6:25 PM
>>> To: Bajko Gabor (Nokia-CIC/SiliconValley)
>>> Cc: paws@ietf.org
>>> Subject: Re: [paws] need for DB initialization message
>>> 
>>> Related suggestion:  Assuming we have a discovery protocol which can 
>>> return a URI, the protocol semantics should be such that the URI can 
>>> be the final DB URI, or another intermediary in the process.  Thus, 
>>> the protocol should not lock in that there can be only 0 or 1 
>>> intermediaries in the resolution, but should allow several.  (We 
>>> already have suggested cases where at least two are needed, one to 
>>> determine where you are by asking your vendor, and one to determine 
>>> who you can talk to by asking your local regulator.)
>>> 
>>> Yours,
>>> Joel
>>> 
>>> On 8/9/2012 8:02 PM, Gabor.Bajko@nokia.com wrote:
>>>> Folks,
>>>> 
>>>> During the Vancouver F2F discussions we had some good discussions, 
>>>> but no agreement on wether an initialization message, as proposed 
>>>> in draft-das is necessary or not.
>>>> 
>>>> You may check the minutes to see what was said at the mike:
>>>> http://www.ietf.org/proceedings/84/minutes/minutes-84-paws
>>>> 
>>>> People spoke mostly in favor, but there were people who also said 
>>>> that this message is redundant with registration message.
>>>> 
>>>> Question#1: need for an initialization message
>>>> 
>>>> Unfortunately we did not have time to discuss the DB discovery 
>>>> aspect, and that may be related to this topic. The only DB 
>>>> discovery document available currently, 
>>>> http://www.ietf.org/id/draft-probasco-paws-discovery-01.txt, 
>>>> proposes, that the master device contacts a pre-provisioned 
>>>> discovery server and provides its location, and in return the 
>>>> discovery server returns the URI of the DB for that regulatory 
>>>> domain. At this point, the master device knows which DB to contact, 
>>>> but it does not necessarily know what regulatory domain that DB 
>>>> belongs to. Thus, it doesn't know what are the operating rules, 
>>>> whether it has to authenticate, or register, etc.
>>>> 
>>>> Thus, it seems logical to me that the master device first queries 
>>>> the DB to find out the regulatory domain. We even have such a 
>>>> requirement in the requirement draft, requirement:
>>>> 
>>>> "P.3:   The protocol MUST support determination of
>>>> regulatory             domain governing its current location."
>>>> 
>>>> The information about the regulatory domain may be cached, and the 
>>>> master device may not need to place that query every time, but this 
>>>> message exchange may be necessary in certain cases. Any comments to 
>>>> this point?
>>>> 
>>>> Question#2
>>>> 
>>>> Then, it is a slightly separate issue, if this message exchange has 
>>>> to take place, then what additional information the DB returns.
>>>> draft-das proposes that regulatory domain specific information be 
>>>> returned to the master device.
>>>> 
>>>> Question#3
>>>> 
>>>> Yet another separate point is that draft-das proposes to use this 
>>>> initialization message also to initiate client authentication 
>>>> (putting shared secret vs cert issue aside for the time being). In 
>>>> cases when the master device does not know the regulatory domain it 
>>>> is in, then it does not know whether authentication is required in 
>>>> that regulatory domain or not; so why would initiate authentication 
>>>> then? Similar comment applies to draft-wei, where it is proposed 
>>>> that after DB discovery the master device authenticates at TLS 
>>>> layer and performs registration; how does it know that it has to 
>>>> authenticate and register, if it doesn't know the regulatory domain?
>>>> 
>>>> In my opinion (chair hat off), the sequence of events should be sg 
>>>> like
>>>> this:
>>>> 
>>>> 1.DB discovery (may be skipped if cached information available)
>>>> 
>>>> 2.Regulatory domain query (may be skipped if cached information
>>>> available)
>>>> 
>>>> 3.Authentication (if required)
>>>> 
>>>> 4.Registration (if required)
>>>> 
>>>> 5.Channel availability query (may be combined with registration?)
>>>> 
>>>> Comments are welcome and expected.
>>>> 
>>>> -Gabor
>>>> 
>
>_______________________________________________
>paws mailing list
>paws@ietf.org
>https://www.ietf.org/mailman/listinfo/paws
>_______________________________________________
>paws mailing list
>paws@ietf.org
>https://www.ietf.org/mailman/listinfo/paws