ATOCA | R.L. Barnes |
Internet-Draft | BBN Technologies |
Intended status: Informational | October 24, 2011 |
Expires: April 26, 2012 |
Scalable Robust Alerting Protocol (SCRAP)
draft-barnes-atoca-delivery-00.txt
Emergency alerts need to be delivered reliably from one source to many recipients at once. TCP is unsuitable for this style of delivery, because the large number of acknowledgements would likely cause network congestion. This document defines a UDP-based protocol for delivering alerts that supports fragmentation and retransmission for reliability, and allows the sender of a datagram to control whether acknowledgements are sent.
Please send feedback to the atoca@ietf.org mailing list.
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 April 26, 2012.
Copyright (c) 2011 IETF Trust and the persons identified as the document authors. All rights reserved.
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.
[TODO]
Should we include hash value in URI format? Or leave that to the metadata/configuration protocol?
Should we randomize the order in which fragments are transmitted in order to deal with correlated loss?
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 RFC 2119 [RFC2119].
[Sent over UDP. Default port is XXX.]
[Payload format: Alert ID (2 octets / 16 bits); Fragment number (1 octet / 8 bits); Number of fragments in alert (1 octet / 8 bits); Alert data (remaining octets)]
[Content of reassembled packets MUST be an ESCAPE-formatted alert]
[Specifies the format/source of an alert that will be sent]
[alert-src:[host/IP]:[srcport]?:[dstport]]
[Choose an alert ID]
[Divide payload into fragments that will fit within an MTU]
[Attach headers to fragments]
[Transmit fragments in order]
[Re-transmit the sequence to deal with loss:]
[Probability of receipt given loss (p=P(success)), #fragments (F), #retransmissions (R), : q = (1 - (1-p)^R)^F]
[Number of retransmissions given loss (1-p), resilience (q), #fragments (F): R = log(1-q^(1/F)) / log(1-p)]
[Maintain a set of alert buffers identified by alert ID (possibly an empty set)]
[Alert buffer contents: alert id; fragments to be received; list of fragment numbers; list of fragments]
[When an alert packet arrives...]
[If there is a buffer for its ID, add it to the buffer; if the buffer is complete, re-assemble, validate ESCAPE, and deliver alert to higher layer]
[If there is not a buffer for its ID, then allocate a new one and add the fragment.]
[If all fragments for an alert do not arrive within T1 milliseconds, discard the buffer; default T1=5000]
[Default port number]
[This protocol provides no security protections; security provided by ESCAPE.]
[Main concern is DOS, mitigated by buffer timeouts; at worst, have to buffer 2^32 octets, if all buffers full for all alert IDs. MAY impose limits on buffer size / number of buffers active simultaneously. ]
[TODO]
[I-D.ietf-atoca-requirements] | Schulzrinne, H, Norreys, S, Rosen, B and H Tschofenig, "Requirements, Terminology and Framework for Exigent Communications", Internet-Draft draft-ietf-atoca-requirements-02, October 2011. |