1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
|
Network Working Group W. Almesberger
Request for Comments: 2170 J. Le Boudec
Category: Informational P. Oechslin
LRC, DI-EPFL, Switzerland
July 1997
Application REQuested IP over ATM (AREQUIPA)
Status of this Memo
This memo provides information for the Internet community. This memo
does not specify an Internet standard of any kind. Distribution of
this memo is unlimited.
IESG Note:
This RFC has not had the benefit of the rigorous peer review that is
part of the process in an IETF working group. The technology it
describes has been implemented and is now undergoing testing. It
would be wise to analyze the results of this testing as well as to
understand alternatives before committing to this approach for IP
over ATM with QoS guarantees.
Abstract
This document specifies a method for allowing ATM-attached hosts that
have direct ATM connectivity to set up end-to-end IP over ATM
connections within the reachable ATM cloud, on request from
applications, and for the exclusive use by the requesting
applications. This allows the requesting applications to benefit in a
straightforward way from ATM's inherent ability to guarantee the
quality of service (QoS).
Given a mapping from service classes, as defined by INTSERV[6], to
ATM traffic descriptors, Arequipa can be used to implement integrated
services over ATM link layers. Usage of Arequipa to provide
integrated services even if ATM is only available for intermediate
links is not discussed in this document but should be straight-
forward.
The major advantage of using an approach like Arequipa is that it
needs to be implemented only on the hosts using it. It requires no
extra service (eg. NHRP or RSVP) to be deployed on the switches or
routers of the ATM cloud.
Almesberger, et. al. Informational [Page 1]
^L
RFC 2170 AREQUIPA July 1997
We discuss the implementation of Arequipa for hosts running IPv4 and
IPv6. As an illustration, we also discuss how World-Wide-Web
applications can use Arequipa to deliver documents with a guaranteed
quality of service.
In particular we show how
- Arequipa can be implemented in IPv4 by slightly modifying the
- Arequipa can be implemented in IPv6[3] by the appropriate use of
flow labels and the extension of the neighbour cache,
- Arequipa can be used in the Web by adding extra information in
the headers of HTTP requests and responses.
Finally, we address safety and security implications.
1. Introduction
QoS guarantees are important for delivery of multi-media data and
commercial services on the Internet. When two applications on
machines running IP over ATM need to transfer data, all the necessary
gears to guarantee QoS can be found in the ATM layer. We consider
the case where it is desired to use end-to-end ATM connections
between applications residing on ATM hosts that have end-to-end ATM
connectivity.
Opening direct ATM connections between two applications is possible,
but then the already available transport protocols, like TCP, can not
be reused.
This is why we propose Application REQuested IP over ATM (AREQUIPA).
Arequipa allows applications to request that two machines be
connected by a direct ATM connection with given QoS at the link
level. Arequipa makes sure that only data from the applications that
requested the connection actually goes through that connection. After
setup of the Arequipa connection, the applications can use the
standard IP protocol suite to exchange data.
2. API semantics
We now define a semantical API for Arequipa. Note that an actual API
may perform additional functions (eg. mapping of a given service
specification to ATM traffic descriptors)
We define the three new API functions for the TCP/IP stack:
Arequipa_preset (socket_descriptor, destination IP address,
destination protid/port, destination ATM Address,
ATM service and QoS parameters)
Almesberger, et. al. Informational [Page 2]
^L
RFC 2170 AREQUIPA July 1997
Arequipa_preset establishes or prepares establishment of a new ATM
connection to the given address with the given ATM service and QoS.
It makes sure that any further data sent on the specified socket
will use the new ATM connection.
Arequipa_preset is invoked before a TCP/IP connection is
established or before sending data(grams), respectively. (Active
open.)
Arequipa_expect (socket_descriptor, allow)
Arequipa_expect prepares the system to use an expected incoming
Arequipa connection for outgoing traffic of a given socket. If
allow equals TRUE then, as soon as the socket receives data from an
incoming Arequipa connection, all its return traffic is sent over
that Arequipa connection. If allow equals FALSE the traffic from
that socket is always sent over the standard IP route. Note that
Arequipa_expect is only applicable to connection oriented sockets,
eg. TCP sockets or connected UDP sockets.
Arequipa_expect is invoked by the peer which is expecting
data(grams) or accepting connections. (Passive open.) It is
typically called immediately after a socket has been created. It
may also be called when a data transfer is already going on.
Arequipa_close (socket_descriptor)
Closes the corresponding ATM connection. Any further traffic
between the endpoints is routed like other traffic. Arequipa_close
is implied when closing the socket.
Note that the use of Arequipa_expect or _preset only reflects the
direction of the initial dialog in the Arequipa connection. Actual
data can flow in both directions.
An actual implementation may use less arguments for Arequipa_preset
if some of the information is already passed by other networking
operations.
3. Implementation with IPv4
To implement Arequipa with IPv4, ATMARP must be able not only to
handle associations of ATM addresses and IP addresses, but also
associations of one ATM address with an IP address plus endpoint
(socket). This allows to dedicate an ATM connection for the traffic
between two endpoints.
Almesberger, et. al. Informational [Page 3]
^L
RFC 2170 AREQUIPA July 1997
For the active open, a destination ATM address must be associated
with a socket. In systems using per-socket route and ARP caching,
this can be done by presetting the caches with the appropriate
values. Establishment of the SVC is delegated to ATMARP. Care must be
taken that routing and ARP information obtained through Arequipa does
not leak to other parts of the system.
For the passive open, an incoming SVC must be associated with the
socket that terminates the corresponding connection or data flow.
Most of this functionality is already available in the existing
protocol stack. To avoid an incoming Arequipa SVC to be mistaken for
an IP-over-ATM SVC, the setup message uses a specific Broadband High
Layer Identifier (BHLI), see below. Seeing the BHLI, ATMARP knows
that the SVC is of the dedicated type. The socket to which it has to
be associated is identified as soon as a datagram is received through
the SVC. If an Arequipa_expect has been done for that socket, then
the SVC is used for all return traffic of that socket.
If application A1 on host H1 wants a direct ATM connection to
application A2 on host H2 it does the following:
Both applications first get in contact using the standard IP over ATM
to exchange the ATM address of the receiver (atm2) and the endpoints
(S1, S2) (i.e. protocol and port number; we assume that a protocol
with ports, such as TCP or UDP, is used) at both hosts between which
communication will occur. How this is performed depends on the
application protocols. In Section 5 we give an example for HTTP.
A2 invokes Arequipa_expect to indicate that it wants to make use of
an expected incoming ATM connection.
A1 invokes Arequipa_preset to open or prepare opening of an ATM
connection to H2 using ATM address atm2 and the QoS desired by A1 as
soon as data is sent through S1. The connection is associated with S1
such that no other traffic (e.g. generated by other applications)
uses the new ATM connection.
Almesberger, et. al. Informational [Page 4]
^L
RFC 2170 AREQUIPA July 1997
An Arequipa connection shall be signaled by using the procedures and
codings described in RFC1755 [7], with the addition that the BHLI
information element be included in the SETUP message, with the
following coding:
------------------------------------------------------------------
| bb_high_layer_information |
------------------------------------------------------------------
| high_layer_information_type 3 (vendor-specific |
| application id.) |
| high_layer_information 00-60-D7 (EPFL OUI) |
| 01-00-00-01 (Arequipa) |
------------------------------------------------------------------
As soon as data arrives from H1:S1 at H2:S2, the ATM connection the
data has arrived on is identified as the dedicated connection for
this data flow and S2 is changed to exclusively send on that
connection.
From this point on all traffic exchanged between S1 of A1 and S2 of
A2 will use the new ATM connection with the desired QoS.
Note that it is possible for H1 and H2 to belong to the same LIS [2]
and still decide to use an Arequipa connection between applications,
in addition to one or several other, non-Arequipa ATM connections
between hosts H1 and H2. There may also exist several Arequipa
connections between two hosts.
4. Implementation with IPv6
With IPv6, sources take advantage of the Flow Label field in the IPv6
header [3].
We assume as in [4] that the conceptual host model uses, among
others, a neighbour cache and a destination cache. The destination
cache holds entries about destinations to which traffic has been sent
recently, while the neighbour cache holds entries about neighbours to
which traffic has been sent recently. With the classical IP over ATM
model [1], entries in the neighbour cache can only refer to systems
in the same LIS; we propose to go beyond this limitation and allow
systems beyond the LIS to appear there and be treated as neighbours,
in the case where a direct link level connection (here, an ATM
connection) can be established.
The destination is keyed in [4] by the IP (destination) address. We
replace this by the IP (destination) address and flow label.
Almesberger, et. al. Informational [Page 5]
^L
RFC 2170 AREQUIPA July 1997
We assume that with IPv6, a mechanism will be provided for
applications to request flow labels which, at the host, form a unique
flow-label/destination-address pair. This will prevent two different
flows which go to the same destination from accidentally using the
same flow label. Such a uniqueness requirement is also desirable for
other applications which rely on flow-label/destination-address
pairs, like for example RSVP.
A typical scenario is:
Application A1 on host H1 and application A2 on host H2 first get in
contact using the standard IP over ATM to exchange their ATM address
(atm1, atm2) and to define a protocol, port number pair (S1, S2) and
flow labels (L1, L2) for the communication over the ATM connection.
(We assume that a protocol with ports, such as TCP or UDP, is used).
How this is performed depends on the application protocols. In
Section 5 we give an example for HTTP.
A2 tells its networking entity that it wants to send its outgoing
packets with flow label L2 over an expected incoming ATM connection.
A1 tells its data link entity to open an ATM connection to H2 using
ATM address atm2, with the QoS desired by A1. The connection is
associated with L1 and L2 as explained below so that no other traffic
generated by other applications uses the new ATM connection.
From this point on all traffic exchanged between applications A1 on
H1 and application A2 on H2 will use this ATM connection.
An example of destination and neighbour cache entries at H1 is given
below.
Destination Cache
IPAddr flowLabel neighbourCache pathMTU
H2 L1 ptr1 (1)
H2 * ptr2 (2)
Neighbour Cache
IPAddr linkLayerAddr isRouter reachabilityState invalidationTimer
H2 v2 no (3) t2
R3 v3 yes REACHABLE t3
In the example, the route to destination H2 for all traffic other
than the one using the ATM connection requested between application
A1 and A2 uses the default route (perhaps set up by the classical IP
model), with router R3 as the next hop; v2 is a pointer to an ATM
interface and a VPCI/VCI that identifies the Arequipa connection.
Similarly, v3 points to the ATM connection to router R3. ptr1 points
Almesberger, et. al. Informational [Page 6]
^L
RFC 2170 AREQUIPA July 1997
to the first line in Neighbour Cache, and ptr2 to the second one.
Path MTUs (1) and (2) are obtained by ATM signaling; they may be
different. Reachability state (3) is determined as usual by the
reachability protocol [4].
Host H1 must restrict the use of this ATM connection to datagrams
with flow label L1. Other traffic from H1 to H2 must use the generic
entry in the destination table (flow label = "*"). Host H1 must
restrict the use of flow label L1 for destination H2 to traffic
generated by application A1 on port S1. (The same holds by analogy
for host H2).
On the receiving side, host H2 may use label L1 for routing
internally the IP packets to the appropriate entity.
5. Example: Arequipa for the Web
This is a brief explanation of how Web [5] servers and browsers can
use Arequipa to transmit documents with a guaranteed QoS.
What we describe below does not violate the standards of HTML and
HTTP but makes use of their built-in extensibility. The server and
client we describe can thus interact seamlessly with non-modified
servers or clients. A similar extension could be used if Web
documents were to be exchanged using RSVP.
Browsers add one extra field in all their requests or responses to
indicate their ATM address. Web documents are extended with meta
information to describe the ATM service and corresponding QoS needed
to transmit them. Note that this information could be in form of an
intserv flowspec and mapped to ATM traffic descriptors.
If a browser always wants documents with QoS meta-information to be
delivered using Arequipa, it adds an additional field in its request
to indicate the port on which it is expecting the data.
If a browser wants to decide whether Arequipa should be used or not,
it does not give the port on which the server should send the data.
When a server gets a request with an ATM address, it checks whether
the requested document has QoS meta-information. If this is not the
case, it delivers the document like a standard server. If the
document has QoS meta-information, the server looks for a port
information in the request. If it finds a port, it opens an Arequipa
socket (Arequipa_preset) to the ATM address of the client with the
QoS given in the document. It sends the reply through this new
connection. If the server finds no port information, it sends only
the header of the reply (which includes meta-information) over the
Almesberger, et. al. Informational [Page 7]
^L
RFC 2170 AREQUIPA July 1997
standard HTTP connection, as if the client had issued a HEAD or GET-
IF-MODIFIED request.
When a client receives the header of a document it can decide whether
it wants the document to be transmitted using Arequipa or not. A
client without a priori knowledge about the document, may therefore
always want to retrieve the header before requesting the full
document.
Illustration:
A client requests some documents but wants to decide if QoS sensitive
documents should be sent using Arequipa or not. Thus it adds to its
requests its ATM address but not the socket information.
GET batman.mpeg
UserAgent: MyAgent/1.0
ATM-address: my_public_address.my_private_address
The server checks batman.mpeg for QoS meta info. It finds the meta
info and sees an ATM address, but no socket pragma in the request. It
only returns the header of the document, which includes the meta-
information:
HTTP/1.0 200 OK
Server: MyAgent/1.0
ATM-Service: CBR
ATM-QoS-PCR: 2000
Content-type: video/mpeg
The client sees the QoS info and decides that it wants to download
the document using Arequipa. It opens a TCP socket for listening,
makes the Arequipa_expect call and sends the following request:
GET batman.mpeg
UserAgent: MyAgent/1.0
ATM-address: my_public_address.my_private_address
Pragma: socket=TCP.8090
Almesberger, et. al. Informational [Page 8]
^L
RFC 2170 AREQUIPA July 1997
Again the server checks batman.mpeg for QoS meta info. It finds the
meta info and sees the ATM address and the socket pragma in the
request. It creates a TCP socket, makes the Arequipa_preset call,
connects its TCP socket to the one of the client and sends the
response over the new TCP connection:
HTTP/1.0 200 OK
Server: MyAgent/1.0 ATM.address
ATM-Service: CBR
ATM-QoS-PCR: 2000
Content-type: video/mpeg
<mpeg data>
When the server sends the data over the new TCP connection it also
sends a copy of the response header over the TCP connection on which
the request was made. For example, this allows a browser to spawn a
viewer before requesting the data, to give the Arequipa connection to
the viewer and to still get the status of the request over the normal
TCP connection.
6. Safety considerations (loops)
A major concern about ATM shortcuts in IP networks are routing loops.
Arequipa is not prone to such dangers since it establishes
connections between applications and not between hosts. All datagrams
traveling through an Arequipa connection are destined for a given
socket on the machine at the end of the connection and don't need to
be forwarded by the IP layer. Therefore, neither hosts nor routers
implementing Arequipa as described in this document must ever forward
IP packets received over Arequipa connections.
7. Security considerations
The main security problem we see with Arequipa is that it could be
used to bypass IP firewalls.
IP firewalls are used to protect private networks connected to
untrusted IP networks. The network is configured such that all
traffic going into or coming from the protected network has to go
through the machine(s) acting as a firewall.
If hosts in a network protected by a firewall are able to establish
direct ATM connections to hosts outside the protected network, then
Arequipa could be used to bypass the firewall. To avoid this, hosts
inside a protected network should not be given direct connectivity to
the outside of the network.
Almesberger, et. al. Informational [Page 9]
^L
RFC 2170 AREQUIPA July 1997
Arequipa can be used in a safe way by machines inside and outside a
protected network, if an application proxy is installed on the
firewall. In the Web, this is a typical scenario. Proxy HTTP servers
are often found on firewalls, not only for security reasons, but also
for caching. If an application proxy is used, each host can establish
an Arequipa connection to the proxy which can then relay and monitor
the traffic across the firewall.
Note that hosts can easily identify (and refuse) unsolicited Arequipa
connections by the BHLI identifier that is passed at connection
setup.
8. References
[1] Laubach, M., Classical IP and ARP over ATM, RFC1577,
January 1994.
[2] Cole, R. G., D. H. Shur, C. Villamizar, IP over ATM: A Framework
Document, RFC1932, April 1996.
[3] Hinden, R. and S. Deering, Internet Protocol Version (IPv6)
Addressing Architecture, RFC1884, December 1995.
[4] Narten, T., E. Nordmark and W.A. Simpson, Neighbour Discovery for
IPv6 (IPv6), RFC1970, August 1996.
[5] Berners-Lee, T., R. Fielding, H. Nielsen, Hypertext Transfer
Protocol -- HTTP/1.0, RFC1945, May 1996.
[6] Shenker, S./J. Wroclawski, Network Element Service Specification
Template, Work in Progess, November, 1995.
[7] Perez, M., F.-C. Liaw, A. Mankin, E. Hoffman, D. Grossman, A.
Malis, ATM Signaling Support for IP over ATM, RFC1755, February
1995.
9. Authors' Address
Werner Almesberger,
Jean-Yves Le Boudec,
Philippe Oechslin (contact author)
Laboratoire de Reseaux de Communication
Swiss Federal Institute of Technology (EPFL)
1015 Lausanne
Switzerland
email: {almesber, leboudec, oechslin}@di.epfl.ch
Almesberger, et. al. Informational [Page 10]
^L
|