Internet DRAFT - draft-ietf-geopriv-flow-identity
draft-ietf-geopriv-flow-identity
GEOPRIV R. Bellis
Internet-Draft Nominet UK
Updates: RFC 6155 (if approved) March 1, 2013
Intended status: Standards Track
Expires: September 2, 2013
Flow Identity Extension for HELD
draft-ietf-geopriv-flow-identity-02
Abstract
RFC 6155 specifies an extension for the HTTP-Enabled Location
Delivery (HELD) Protocol allowing the use of an IP address and port
number to request a Device location based on an individual packet
flow.
However, certain kinds of NAT require that identifiers for both ends
of the packet flow must be specified in order to unambiguously
satisfy the location request.
This document specifies an XML Schema and URN Sub-Namespace for a
Flow Identity Extension for HELD to support this requirement.
This document updates RFC 6155 by deprecating the port number
elements specified therein.
Status of this Memo
This Internet-Draft is submitted in full conformance with the
provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet-
Drafts is at http://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress."
This Internet-Draft will expire on September 2, 2013.
Copyright Notice
Copyright (c) 2013 IETF Trust and the persons identified as the
document authors. All rights reserved.
Bellis Expires September 2, 2013 [Page 1]
Internet-Draft Flow Identity for HELD March 2013
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3
2. Conventions used in this document . . . . . . . . . . . . . . 4
3. Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
4. XML Schema . . . . . . . . . . . . . . . . . . . . . . . . . . 6
5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 8
5.1. URN Sub-Namespace Registration for
urn:ietf:params:xml:ns:geopriv:held:flow . . . . . . . . . 8
5.2. XML Schema Registration . . . . . . . . . . . . . . . . . 8
6. Privacy Considerations . . . . . . . . . . . . . . . . . . . . 9
7. Security Considerations . . . . . . . . . . . . . . . . . . . 10
8. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 11
9. Notes to the RFC Editor (to be removed) . . . . . . . . . . . 12
10. References . . . . . . . . . . . . . . . . . . . . . . . . . . 13
10.1. Normative References . . . . . . . . . . . . . . . . . . . 13
10.2. Informative References . . . . . . . . . . . . . . . . . . 13
Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 14
Bellis Expires September 2, 2013 [Page 2]
Internet-Draft Flow Identity for HELD March 2013
1. Introduction
Work at the Emergency Location Task Group of NICC Standards Ltd (the
UK's telecoms industry standards body) prompted the addition of Port
Number identifiers in HELD Identity [RFC6155] to allow HELD [RFC5985]
requests for target Devices that are behind a NAT device.
Subsequent analysis has determined that in the presence of particular
types of NAT device, and in particular Carrier Grade NATs, it is
necessary to know the complete tuple of (layer 3 protocol, layer 4
protocol, source address, source port, destination address,
destination port) in order to unambiguously identify a flow, and
therefore the true target Device.
This document specifies an XML Schema and URN Sub-Namespace for a
Flow Identity Extension to support this requirement and provides a
more generally applicable means of identifying a Device based on the
parameters of a network flow of which it is an endpoint.
Since the Location Recipient may not know in advance whether the
Target is behind a NAT device the port number elements from Section
3.3 of [RFC6155] are deprecated and MUST NOT be used in new client
implementations. Note that server implementations of this
specification may still encounter requests formed by clients that
have implemented only [RFC6155] and those requests might contain the
deprecated port element.
For implementation details not specified in this document please
refer to [RFC6155] and [RFC5985].
Bellis Expires September 2, 2013 [Page 3]
Internet-Draft Flow Identity for HELD March 2013
2. Conventions used in this document
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in [RFC2119].
Bellis Expires September 2, 2013 [Page 4]
Internet-Draft Flow Identity for HELD March 2013
3. Usage
An example HELD request is shown below:
<locationRequest xmlns="urn:ietf:params:xml:ns:geopriv:held"
responseTime="8">
<locationType exact="true">geodetic</locationType>
<flow xmlns="urn:ietf:params:xml:ns:geopriv:held:flow"
layer4="tcp" layer3="ipv4">
<src>
<address>192.0.2.25</address>
<port>1024</port>
</src>
<dst>
<address>198.51.100.238</address>
<port>80</port>
</dst>
</flow>
</locationRequest>
The <flow> element MUST contain:
o a "layer3" attribute with a value of "ipv4" or "ipv6".
o a "layer4" attribute with a value of "udp" [RFC0768], "tcp"
[RFC0793], "sctp" [RFC4960], "dccp" [RFC4340], or a decimal
integer representing any applicable protocol from the IANA
Assigned Internet Protocol Numbers Registry.
o a <src> element and a <dst> element whose child elements contain
the layer 3 address (which MUST conform to the relevant
"IPv4address" or "IPv6address" grammar as defined in [RFC3986])
and the layer 4 port number of each end of the flow.
and MAY optionally contain:
o a "target" attribute with a value of "src" (default) or "dst" to
indicate which end of the flow is the Target of the
<locationRequest> with respect to the HELD protocol.
Bellis Expires September 2, 2013 [Page 5]
Internet-Draft Flow Identity for HELD March 2013
4. XML Schema
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:ietf:params:xml:ns:geopriv:held:flow"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:flow="urn:ietf:params:xml:ns:geopriv:held:flow"
elementFormDefault="qualified">
<xs:annotation>
<xs:appinfo
source="urn:ietf:params:xml:schema:geopriv:held:flow">
HELD Flow Identity</xs:appinfo>
<xs:documentation
source="http://www.rfc-editor.org/rfc/rfcNEW1.txt">
This document defines Flow Identity elements for HELD.
</xs:documentation>
</xs:annotation>
<xs:element name="flow" type="flow:flowIdentity"/>
<xs:complexType name="flowIdentity">
<xs:sequence>
<xs:element name="src" type="flow:flowEndpoint"/>
<xs:element name="dst" type="flow:flowEndpoint"/>
</xs:sequence>
<xs:attribute name="target" default="src">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:pattern value="(src|dst)"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="layer3" use="required">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:pattern value="(ipv4|ipv6)"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="layer4" use="required">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:pattern value="(udp|tcp|sctp|dccp|\d+)"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
Bellis Expires September 2, 2013 [Page 6]
Internet-Draft Flow Identity for HELD March 2013
<xs:complexType name="flowEndpoint">
<xs:all>
<xs:element name="address">
<xs:simpleType>
<xs:restriction base="xs:token"/>
</xs:simpleType>
</xs:element>
<xs:element name="port">
<xs:simpleType>
<xs:restriction base="xs:unsignedShort">
<xs:minInclusive value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:all>
</xs:complexType>
</xs:schema>
Bellis Expires September 2, 2013 [Page 7]
Internet-Draft Flow Identity for HELD March 2013
5. IANA Considerations
5.1. URN Sub-Namespace Registration for
urn:ietf:params:xml:ns:geopriv:held:flow
This section registers a new XML namespace,
"urn:ietf:params:xml:ns:geopriv:held:flow", as per the guidelines in
[RFC3688].
URI: urn:ietf:params:xml:ns:geopriv:held:flow
Registrant Contact: IETF GEOPRIV Working Group (geopriv@ietf.org),
Ray Bellis (ray.bellis@nominet.org.uk)
XML:
BEGIN
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>HELD Flow Identity Parameters</title>
</head>
<body>
<h1>Namespace for HELD Flow Identity Parameters</h1>
<h2>urn:ietf:params:xml:ns:geopriv:held:flow</h2>
<p>See <a href="http://www.rfc-editor.org/rfc/rfcNEW1.txt">
RFC NEW1</a>.</p>
</body>
</html>
END
5.2. XML Schema Registration
This section registers an XML schema as per the guidelines in
[RFC3688]
URI: urn:ietf:params:xml:ns:geopriv:held:flow
Registrant Contact: IETF GEOPRIV Working Group (geopriv@ietf.org),
Ray Bellis (ray.bellis@nominet.org.uk)
Schema: The XML for this schema can be found as the entirety of
Section 4 of this document.
Bellis Expires September 2, 2013 [Page 8]
Internet-Draft Flow Identity for HELD March 2013
6. Privacy Considerations
All of the considerations in [RFC6155] apply to the use of the
mechanism defined in this document. Like [RFC6155], this
specification assumes that the Location Server being queried already
has access to the internal state of the network near one end of the
flow being queried (for instance, access to the bindings in a NAT in
the path of the flow). Clients making queries using this
specification in environments where that assumption may not be true
should be aware that the request provides information about that
client's communications that the Location Server would not otherwise
be able to discern and may represent additional privacy exposure for
that client.
Bellis Expires September 2, 2013 [Page 9]
Internet-Draft Flow Identity for HELD March 2013
7. Security Considerations
This document introduces no new security considerations beyond those
in [RFC6155]
Bellis Expires September 2, 2013 [Page 10]
Internet-Draft Flow Identity for HELD March 2013
8. Acknowledgements
The author wishes to thank the members of the NICC Emergency Location
Task Group, the IETF GeoPriv Working Group, and the authors of
[RFC6155], from which the text for the URN and XML Schema
Registrations were derived.
Bellis Expires September 2, 2013 [Page 11]
Internet-Draft Flow Identity for HELD March 2013
9. Notes to the RFC Editor (to be removed)
References to "NEW1" need to be replaced with this document's final
RFC number.
Bellis Expires September 2, 2013 [Page 12]
Internet-Draft Flow Identity for HELD March 2013
10. References
10.1. Normative References
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119, March 1997.
[RFC3688] Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688,
January 2004.
[RFC3986] Berners-Lee, T., Fielding, R., and L. Masinter, "Uniform
Resource Identifier (URI): Generic Syntax", STD 66,
RFC 3986, January 2005.
[RFC5985] Barnes, M., "HTTP-Enabled Location Delivery (HELD)",
RFC 5985, September 2010.
[RFC6155] Winterbottom, J., Thomson, M., Tschofenig, H., and R.
Barnes, "Use of Device Identity in HTTP-Enabled Location
Delivery (HELD)", RFC 6155, March 2011.
10.2. Informative References
[RFC0768] Postel, J., "User Datagram Protocol", STD 6, RFC 768,
August 1980.
[RFC0793] Postel, J., "Transmission Control Protocol", STD 7,
RFC 793, September 1981.
[RFC4340] Kohler, E., Handley, M., and S. Floyd, "Datagram
Congestion Control Protocol (DCCP)", RFC 4340, March 2006.
[RFC4960] Stewart, R., "Stream Control Transmission Protocol",
RFC 4960, September 2007.
Bellis Expires September 2, 2013 [Page 13]
Internet-Draft Flow Identity for HELD March 2013
Author's Address
Ray Bellis
Nominet UK
Edmund Halley Road
Oxford OX4 4DQ
United Kingdom
Phone: +44 1865 332211
Email: ray.bellis@nominet.org.uk
URI: http://www.nominet.org.uk/
Bellis Expires September 2, 2013 [Page 14]