[6lowapp] SIP and 6LoWPAN & Some General Suggestions

Shidan <shidan@gmail.com> Sat, 17 October 2009 21:00 UTC

Return-Path: <shidan@gmail.com>
X-Original-To: 6lowapp@core3.amsl.com
Delivered-To: 6lowapp@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EEBAA3A6839 for <6lowapp@core3.amsl.com>; Sat, 17 Oct 2009 14:00:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.109
X-Spam-Level:
X-Spam-Status: No, score=-1.109 tagged_above=-999 required=5 tests=[BAYES_05=-1.11, HTML_MESSAGE=0.001]
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 YaBgwYNyexPZ for <6lowapp@core3.amsl.com>; Sat, 17 Oct 2009 14:00:35 -0700 (PDT)
Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by core3.amsl.com (Postfix) with ESMTP id 76BB93A6784 for <6lowapp@ietf.org>; Sat, 17 Oct 2009 14:00:35 -0700 (PDT)
Received: by ey-out-2122.google.com with SMTP id 9so747531eyd.51 for <6lowapp@ietf.org>; Sat, 17 Oct 2009 14:00:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=/jztCFF6v0mgM37QqD8ymD34oSUPBZ45HMf7m1eOKKk=; b=nJ9kUce7EO6BVutycaOy9DUk3gs0WO99aswOIhchV3Ec2nwXIc0SoqEEfINw9tsrQi LW04/QUf/aO8ry8aOR62gFYYUWNtQGESpmPTMODBHSKK1Zm4GA1cYmamGiSVORj8H0SN CfKyBghMLH1QA3djbIBgmobu0fodGxM/Trh7o=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=i1npINjV/W7SP7IKK5eETfcaRcXpYWwfOW9TvygsTIXNdkTMduIPLdzYfW4DMSyoiP JUeLHEDWRwdSuIfquA35utq96iGtSB5egJ6Z6Z78k/0MPBO2ZxDd9eYDxManFF9/WbiP 4GGcjt9CQeiwTFqltPBH30ByWH6lHuUSKHtiw=
MIME-Version: 1.0
Received: by 10.216.86.137 with SMTP id w9mr1136326wee.104.1255813236371; Sat, 17 Oct 2009 14:00:36 -0700 (PDT)
Date: Sat, 17 Oct 2009 17:00:36 -0400
Message-ID: <429b380e0910171400g83a10e4r5aff1be8d3c22c0a@mail.gmail.com>
From: Shidan <shidan@gmail.com>
To: 6lowapp@ietf.org
Content-Type: multipart/alternative; boundary=0016e6d7f07edbb048047627cd88
Subject: [6lowapp] SIP and 6LoWPAN & Some General Suggestions
X-BeenThere: 6lowapp@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Application protocols for constrained nodes and networks <6lowapp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/6lowapp>, <mailto:6lowapp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/6lowapp>
List-Post: <mailto:6lowapp@ietf.org>
List-Help: <mailto:6lowapp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6lowapp>, <mailto:6lowapp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 17 Oct 2009 21:00:37 -0000

I don't think I have sufficient time to write anything other than a very
high level motivation I-D on the merits of SIP, as defined by RFC 3261 &
3625, for ubiquitos computing and building automation. I will start this
tonight and submit it sometime on Monday for sure. *
*
Here are some recommendations I have for this working group in general:
*
*

   - With regards to the general 6LoWAPP problem statement, I suggest the WG
   adopt the use cases of OpenHan as criteria for evaluating any application
   protocol suitable for the 6LowAPP working group. Their use cases are the
   most extensive that I have seen.


   - I think before we consider any binary encoding, we must consider how
   binary compression of application level protocols is done in current
   bandwidth constrained communications networks like GSM. I certainly think we
   would benefit from learning/involving SIGCOMM in making this decision. Power
   contraint seems to me to be a much more unique issue this WG has to deal
   with than bandwidth constraint.

Now going back to the concepts of a specific binary encoding for SIP as a
base protocol here are some ideas:

   - Any method for binary compression of HTTP would work seamlessly with
   SIP, so for example everything in section 2 of the Chopan I-D could be
   applied to all SIP messages and follow the same request/response
   model. Also, referring to the Chopan I-D, SIP already addresses sections  3,
   4 and a significant portion of 5. For these purposes, no new extensions or
   modifications to SIP need to be defined and it really becomes just a matter
   of defining the message encoding. One area that needs to be addressed with
   SIP is sleeping nodes and this is something we definitely need to think
   about more.


   - In addition, any type of binary encoding of XML, "ZigBee like" data
   representations or anything else that can or will be transported by a binary
   HTTP protocol, will also work with SIP as the mechanism is identical in
   both.


   - For security, relying solely on 802.15.4's AES is, in my opinion, not a
   good idea. for example both SIP and, as Schmidt et al outlined, IPFIX
   requires TLS and support of something like Tiny 3-TLS would also work well
   for us*.*


   - As I mentioned before, SIP as a base protocol can make gatewaying with
   XMPP and some "real-time web" REST based protocols such as FeedSync or ATOM
   Pub + PubHubSub, much more efficient. If we are defining all of this using
   HTTP you are going to be defining heavier payloads than needed. Describing
   this will take more time than I have for the motivational I-D, this is
   something in the coming months I would be happy to expand on fully if this
   WG considers it worthwhile.


   - As much as possible, the 6LowPAN framework should be abstracted to
   unify and fit commonalities in SNMP, SIP and "real time web" protocols. So
   the way we define eventing, for example, should be done in a way that lends
   to simple interfacing with systems that use any of the above.

* *I would appreciate any comments or suggestions to this note before I
start writing the motivational I-D later tonight EST.
*
*
Shidan Gouran