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 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733
|
<pre>Network Working Group J. Rosenberg
Request for Comments: 5360 Cisco Systems
Category: Standards Track G. Camarillo, Ed.
Ericsson
D. Willis
Unaffiliated
October 2008
<span class="h1">A Framework for Consent-Based Communications</span>
<span class="h1">in the Session Initiation Protocol (SIP)</span>
Status of This Memo
This document specifies an Internet standards track protocol for the
Internet community, and requests discussion and suggestions for
improvements. Please refer to the current edition of the "Internet
Official Protocol Standards" (STD 1) for the standardization state
and status of this protocol. Distribution of this memo is unlimited.
Abstract
SIP supports communications for several services, including real-time
audio, video, text, instant messaging, and presence. In its current
form, it allows session invitations, instant messages, and other
requests to be delivered from one party to another without requiring
explicit consent of the recipient. Without such consent, it is
possible for SIP to be used for malicious purposes, including
amplification and DoS (Denial of Service) attacks. This document
identifies a framework for consent-based communications in SIP.
<span class="grey">Rosenberg, et al. Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc5360">RFC 5360</a> Consent Framework October 2008</span>
Table of Contents
<a href="#section-1">1</a>. Introduction ....................................................<a href="#page-3">3</a>
<a href="#section-2">2</a>. Definitions and Terminology .....................................<a href="#page-3">3</a>
<a href="#section-3">3</a>. Relays and Translations .........................................<a href="#page-4">4</a>
<a href="#section-4">4</a>. Architecture ....................................................<a href="#page-6">6</a>
<a href="#section-4.1">4.1</a>. Permissions at a Relay .....................................<a href="#page-6">6</a>
<a href="#section-4.2">4.2</a>. Consenting Manipulations on a Relay's Translation Logic ....<a href="#page-7">7</a>
<a href="#section-4.3">4.3</a>. Store-and-Forward Servers ..................................<a href="#page-8">8</a>
<a href="#section-4.4">4.4</a>. Recipients Grant Permissions ...............................<a href="#page-9">9</a>
<a href="#section-4.5">4.5</a>. Entities Implementing This Framework .......................<a href="#page-9">9</a>
<a href="#section-5">5</a>. Framework Operations ............................................<a href="#page-9">9</a>
<a href="#section-5.1">5.1</a>. Amplification Avoidance ...................................<a href="#page-11">11</a>
<a href="#section-5.1.1">5.1.1</a>. Relay's Behavior ...................................<a href="#page-12">12</a>
<a href="#section-5.2">5.2</a>. Subscription to the Permission Status .....................<a href="#page-12">12</a>
<a href="#section-5.2.1">5.2.1</a>. Relay's Behavior ...................................<a href="#page-13">13</a>
<a href="#section-5.3">5.3</a>. Request for Permission ....................................<a href="#page-13">13</a>
<a href="#section-5.3.1">5.3.1</a>. Relay's Behavior ...................................<a href="#page-13">13</a>
<a href="#section-5.4">5.4</a>. Permission Document Structure .............................<a href="#page-15">15</a>
<a href="#section-5.5">5.5</a>. Permission Requested Notification .........................<a href="#page-16">16</a>
<a href="#section-5.6">5.6</a>. Permission Grant ..........................................<a href="#page-17">17</a>
<a href="#section-5.6.1">5.6.1</a>. Relay's Behavior ...................................<a href="#page-17">17</a>
<a href="#section-5.6.1.1">5.6.1.1</a>. SIP Identity ..............................<a href="#page-17">17</a>
<a href="#section-5.6.1.2">5.6.1.2</a>. P-Asserted-Identity .......................<a href="#page-17">17</a>
<a href="#section-5.6.1.3">5.6.1.3</a>. Return Routability ........................<a href="#page-18">18</a>
<a href="#section-5.6.1.4">5.6.1.4</a>. SIP Digest ................................<a href="#page-19">19</a>
<a href="#section-5.7">5.7</a>. Permission Granted Notification ...........................<a href="#page-19">19</a>
<a href="#section-5.8">5.8</a>. Permission Revocation .....................................<a href="#page-19">19</a>
<a href="#section-5.9">5.9</a>. Request-Contained URI Lists ...............................<a href="#page-20">20</a>
<a href="#section-5.9.1">5.9.1</a>. Relay's Behavior ...................................<a href="#page-21">21</a>
<a href="#section-5.9.2">5.9.2</a>. Definition of the 470 Response Code ................<a href="#page-21">21</a>
<a href="#section-5.9.3">5.9.3</a>. Definition of the Permission-Missing Header Field ..22
<a href="#section-5.10">5.10</a>. Registrations ............................................<a href="#page-22">22</a>
<a href="#section-5.11">5.11</a>. Relays Generating Traffic towards Recipients .............<a href="#page-25">25</a>
<a href="#section-5.11.1">5.11.1</a>. Relay's Behavior ..................................<a href="#page-25">25</a>
<a href="#section-5.11.2">5.11.2</a>. Definition of the Trigger-Consent Header Field ....<a href="#page-25">25</a>
<a href="#section-6">6</a>. IANA Considerations ............................................<a href="#page-26">26</a>
<a href="#section-6.1">6.1</a>. Registration of the 470 Response Code .....................<a href="#page-26">26</a>
<a href="#section-6.2">6.2</a>. Registration of the Trigger-Consent Header Field ..........<a href="#page-26">26</a>
<a href="#section-6.3">6.3</a>. Registration of the Permission-Missing Header Field .......<a href="#page-26">26</a>
<a href="#section-6.4">6.4</a>. Registration of the target-uri Header Field Parameter .....<a href="#page-26">26</a>
<a href="#section-7">7</a>. Security Considerations ........................................<a href="#page-27">27</a>
<a href="#section-8">8</a>. Acknowledgments ................................................<a href="#page-28">28</a>
<a href="#section-9">9</a>. References .....................................................<a href="#page-28">28</a>
<a href="#section-9.1">9.1</a>. Normative References ......................................<a href="#page-28">28</a>
<a href="#section-9.2">9.2</a>. Informative References ....................................<a href="#page-29">29</a>
<span class="grey">Rosenberg, et al. Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc5360">RFC 5360</a> Consent Framework October 2008</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
The Session Initiation Protocol (SIP) [<a href="./rfc3261" title=""SIP: Session Initiation Protocol"">RFC3261</a>] supports
communications for several services, including real-time audio,
video, text, instant messaging, and presence. This communication is
established by the transmission of various SIP requests (such as
INVITE and MESSAGE [<a href="./rfc3428" title=""Session Initiation Protocol (SIP) Extension for Instant Messaging"">RFC3428</a>]) from an initiator to the recipient with
whom communication is desired. Although a recipient of such a SIP
request can reject the request, and therefore decline the session, a
network of SIP proxy servers will deliver a SIP request to its
recipients without their explicit consent.
Receipt of these requests without explicit consent can cause a number
of problems. These include amplification and DoS (Denial of Service)
attacks. These problems are described in more detail in a companion
requirements document [<a href="./rfc4453" title=""Requirements for Consent-Based Communications in the Session Initiation Protocol (SIP)"">RFC4453</a>].
This specification defines a basic framework for adding consent-based
communication to SIP.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Definitions and Terminology</span>
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 <a href="./rfc2119">RFC 2119</a> [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].
Recipient URI: The Request-URI of an outgoing request sent by an
entity (e.g., a user agent or a proxy). The sending of such
request can have been the result of a translation operation.
Relay: Any SIP server, be it a proxy, B2BUA (Back-to-Back User
Agent), or some hybrid, that receives a request, translates its
Request-URI into one or more next-hop URIs (i.e., recipient URIs),
and delivers the request to those URIs.
Target URI: The Request-URI of an incoming request that arrives to a
relay that will perform a translation operation.
Translation logic: The logic that defines a translation operation at
a relay. This logic includes the translation's target and
recipient URIs.
Translation operation: Operation by which a relay translates the
Request-URI of an incoming request (i.e., the target URI) into one
or more URIs (i.e., recipient URIs) that are used as the Request-
URIs of one or more outgoing requests.
<span class="grey">Rosenberg, et al. Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc5360">RFC 5360</a> Consent Framework October 2008</span>
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Relays and Translations</span>
Relays play a key role in this framework. A relay is defined as any
SIP server, be it a proxy, B2BUA (Back-to-Back User Agent), or some
hybrid, that receives a request, translates its Request-URI into one
or more next-hop URIs, and delivers the request to those URIs. The
Request-URI of the incoming request is referred to as 'target URI'
and the destination URIs of the outgoing requests are referred to as
'recipient URIs', as shown in Figure 1.
+---------------+ recipient URI
| |---------------->
| |
target URI | Translation | [...]
-------------->| Operation |
| | recipient URI
| |---------------->
+---------------+
Figure 1: Translation Operation
Thus, an essential aspect of a relay is that of translation. When a
relay receives a request, it translates the Request-URI (target URI)
into one or more additional URIs (recipient URIs). Through this
translation operation, the relay can create outgoing requests to one
or more additional recipient URIs, thus creating the consent problem.
The consent problem is created by two types of translations:
translations based on local data and translations that involve
amplifications.
Translation operations based on local policy or local data (such as
registrations) are the vehicle by which a request is delivered
directly to an endpoint, when it would not otherwise be possible to.
In other words, if a spammer has the address of a user,
'sip:user@example.com', it cannot deliver a MESSAGE request to the UA
(user agent) of that user without having access to the registration
data that maps 'sip:user@example.com' to the user agent on which that
user is present. Thus, it is the usage of this registration data,
and more generally, the translation logic, that is expected to be
authorized in order to prevent undesired communications. Of course,
if the spammer knows the address of the user agent, it will be able
to deliver requests directly to it.
Translation operations that result in more than one recipient URI are
a source of amplification. Servers that do not perform translations,
such as outbound proxy servers, do not cause amplification. On the
other hand, servers that perform translations (e.g., inbound proxies
<span class="grey">Rosenberg, et al. Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc5360">RFC 5360</a> Consent Framework October 2008</span>
authoritatively responsible for a SIP domain) may cause amplification
if the user can be reached at multiple endpoints (thereby resulting
in multiple recipient URIs).
Figure 2 shows a relay that performs translations. The user agent
client in the figure sends a SIP request to a URI representing a
resource in the domain 'example.com' (sip:resource@example.com).
This request can pass through a local outbound proxy (not shown), but
eventually arrives at a server authoritative for the domain
'example.com'. This server, which acts as a relay, performs a
translation operation, translating the target URI into one or more
recipient URIs, which can (but need not) belong to the domain
'example.com'. This relay can be, for instance, a proxy server or a
URI-list service [<a href="./rfc5363" title=""Framework and Security Considerations for Session Initiation Protocol (SIP) URI- List Services"">RFC5363</a>].
+-------+
| |
>| UA |
/ | |
/ +-------+
/
/
+-----------------------+ /
| | /
+-----+ | Relay | / +-------+
| | | |/ | |
| UA |------>| |-------->| Proxy |
| | |+---------------------+|\ | |
+-----+ || Translation || \ +-------+
|| Logic || \
|+---------------------+| \ [...]
+-----------------------+ \
\
\ +-------+
\ | |
>| B2BUA |
| |
+-------+
Figure 2: Relay Performing a Translation
This framework allows potential recipients of a translation to agree
to be actual recipients by giving the relay performing the
translation permission to send them traffic.
<span class="grey">Rosenberg, et al. Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc5360">RFC 5360</a> Consent Framework October 2008</span>
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Architecture</span>
Figure 3 shows the architectural elements of this framework. The
manipulation of a relay's translation logic typically causes the
relay to send a permission request, which in turn causes the
recipient to grant or deny the relay permissions for the translation.
<a href="#section-4.1">Section 4.1</a> describes the role of permissions at a relay. <a href="#section-4.2">Section</a>
<a href="#section-4.2">4.2</a> discusses the actions taken by a relay when its translation logic
is manipulated by a client. <a href="#section-4.3">Section 4.3</a> discusses store-and-forward
servers and their functionality. <a href="#section-4.4">Section 4.4</a> describes how potential
recipients can grant a relay permissions to add them to the relay's
translation logic. <a href="#section-4.5">Section 4.5</a> discusses which entities need to
implement this framework.
+-----------------------+ Permission +-------------+
| | Request | |
+--------+ | Relay |----------->| Store & Fwd |
| | | | | Server |
| Client | | | | |
| | |+-------+ +-----------+| +-------------+
+--------+ ||Transl.| |Permissions|| |
| ||Logic | | || Permission |
| |+-------+ +-----------+| Request |
| +-----------------------+ V
| ^ ^ +-------------+
| Manipulation | | Permission Grant | |
+---------------+ +-------------------| Recipient |
| |
+-------------+
Figure 3: Reference Architecture
<span class="h3"><a class="selflink" id="section-4.1" href="#section-4.1">4.1</a>. Permissions at a Relay</span>
Relays implementing this framework obtain and store permissions
associated to their translation logic. These permissions indicate
whether or not a particular recipient has agreed to receive traffic
at any given time. Recipients that have not given the relay
permission to send them traffic are simply ignored by the relay when
performing a translation.
In principle, permissions are valid as long as the context where they
were granted is valid or until they are revoked. For example, the
permissions obtained by a URI-list SIP service that distributes
MESSAGE requests to a set of recipients will be valid as long as the
URI-list SIP service exists or until the permissions are revoked.
<span class="grey">Rosenberg, et al. Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc5360">RFC 5360</a> Consent Framework October 2008</span>
Additionally, if a recipient is removed from a relay's translation
logic, the relay SHOULD delete the permissions related to that
recipient. For example, if the registration of a contact URI expires
or is otherwise terminated, the registrar deletes the permissions
related to that contact address.
It is also RECOMMENDED that relays request recipients to refresh
their permissions periodically. If a recipient fails to refresh its
permissions for a given period of time, the relay SHOULD delete the
permissions related to that recipient.
This framework does not provide any guidance for the values of the
refreshment intervals because different applications can have
different requirements to set those values. For example, a relay
dealing with recipients that do not implement this framework may
choose to use longer intervals between refreshes. The refresh
process in such recipients has to be performed manually by their
users (since the recipients do not implement this framework), and
having too short refresh intervals may become too heavy a burden
for those users.
<span class="h3"><a class="selflink" id="section-4.2" href="#section-4.2">4.2</a>. Consenting Manipulations on a Relay's Translation Logic</span>
This framework aims to ensure that any particular relay only performs
translations towards destinations that have given the relay
permission to perform such a translation. Consequently, when the
translation logic of a relay is manipulated (e.g., a new recipient
URI is added), the relay obtains permission from the new recipient in
order to install the new translation logic. Relays ask recipients
for permission using MESSAGE [<a href="./rfc3428" title=""Session Initiation Protocol (SIP) Extension for Instant Messaging"">RFC3428</a>] requests.
For example, the relay hosting the URI-list service at
'sip:friends@example.com' performs a translation from that target URI
to a set of recipient URIs. When a client (e.g., the administrator
of that URI-list service) adds 'bob@example.org' as a new recipient
URI, the relay sends a MESSAGE request to 'sip:bob@example.org'
asking whether or not it is OK to perform the translation from
'sip:friends@example.com' to 'sip:bob@example.org'. The MESSAGE
request carries in its message body a permission document that
describes the translation for which permissions are being requested
and a human-readable part that also describes the translation. If
the answer is positive, the new translation logic is installed at the
relay. That is, the new recipient URI is added.
The human-readable part is included so that user agents that do
not understand permission documents can still process the request
and display it in a sensible way to the user.
<span class="grey">Rosenberg, et al. Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc5360">RFC 5360</a> Consent Framework October 2008</span>
The mechanism to be used to manipulate the translation logic of a
particular relay depends on the relay. Two existing mechanisms to
manipulate translation logic are XML Configuration Access Protocol
(XCAP) [<a href="./rfc4825" title=""The Extensible Markup Language (XML) Configuration Access Protocol (XCAP)"">RFC4825</a>] and REGISTER transactions.
<a href="#section-5">Section 5</a> uses a URI-list service whose translation logic is
manipulated with XCAP as an example of a translation, in order to
specify this framework. <a href="#section-5.10">Section 5.10</a> discusses how to apply this
framework to registrations, which are a different type of
translation.
In any case, relays implementing this framework SHOULD have a means
to indicate that a particular recipient URI is in the states
specified in [<a href="./rfc5362" title=""The Session Initiation Protocol (SIP) Pending Additions Event Package"">RFC5362</a>] (i.e., pending, waiting, error, denied, or
granted).
<span class="h3"><a class="selflink" id="section-4.3" href="#section-4.3">4.3</a>. Store-and-Forward Servers</span>
When a MESSAGE request with a permission document arrives to the
recipient URI to which it was sent by the relay, the receiving user
can grant or deny the permission needed to perform the translation.
However, the receiving user may not be available when the MESSAGE
request arrives, or it may have expressed preferences to block all
incoming requests for a certain time period. In such cases, a
store-and-forward server can act as a substitute for the user and
buffer the incoming MESSAGE requests, which are subsequently
delivered to the user when he or she is available again.
There are several mechanisms to implement store-and-forward message
services (e.g., with an instant message to email gateway). Any of
these mechanisms can be used between a user agent and its store-and-
forward server as long as they agree on which mechanism to use.
Therefore, this framework does not make any provision for the
interface between user agents and their store-and-forward servers.
Note that the same store-and-forward message service can handle
all incoming MESSAGE requests for a user while they are offline,
not only those MESSAGE requests with a permission document in
their bodies.
Even though store-and-forward servers perform a useful function and
they are expected to be deployed in most domains, some domains will
not deploy them from the outset. However, user agents and relays in
domains without store-and-forward servers can still use this consent
framework.
<span class="grey">Rosenberg, et al. Standards Track [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc5360">RFC 5360</a> Consent Framework October 2008</span>
When a relay requests permissions from an offline user agent that
does not have an associated store-and-forward server, the relay will
obtain an error response indicating that its MESSAGE request could
not be delivered. The client that attempted to add the offline user
to the relay's translation logic will be notified about the error
(e.g., using the Pending Additions event package [<a href="./rfc5362" title=""The Session Initiation Protocol (SIP) Pending Additions Event Package"">RFC5362</a>]). This
client MAY attempt to add the same user at a later point, hopefully
when the user is online. Clients can discover whether or not a user
is online by using a presence service, for instance.
<span class="h3"><a class="selflink" id="section-4.4" href="#section-4.4">4.4</a>. Recipients Grant Permissions</span>
Permission documents generated by a relay include URIs that can be
used by the recipient of the document to grant or deny the relay the
permission described in the document. Relays always include SIP URIs
and can include HTTP [<a href="./rfc2616" title=""Hypertext Transfer Protocol -- HTTP/1.1"">RFC2616</a>] URIs for this purpose. Consequently,
recipients provide relays with permissions using SIP PUBLISH requests
or HTTP GET requests.
<span class="h3"><a class="selflink" id="section-4.5" href="#section-4.5">4.5</a>. Entities Implementing This Framework</span>
The goal of this framework is to keep relays from executing
translations towards unwilling recipients. Therefore, all relays
MUST implement this framework in order to avoid being used to perform
attacks (e.g., amplification attacks).
This framework has been designed with backwards compatibility in mind
so that legacy user agents (i.e., user agents that do not implement
this framework) can act both as clients and recipients with an
acceptable level of functionality. However, it is RECOMMENDED that
user agents implement this framework, which includes supporting the
Pending Additions event package specified in [<a href="./rfc5362" title=""The Session Initiation Protocol (SIP) Pending Additions Event Package"">RFC5362</a>], the format
for permission documents specified in [<a href="./rfc5361" title=""A Document Format for Requesting Consent"">RFC5361</a>], and the header
fields and response code specified in this document, in order to
achieve full functionality.
The only requirement that this framework places on store-and-forward
servers is that they need to be able to deliver encrypted and
integrity-protected messages to their user agents, as discussed in
<a href="#section-7">Section 7</a>. However, this is not a requirement specific to this
framework but a general requirement for store-and-forward servers.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Framework Operations</span>
This section specifies this consent framework using an example of the
prototypical call flow. The elements described in <a href="#section-4">Section 4</a> (i.e.,
relays, translations, and store-and-forward servers) play an
essential role in this call flow.
<span class="grey">Rosenberg, et al. Standards Track [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc5360">RFC 5360</a> Consent Framework October 2008</span>
Figure 4 shows the complete process to add a recipient URI
('sip:B@example.com') to the translation logic of a relay. User A
attempts to add 'sip:B@example.com' as a new recipient URI to the
translation logic of the relay (1). User A uses XCAP [<a href="./rfc4825" title=""The Extensible Markup Language (XML) Configuration Access Protocol (XCAP)"">RFC4825</a>] and
the XML (Extensible Markup Language) format for representing resource
lists [<a href="./rfc4826" title=""Extensible Markup Language (XML) Formats for Representing Resource Lists"">RFC4826</a>] to perform this addition. Since the relay does not
have permission from 'sip:B@example.com' to perform translations
towards that URI, the relay places 'sip:B@example.com' in the pending
state, as specified in [<a href="./rfc5362" title=""The Session Initiation Protocol (SIP) Pending Additions Event Package"">RFC5362</a>].
<span class="grey">Rosenberg, et al. Standards Track [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc5360">RFC 5360</a> Consent Framework October 2008</span>
A@example.com Relay B's Store & Fwd B@example.com
Server
|(1) Add Recipient | |
| sip:B@example.com | |
|--------------->| | |
|(2) HTTP 202 (Accepted) | |
|<---------------| | |
| |(3) MESSAGE sip:B@example |
| | Permission Document |
| |--------------->| |
| |(4) 202 Accepted| |
| |<---------------| |
|(5) SUBSCRIBE | | |
| Event: pending-additions | |
|--------------->| | |
|(6) 200 OK | | |
|<---------------| | |
|(7) NOTIFY | | |
|<---------------| | |
|(8) 200 OK | | |
|--------------->| | |
| | | |User B goes
| | | | online
| | |(9) Request for |
| | | stored messages
| | |<---------------|
| | |(10) Delivery of|
| | | stored messages
| | |--------------->|
| |(11) PUBLISH uri-up |
| |<--------------------------------|
| |(12) 200 OK | |
| |-------------------------------->|
|(13) NOTIFY | | |
|<---------------| | |
|(14) 200 OK | | |
|--------------->| | |
Figure 4: Prototypical Call Flow
<span class="h3"><a class="selflink" id="section-5.1" href="#section-5.1">5.1</a>. Amplification Avoidance</span>
Once 'sip:B@example.com' is in the pending state, the relay needs to
ask user B for permission by sending a MESSAGE request to
'sip:B@example.com'. However, the relay needs to ensure that it is
not used as an amplifier to launch amplification attacks.
<span class="grey">Rosenberg, et al. Standards Track [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc5360">RFC 5360</a> Consent Framework October 2008</span>
In such an attack, the attacker would add a large number of recipient
URIs to the translation logic of a relay. The relay would then send
a MESSAGE request to each of those recipient URIs. The bandwidth
generated by the relay would be much higher than the bandwidth used
by the attacker to add those recipient URIs to the translation logic
of the relay.
This framework uses a credit-based authorization mechanism to avoid
the attack just described. It requires users adding new recipient
URIs to a translation to generate an amount of bandwidth that is
comparable to the bandwidth the relay will generate when sending
MESSAGE requests towards those recipient URIs. When XCAP is used,
this requirement is met by not allowing clients to add more than one
URI per HTTP transaction. When a REGISTER transaction is used, this
requirement is met by not allowing clients to register more than one
contact per REGISTER transaction.
<span class="h4"><a class="selflink" id="section-5.1.1" href="#section-5.1.1">5.1.1</a>. Relay's Behavior</span>
Relays implementing this framework MUST NOT allow clients to add more
than one recipient URI per transaction. If a client using XCAP
attempts to add more than one recipient URI in a single HTTP
transaction, the XCAP server SHOULD return an HTTP 409 (Conflict)
response. The XCAP server SHOULD describe the reason for the refusal
in an XML body using the <constraint-failure> element, as described
in [<a href="./rfc4825" title=""The Extensible Markup Language (XML) Configuration Access Protocol (XCAP)"">RFC4825</a>]. If a client attempts to register more than one contact
in a single REGISTER transaction, the registrar SHOULD return a SIP
403 response and explain the reason for the refusal in its reason
phrase (e.g., maximum one contact per registration).
<span class="h3"><a class="selflink" id="section-5.2" href="#section-5.2">5.2</a>. Subscription to the Permission Status</span>
Clients need a way to be informed about the status of the operations
they requested. Otherwise, users can be waiting for an operation to
succeed when it has actually already failed. In particular, if the
target of the request for consent was not reachable and did not have
an associated store-and-forward server, the client needs to know to
retry the request later. The Pending Additions SIP event package
[<a href="./rfc5362" title=""The Session Initiation Protocol (SIP) Pending Additions Event Package"">RFC5362</a>] is a way to provide clients with that information.
Clients can use the Pending Additions SIP event package to be
informed about the status of the operations they requested. That is,
the client will be informed when an operation (e.g., the addition of
a recipient URI to a relay's translation logic) is authorized (and
thus executed) or rejected. Clients use the target URI of the SIP
translation being manipulated to subscribe to the 'pending-additions'
event package.
<span class="grey">Rosenberg, et al. Standards Track [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc5360">RFC 5360</a> Consent Framework October 2008</span>
In our example, after receiving the response from the relay (2), user
A subscribes to the Pending Additions event package at the relay (5).
This subscription keeps user A informed about the status of the
permissions (e.g., granted or denied) the relay will obtain.
<span class="h4"><a class="selflink" id="section-5.2.1" href="#section-5.2.1">5.2.1</a>. Relay's Behavior</span>
Relays SHOULD support the Pending Additions SIP event package
specified in [<a href="./rfc5362" title=""The Session Initiation Protocol (SIP) Pending Additions Event Package"">RFC5362</a>].
<span class="h3"><a class="selflink" id="section-5.3" href="#section-5.3">5.3</a>. Request for Permission</span>
A relay requests permissions from potential recipients to add them to
its translation logic using MESSAGE requests. In our example, on
receiving the request to add user B to the translation logic of the
relay (1), the relay generates a MESSAGE request (3) towards
'sip:B@example.com'. This MESSAGE request carries a permission
document, which describes the translation that needs to be authorized
and carries a set of URIs to be used by the recipient to grant or to
deny the relay permission to perform that translation. Since user B
is offline, the MESSAGE request will be buffered by user B's store-
and-forward server. User B will later go online and authorize the
translation by using one of those URIs, as described in <a href="#section-5.6">Section 5.6</a>.
The MESSAGE request also carries a body part that contains the same
information as the permission document but in a human-readable
format.
When user B uses one of the URIs in the permission document to grant
or deny permissions, the relay needs to make sure that it was
actually user B using that URI, and not an attacker. The relay can
use any of the methods described in <a href="#section-5.6">Section 5.6</a> to authenticate the
permission document.
<span class="h4"><a class="selflink" id="section-5.3.1" href="#section-5.3.1">5.3.1</a>. Relay's Behavior</span>
Relays that implement this framework MUST obtain permissions from
potential recipients before adding them to their translation logic.
Relays request permissions from potential recipients using MESSAGE
requests.
<a href="#section-5.6">Section 5.6</a> describes the methods a relay can use to authenticate
those recipients giving the relay permission to perform a particular
translation. These methods are SIP identity [<a href="./rfc4474" title=""Enhancements for Authenticated Identity Management in the Session Initiation Protocol (SIP)"">RFC4474</a>],
P-Asserted-Identity [<a href="./rfc3325" title=""Private Extensions to the Session Initiation Protocol (SIP) for Asserted Identity within Trusted Networks"">RFC3325</a>], a return routability test, or SIP
digest. Relays that use the method consisting of a return
routability test have to send their MESSAGE requests to a SIPS URI,
as specified in <a href="#section-5.6">Section 5.6</a>.
<span class="grey">Rosenberg, et al. Standards Track [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc5360">RFC 5360</a> Consent Framework October 2008</span>
MESSAGE requests sent to request permissions MUST include a
permission document and SHOULD include a human-readable part in their
bodies. The human-readable part contains the same information as the
permission document (but in a human-readable format), including the
URIs to grant and deny permissions. User agents that do not
understand permission documents can still process the request and
display it in a sensible way to the user, as they would display any
other instant message. This way, even if the user agent does not
implement this framework, the (human) user will be able to manually
click on the correct URI in order to grant or deny permissions. The
following is an example of a MESSAGE request that carries a human-
readable part and a permission document, which follows the format
specified in [<a href="./rfc5361" title=""A Document Format for Requesting Consent"">RFC5361</a>], in its body. Not all header fields are shown
for simplicity reasons.
MESSAGE sip:bob@example.org SIP/2.0
From: <sip:alices-friends@example.com>;tag=12345678
To: <sip:bob@example.org>
Content-Type: multipart/mixed;boundary="boundary1"
--boundary1
Content-Type: text/plain
If you consent to receive traffic sent to
<sip:alices-friends@example.com>, please use one of the following
URIs: <sips:grant-1awdch5Fasddfce34@example.com> or
<https://example.com/grant-1awdch5Fasddfce34>. Otherwise, use one of
the following URIs: <sips:deny-23rCsdfgvdT5sdfgye@example.com> or
<https://example.com/deny-23rCsdfgvdT5sdfgye>.
--boundary1
Content-Type: application/auth-policy+xml
<?xml version="1.0" encoding="UTF-8"?>
<cp:ruleset
xmlns="urn:ietf:params:xml:ns:consent-rules"
xmlns:cp="urn:ietf:params:xml:ns:common-policy"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<cp:rule id="f1">
<cp:conditions>
<cp:identity>
<cp:many/>
</cp:identity>
<recipient>
<cp:one id="sip:bob@example.org"/>
</recipient>
<target>
<cp:one id="sip:alices-friends@example.com"/>
</target>
<span class="grey">Rosenberg, et al. Standards Track [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc5360">RFC 5360</a> Consent Framework October 2008</span>
</cp:conditions>
<cp:actions>
<trans-handling
perm-uri="sips:grant-1awdch5Fasddfce34@example.com">
grant</trans-handling>
<trans-handling
perm-uri="https://example.com/grant-1awdch5Fasddfce34">
grant</trans-handling>
<trans-handling
perm-uri="sips:deny-23rCsdfgvdT5sdfgye@example.com">
deny</trans-handling>
<trans-handling
perm-uri="https://example.com/deny-23rCsdfgvdT5sdfgye">
deny</trans-handling>
</cp:actions>
<cp:transformations/>
</cp:rule>
</cp:ruleset>
--boundary1--
<span class="h3"><a class="selflink" id="section-5.4" href="#section-5.4">5.4</a>. Permission Document Structure</span>
A permission document is the representation (e.g., encoded in XML) of
a permission. A permission document contains several pieces of data:
Identity of the Sender: A URI representing the identity of the
sender for whom permissions are granted.
Identity of the Original Recipient: A URI representing the identity
of the original recipient, which is used as the input for the
translation operation. This is also called the target URI.
Identity of the Final Recipient: A URI representing the result of
the translation. The permission grants ability for the sender to
send requests to the target URI and for a relay receiving those
requests to forward them to this URI. This is also called the
recipient URI.
URIs to Grant Permission: URIs that recipients can use to grant the
relay permission to perform the translation described in the
document. Relays MUST support the use of SIP and SIPS URIs in
permission documents and MAY support the use of HTTP and HTTPS
URIs.
<span class="grey">Rosenberg, et al. Standards Track [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc5360">RFC 5360</a> Consent Framework October 2008</span>
URIs to Deny Permission: URIs that recipients can use to deny the
relay permission to perform the translation described in the
document. Relays MUST support the use of SIP and SIPS URIs in
permission documents and MAY support the use of HTTP and HTTPS
URIs.
Permission documents can contain wildcards. For example, a
permission document can request permission for any relay to forward
requests coming from a particular sender to a particular recipient.
Such a permission document would apply to any target URI. That is,
the field containing the identity of the original recipient would
match any URI. However, the recipient URI MUST NOT be wildcarded.
Entities implementing this framework MUST support the format for
permission documents defined in [<a href="./rfc5361" title=""A Document Format for Requesting Consent"">RFC5361</a>] and MAY support other
formats.
In our example, the permission document in the MESSAGE request (3)
sent by the relay contains the following values:
Identity of the Sender: Any sender
Identity of the Original Recipient: sip:friends@example.com
Identity of the Final Recipient: sip:B@example.com
URI to Grant Permission: sips:grant-1awdch5Fasddfce34@example.com
URI to Grant Permission: https://example.com/grant-1awdch5Fasddfce34
URI to Deny Permission: sips:deny-23rCsdfgvdT5sdfgye@example.com
URI to Deny Permission: https://example.com/deny-23rCsdfgvdT5sdfgye
It is expected that the Sender field often contains a wildcard.
However, scenarios involving request-contained URI lists, such as the
one described in <a href="#section-5.9">Section 5.9</a>, can require permission documents that
apply to a specific sender. In cases where the identity of the
sender matters, relays MUST authenticate senders.
<span class="h3"><a class="selflink" id="section-5.5" href="#section-5.5">5.5</a>. Permission Requested Notification</span>
On receiving the MESSAGE request (3), user B's store-and-forward
server stores it because user B is offline at that point. When user
B goes online, user B fetches all the requests its store-and-forward
server has stored (9).
<span class="grey">Rosenberg, et al. Standards Track [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc5360">RFC 5360</a> Consent Framework October 2008</span>
<span class="h3"><a class="selflink" id="section-5.6" href="#section-5.6">5.6</a>. Permission Grant</span>
A recipient gives a relay permission to execute the translation
described in a permission document by sending a SIP PUBLISH or an
HTTP GET request to one of the URIs to grant permissions contained in
the document. Similarly, a recipient denies a relay permission to
execute the translation described in a permission document by sending
a SIP PUBLISH or an HTTP GET request to one of the URIs to deny
permissions contained in the document. Requests to grant or deny
permissions contain an empty body.
In our example, user B obtains the permission document (10) that was
received earlier by its store-and-forward server in the MESSAGE
request (3). User B authorizes the translation described in the
permission document received by sending a PUBLISH request (11) to the
SIP URI to grant permissions contained in the permission document.
<span class="h4"><a class="selflink" id="section-5.6.1" href="#section-5.6.1">5.6.1</a>. Relay's Behavior</span>
Relays MUST ensure that the SIP PUBLISH or the HTTP GET request
received was generated by the recipient of the translation and not by
an attacker. Relays can use four methods to authenticate those
requests: SIP identity, P-Asserted-Identity [<a href="./rfc3325" title=""Private Extensions to the Session Initiation Protocol (SIP) for Asserted Identity within Trusted Networks"">RFC3325</a>], a return
routability test, or SIP digest. While return routability tests can
be used to authenticate both SIP PUBLISH and HTTP GET requests, SIP
identity, P-Asserted-Identity, and SIP digest can only be used to
authenticate SIP PUBLISH requests. SIP digest can only be used to
authenticate recipients that share a secret with the relay (e.g.,
recipients that are in the same domain as the relay).
<span class="h5"><a class="selflink" id="section-5.6.1.1" href="#section-5.6.1.1">5.6.1.1</a>. SIP Identity</span>
The SIP identity [<a href="./rfc4474" title=""Enhancements for Authenticated Identity Management in the Session Initiation Protocol (SIP)"">RFC4474</a>] mechanism can be used to authenticate the
sender of a PUBLISH request. The relay MUST check that the
originator of the PUBLISH request is the owner of the recipient URI
in the permission document. Otherwise, the PUBLISH request SHOULD be
responded with a 401 (Unauthorized) response and MUST NOT be
processed further.
<span class="h5"><a class="selflink" id="section-5.6.1.2" href="#section-5.6.1.2">5.6.1.2</a>. P-Asserted-Identity</span>
The P-Asserted-Identity [<a href="./rfc3325" title=""Private Extensions to the Session Initiation Protocol (SIP) for Asserted Identity within Trusted Networks"">RFC3325</a>] mechanism can also be used to
authenticate the sender of a PUBLISH request. However, as discussed
in [<a href="./rfc3325" title=""Private Extensions to the Session Initiation Protocol (SIP) for Asserted Identity within Trusted Networks"">RFC3325</a>], this mechanism is intended to be used only within
networks of trusted SIP servers. That is, the use of this mechanism
is only applicable inside an administrative domain with previously
agreed-upon policies.
<span class="grey">Rosenberg, et al. Standards Track [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc5360">RFC 5360</a> Consent Framework October 2008</span>
The relay MUST check that the originator of the PUBLISH request is
the owner of the recipient URI in the permission document.
Otherwise, the PUBLISH request SHOULD be responded with a 401
(Unauthorized) response and MUST NOT be processed further.
<span class="h5"><a class="selflink" id="section-5.6.1.3" href="#section-5.6.1.3">5.6.1.3</a>. Return Routability</span>
SIP identity provides a good authentication mechanism for incoming
PUBLISH requests. Nevertheless, SIP identity is not widely available
on the public Internet yet. That is why an authentication mechanism
that can already be used at this point is needed.
Return routability tests do not provide the same level of security as
SIP identity, but they provide a better-than-nothing security level
in architectures where the SIP identity mechanism is not available
(e.g., the current Internet). The relay generates an unguessable URI
(i.e., with a cryptographically random user part) and places it in
the permission document in the MESSAGE request (3). The recipient
needs to send a SIP PUBLISH request or an HTTP GET request to that
URI. Any incoming request sent to that URI SHOULD be considered
authenticated by the relay.
Note that the return routability method is the only one that
allows the use of HTTP URIs in permission documents. The other
methods require the use of SIP URIs.
Relays using a return routability test to perform this authentication
MUST send the MESSAGE request with the permission document to a SIPS
URI. This ensures that attackers do not get access to the
(unguessable) URI. Thus, the only user able to use the (unguessable)
URI is the receiver of the MESSAGE request. Similarly, permission
documents sent by relays using a return routability test MUST only
contain secure URIs (i.e., SIPS and HTTPS) to grant and deny
permissions. A part of these URIs (e.g., the user part of a SIPS
URI) MUST be cryptographically random with at least 32 bits of
randomness.
Relays can transition from return routability tests to SIP identity
by simply requiring the use of SIP identity for incoming PUBLISH
requests. That is, such a relay would reject PUBLISH requests that
did not use SIP identity.
<span class="grey">Rosenberg, et al. Standards Track [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc5360">RFC 5360</a> Consent Framework October 2008</span>
<span class="h5"><a class="selflink" id="section-5.6.1.4" href="#section-5.6.1.4">5.6.1.4</a>. SIP Digest</span>
The SIP digest mechanism can be used to authenticate the sender of a
PUBLISH request as long as that sender shares a secret with the
relay. The relay MUST check that the originator of the PUBLISH
request is the owner of the recipient URI in the permission document.
Otherwise, the PUBLISH request SHOULD be responded with a 401
(Unauthorized) response and MUST NOT be processed further.
<span class="h3"><a class="selflink" id="section-5.7" href="#section-5.7">5.7</a>. Permission Granted Notification</span>
On receiving the PUBLISH request (11), the relay sends a NOTIFY
request (13) to inform user A that the permission for the translation
has been received and that the translation logic at the relay has
been updated. That is, 'sip:B@example.com' has been added as a
recipient URI.
<span class="h3"><a class="selflink" id="section-5.8" href="#section-5.8">5.8</a>. Permission Revocation</span>
At any time, if a recipient wants to revoke any permission, it uses
the URI it received in the permission document to deny the
permissions it previously granted. If a recipient loses this URI for
some reason, it needs to wait until it receives a new request
produced by the translation. Such a request will contain a Trigger-
Consent header field with a URI. That Trigger-Consent header field
will have a target-uri header field parameter identifying the target
URI of the translation. The recipient needs to send a PUBLISH
request with an empty body to the URI in the Trigger-Consent header
field in order to receive a MESSAGE request from the relay. Such a
MESSAGE request will contain a permission document with a URI to
revoke the permission that was previously granted.
Figure 5 shows an example of how a user that lost the URI to revoke
permissions at a relay can obtain a new URI using the Trigger-Consent
header field of an incoming request. The user rejects an incoming
INVITE (1) request, which contains a Trigger-Consent header field.
Using the URI in that header field, the user sends a PUBLISH request
(4) to the relay. On receiving the PUBLISH request (4), the relay
generates a MESSAGE request (6) towards the user. Finally, the user
revokes the permissions by sending a PUBLISH request (8) to the
relay.
<span class="grey">Rosenberg, et al. Standards Track [Page 19]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-20" ></span>
<span class="grey"><a href="./rfc5360">RFC 5360</a> Consent Framework October 2008</span>
Relay B@example.com
|(1) INVITE |
| Trigger-Consent: sip:123@relay.example.com
| ;target-uri="sip:friends@relay.example.com"
|---------------------------->|
|(2) 603 Decline |
|<----------------------------|
|(3) ACK |
|---------------------------->|
|(4) PUBLISH sip:123@relay.example.com
|<----------------------------|
|(5) 200 OK |
|---------------------------->|
|(6) MESSAGE sip:B@example |
| Permission Document |
|---------------------------->|
|(7) 200 OK |
|<----------------------------|
|(8) PUBLISH uri-deny |
|<----------------------------|
|(9) 200 OK |
|---------------------------->|
Figure 5: Permission Revocation
<span class="h3"><a class="selflink" id="section-5.9" href="#section-5.9">5.9</a>. Request-Contained URI Lists</span>
In the scenarios described so far, a user adds recipient URIs to the
translation logic of a relay. However, the relay does not perform
translations towards those recipient URIs until permissions are
obtained.
URI-list services using request-contained URI lists are a special
case because the selection of recipient URIs is performed at the same
time as the communication attempt. A user places a set of recipient
URIs in a request and sends it to a relay so that the relay sends a
similar request to all those recipient URIs.
Relays implementing this consent framework and providing request-
contained URI-list services behave in a slightly different way than
the relays described so far. This type of relay also maintains a
list of recipient URIs for which permissions have been received.
Clients also manipulate this list using a manipulation mechanism
(e.g., XCAP). Nevertheless, this list does not represent the
recipient URIs of every translation performed by the relay. This
list just represents all the recipient URIs for which permissions
have been received -- that is, the set of URIs that will be accepted
<span class="grey">Rosenberg, et al. Standards Track [Page 20]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-21" ></span>
<span class="grey"><a href="./rfc5360">RFC 5360</a> Consent Framework October 2008</span>
if a request containing a URI-list arrives to the relay. This set of
URIs is a superset of the recipient URIs of any particular
translation the relay performs.
<span class="h4"><a class="selflink" id="section-5.9.1" href="#section-5.9.1">5.9.1</a>. Relay's Behavior</span>
On receiving a request-contained URI list, the relay checks whether
or not it has permissions for all the URIs contained in the incoming
URI list. If it does, the relay performs the translation. If it
lacks permissions for one or more URIs, the relay MUST NOT perform
the translation and SHOULD return an error response.
A relay that receives a request-contained URI list with a URI for
which the relay has no permissions SHOULD return a 470 (Consent
Needed) response. The relay SHOULD add a Permission-Missing header
field with the URIs for which the relay has no permissions.
Figure 6 shows a relay that receives a request (1) that contains URIs
for which the relay does not have permission (the INVITE carries the
recipient URIs in its message body). The relay rejects the request
with a 470 (Consent Needed) response (2). That response contains a
Permission-Missing header field with the URIs for which there was no
permission.
A@example.com Relay
|(1) INVITE |
| sip:B@example.com |
| sip:C@example.com |
|---------------------->|
|(2) 470 Consent Needed |
| Permission-Missing: sip:C@example.com
|<----------------------|
|(3) ACK |
|---------------------->|
Figure 6: INVITE with a URI List in Its Body
<span class="h4"><a class="selflink" id="section-5.9.2" href="#section-5.9.2">5.9.2</a>. Definition of the 470 Response Code</span>
A 470 (Consent Needed) response indicates that the request that
triggered the response contained a URI list with at least one URI for
which the relay had no permissions. A user agent server generating a
470 (Consent Needed) response SHOULD include a Permission-Missing
header field in it. This header field carries the URI or URIs for
which the relay had no permissions.
<span class="grey">Rosenberg, et al. Standards Track [Page 21]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-22" ></span>
<span class="grey"><a href="./rfc5360">RFC 5360</a> Consent Framework October 2008</span>
A user agent client receiving a 470 (Consent Needed) response without
a Permission-Missing header field needs to use an alternative
mechanism (e.g., XCAP) to discover for which URI or URIs there were
no permissions.
A client receiving a 470 (Consent Needed) response uses a
manipulation mechanism (e.g., XCAP) to add those URIs to the relay's
list of URIs. The relay will obtain permissions for those URIs as
usual.
<span class="h4"><a class="selflink" id="section-5.9.3" href="#section-5.9.3">5.9.3</a>. Definition of the Permission-Missing Header Field</span>
Permission-Missing header fields carry URIs for which a relay did not
have permissions. The following is the augmented Backus-Naur Form
(BNF) [<a href="./rfc5234" title=""Augmented BNF for Syntax Specifications: ABNF"">RFC5234</a>] syntax of the Permission-Missing header field. Some
of its elements are defined in [<a href="./rfc3261" title=""SIP: Session Initiation Protocol"">RFC3261</a>].
Permission-Missing = "Permission-Missing" HCOLON per-miss-spec
*( COMMA per-miss-spec )
per-miss-spec = ( name-addr / addr-spec )
*( SEMI generic-param )
The following is an example of a Permission-Missing header field:
Permission-Missing: sip:C@example.com
<span class="h3"><a class="selflink" id="section-5.10" href="#section-5.10">5.10</a>. Registrations</span>
Even though the example used to specify this framework has been a
URI-list service, this framework applies to any type of translation
(i.e., not only to URI-list services). Registrations are a different
type of translations that deserve discussion.
Registrations are a special type of translations. The user
registering has a trust relationship with the registrar in its home
domain. This is not the case when a user gives any type of
permissions to a relay in a different domain.
Traditionally, REGISTER transactions have performed two operations at
the same time: setting up a translation and authorizing the use of
that translation. For example, a user registering its current
contact URI is giving permission to the registrar to forward traffic
sent to the user's AoR (Address of Record) to the registered contact
URI. This works fine when the entity registering is the same as the
one that will be receiving traffic at a later point (e.g., the entity
<span class="grey">Rosenberg, et al. Standards Track [Page 22]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-23" ></span>
<span class="grey"><a href="./rfc5360">RFC 5360</a> Consent Framework October 2008</span>
receives traffic over the same connection used for the registration
as described in [<a href="#ref-OUTBOUND" title=""Managing Client Initiated Connections in the Session Initiation Protocol (SIP)"">OUTBOUND</a>]). However, this schema creates some
potential attacks that relate to third-party registrations.
An attacker binds, via a registration, his or her AoR with the
contact URI of a victim. Now the victim will receive unsolicited
traffic that was originally addressed to the attacker.
The process of authorizing a registration is shown in Figure 7. User
A performs a third-party registration (1) and receives a 202
(Accepted) response (2).
Since the relay does not have permission from
'sip:a@ws123.example.com' to perform translations towards that
recipient URI, the relay places 'sip:a@ws123.example.com' in the
'pending' state. Once 'sip:a@ws123.example.com' is in the
'Permission Pending' state, the registrar needs to ask
'sip:a@ws123.example.com' for permission by sending a MESSAGE request
(3).
After receiving the response from the relay (2), user A subscribes to
the Pending Additions event package at the registrar (5). This
subscription keeps the user informed about the status of the
permissions (e.g., granted or denied) the registrar will obtain. The
rest of the process is similar to the one described in <a href="#section-5">Section 5</a>.
<span class="grey">Rosenberg, et al. Standards Track [Page 23]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-24" ></span>
<span class="grey"><a href="./rfc5360">RFC 5360</a> Consent Framework October 2008</span>
A@example.com Registrar a@ws123.example.com
|(1) REGISTER | |
| Contact: sip:a@ws123.example.com |
|------------------>| |
|(2) 202 Accepted OK| |
|<------------------| |
| |(3) MESSAGE sip:a@ws123.example
| | Permission Document
| |------------------>|
| |(4) 200 OK |
| |<------------------|
|(5) SUBSCRIBE | |
| Event: pending-additions |
|------------------>| |
|(6) 200 OK | |
|<------------------| |
|(7) NOTIFY | |
|<------------------| |
|(8) 200 OK | |
|------------------>| |
| |(9) PUBLISH uri-up |
| |<------------------|
| |(10) 200 OK |
| |------------------>|
|(11) NOTIFY | |
|<------------------| |
|(12) 200 OK | |
|------------------>| |
Figure 7: Registration
Permission documents generated by registrars are typically very
general. For example, in one such document a registrar can ask a
recipient for permission to forward any request from any sender to
the recipient's URI. This is the type of granularity that this
framework intends to provide for registrations. Users who want to
define how incoming requests are treated with a finer granularity
(e.g., requests from user A are only accepted between 9:00 and 11:00)
will have to use other mechanisms such as Call Processing Language
(CPL) [<a href="./rfc3880" title=""Call Processing Language (CPL): A Language for User Control of Internet Telephony Services"">RFC3880</a>].
Note that, as indicated previously, user agents using the same
connection to register and to receive traffic from the registrar,
as described in [<a href="#ref-OUTBOUND" title=""Managing Client Initiated Connections in the Session Initiation Protocol (SIP)"">OUTBOUND</a>], do not need to use the mechanism
described in this section.
<span class="grey">Rosenberg, et al. Standards Track [Page 24]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-25" ></span>
<span class="grey"><a href="./rfc5360">RFC 5360</a> Consent Framework October 2008</span>
A user agent being registered by a third party can be unable to use
the SIP Identity, P-Asserted-Identity, or SIP digest mechanisms to
prove to the registrar that the user agent is the owner of the URI
being registered (e.g., sip:user@192.0.2.1), which is the recipient
URI of the translation. In this case, return routability MUST be
used.
<span class="h3"><a class="selflink" id="section-5.11" href="#section-5.11">5.11</a>. Relays Generating Traffic towards Recipients</span>
Relays generating traffic towards recipients need to make sure that
those recipients can revoke the permissions they gave at any time.
The Trigger-Consent helps achieve this.
<span class="h4"><a class="selflink" id="section-5.11.1" href="#section-5.11.1">5.11.1</a>. Relay's Behavior</span>
A relay executing a translation that involves sending a request to a
URI from which permissions were obtained previously SHOULD add a
Trigger-Consent header field to the request. The URI in the
Trigger-Consent header field MUST have a target-uri header field
parameter identifying the target URI of the translation.
On receiving a PUBLISH request addressed to the URI that a relay
previously placed in a Trigger-Consent header field, the relay SHOULD
send a MESSAGE request to the corresponding recipient URI with a
permission document. Therefore, the relay needs to be able to
correlate the URI it places in the Trigger-Consent header field with
the recipient URI of the translation.
<span class="h4"><a class="selflink" id="section-5.11.2" href="#section-5.11.2">5.11.2</a>. Definition of the Trigger-Consent Header Field</span>
The following is the augmented Backus-Naur Form (BNF) [<a href="./rfc5234" title=""Augmented BNF for Syntax Specifications: ABNF"">RFC5234</a>]
syntax of the Trigger-Consent header field. Some of its elements are
defined in [<a href="./rfc3261" title=""SIP: Session Initiation Protocol"">RFC3261</a>].
Trigger-Consent = "Trigger-Consent" HCOLON trigger-cons-spec
*( COMMA trigger-cons-spec )
trigger-cons-spec = ( SIP-URI / SIPS-URI )
*( SEMI trigger-param )
trigger-param = target-uri / generic-param
target-uri = "target-uri" EQUAL
LDQUOT *( qdtext / quoted-pair ) RDQUOT
The target-uri header field parameter MUST contain a URI.
The following is an example of a Trigger-Consent header field:
Trigger-Consent: sip:123@relay.example.com
;target-uri="sip:friends@relay.example.com"
<span class="grey">Rosenberg, et al. Standards Track [Page 25]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-26" ></span>
<span class="grey"><a href="./rfc5360">RFC 5360</a> Consent Framework October 2008</span>
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. IANA Considerations</span>
Per the following sections, IANA has registered a SIP response code,
two SIP header fields, and a SIP header field parameter.
<span class="h3"><a class="selflink" id="section-6.1" href="#section-6.1">6.1</a>. Registration of the 470 Response Code</span>
IANA has added the following new response code to the Methods and
Response Codes subregistry under the SIP Parameters registry.
Response Code Number: 470
Default Reason Phrase: Consent Needed
Reference: [<a href="./rfc5360">RFC5360</a>]
<span class="h3"><a class="selflink" id="section-6.2" href="#section-6.2">6.2</a>. Registration of the Trigger-Consent Header Field</span>
IANA has added the following new SIP header field to the Header
Fields subregistry under the SIP Parameters registry.
Header Name: Trigger-Consent
Compact Form: (none)
Reference: [<a href="./rfc5360">RFC5360</a>]
<span class="h3"><a class="selflink" id="section-6.3" href="#section-6.3">6.3</a>. Registration of the Permission-Missing Header Field</span>
IANA has added the following new SIP header field to the Header
Fields subregistry under the SIP Parameters registry.
Header Name: Permission-Missing
Compact Form: (none)
Reference: [<a href="./rfc5360">RFC5360</a>]
<span class="h3"><a class="selflink" id="section-6.4" href="#section-6.4">6.4</a>. Registration of the target-uri Header Field Parameter</span>
IANA has registered the 'target-uri' Trigger-Consent header field
parameter under the Header Field Parameters and Parameter Values
subregistry within the SIP Parameters registry:
Predefined
Header Field Parameter Name Values Reference
---------------------------- --------------- --------- ---------
Trigger-Consent target-uri No [<a href="./rfc5360">RFC5360</a>]
<span class="grey">Rosenberg, et al. Standards Track [Page 26]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-27" ></span>
<span class="grey"><a href="./rfc5360">RFC 5360</a> Consent Framework October 2008</span>
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Security Considerations</span>
Security has been discussed throughout the whole document. However,
there are some issues that deserve special attention.
Relays generally implement several security mechanisms that relate to
client authentication and authorization. Clients are typically
authenticated before they can manipulate a relay's translation logic.
Additionally, clients are typically also authenticated and sometimes
need to perform SPAM prevention tasks [<a href="./rfc5039" title=""The Session Initiation Protocol (SIP) and Spam"">RFC5039</a>] when they send
traffic to a relay. It is important that relays implement these
types of security mechanisms. However, they fall out of the scope of
this framework. Even with these mechanisms in place, there is still
a need for relays to implement this framework because the use of
these mechanisms does not prevent authorized clients to add
recipients to a translation without their consent. Consequently,
relays performing translations MUST implement this framework.
Note that, as indicated previously, user agents using the same
connection to register and to receive traffic from the registrar,
as described in [<a href="#ref-OUTBOUND" title=""Managing Client Initiated Connections in the Session Initiation Protocol (SIP)"">OUTBOUND</a>], do not need to use this framework.
Therefore, a registrar that did not accept third-party
registrations would not need to implement this framework.
As pointed out in <a href="#section-5.6.1.3">Section 5.6.1.3</a>, when return routability tests are
used to authenticate recipients granting or denying permissions, the
URIs used to grant or deny permissions need to be protected from
attackers. SIPS URIs provide a good tool to meet this requirement,
as described in [<a href="./rfc5361" title=""A Document Format for Requesting Consent"">RFC5361</a>]. When store-and-forward servers are used,
the interface between a user agent and its store-and-forward server
is frequently not based on SIP. In such a case, SIPS cannot be used
to secure those URIs. Implementations of store-and-forward servers
MUST provide a mechanism for delivering encrypted and integrity-
protected messages to their user agents.
The information provided by the Pending Additions event package can
be sensitive. For this reason, as described in [<a href="./rfc5362" title=""The Session Initiation Protocol (SIP) Pending Additions Event Package"">RFC5362</a>], relays
need to use strong means for authentication and information
confidentiality. SIPS URIs are a good mechanism to meet this
requirement.
Permission documents can reveal sensitive information. Attackers may
attempt to modify them in order to have clients grant or deny
permissions different from the ones they think they are granting or
denying. For this reason, it is RECOMMENDED that relays use strong
means for information integrity protection and confidentiality when
sending permission documents to clients.
<span class="grey">Rosenberg, et al. Standards Track [Page 27]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-28" ></span>
<span class="grey"><a href="./rfc5360">RFC 5360</a> Consent Framework October 2008</span>
The mechanism used for conveying information to clients SHOULD ensure
the integrity and confidentially of the information. In order to
achieve these, an end-to-end SIP encryption mechanism, such as
S/MIME, as described in [<a href="./rfc3261" title=""SIP: Session Initiation Protocol"">RFC3261</a>], SHOULD be used.
If strong end-to-end security means (such as above) are not
available, it is RECOMMENDED that hop-by-hop security based on TLS
and SIPS URIs, as described in [<a href="./rfc3261" title=""SIP: Session Initiation Protocol"">RFC3261</a>], is used.
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. Acknowledgments</span>
Henning Schulzrinne, Jon Peterson, and Cullen Jennings provided
useful ideas on this document. Ben Campbell, AC Mahendran, Keith
Drage, and Mary Barnes performed a thorough review of this document.
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>. References</span>
<span class="h3"><a class="selflink" id="section-9.1" href="#section-9.1">9.1</a>. Normative References</span>
[<a id="ref-RFC2119">RFC2119</a>] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>, March 1997.
[<a id="ref-RFC2616">RFC2616</a>] Fielding, R., Gettys, J., Mogul, J., Frystyk, H.,
Masinter, L., Leach, P., and T. Berners-Lee, "Hypertext
Transfer Protocol -- HTTP/1.1", <a href="./rfc2616">RFC 2616</a>, June 1999.
[<a id="ref-RFC3261">RFC3261</a>] Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston,
A., Peterson, J., Sparks, R., Handley, M., and E.
Schooler, "SIP: Session Initiation Protocol", <a href="./rfc3261">RFC 3261</a>,
June 2002.
[<a id="ref-RFC3428">RFC3428</a>] Campbell, B., Ed., Rosenberg, J., Schulzrinne, H.,
Huitema, C., and D. Gurle, "Session Initiation Protocol
(SIP) Extension for Instant Messaging", <a href="./rfc3428">RFC 3428</a>, December
2002.
[<a id="ref-RFC5234">RFC5234</a>] Crocker, D., Ed., and P. Overell, "Augmented BNF for
Syntax Specifications: ABNF", STD 68, <a href="./rfc5234">RFC 5234</a>, January
2008.
[<a id="ref-RFC5361">RFC5361</a>] Camarillo, G., "A Document Format for Requesting Consent",
<a href="./rfc5361">RFC 5361</a>, October 2008.
[<a id="ref-RFC5362">RFC5362</a>] Camarillo, G., "The Session Initiation Protocol (SIP)
Pending Additions Event Package", <a href="./rfc5362">RFC 5362</a>, October 2008.
<span class="grey">Rosenberg, et al. Standards Track [Page 28]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-29" ></span>
<span class="grey"><a href="./rfc5360">RFC 5360</a> Consent Framework October 2008</span>
[<a id="ref-RFC5363">RFC5363</a>] Camarillo, G. and A.B. Roach, "Framework and Security
Considerations for Session Initiation Protocol (SIP) URI-
List Services", <a href="./rfc5363">RFC 5363</a>, October 2008.
<span class="h3"><a class="selflink" id="section-9.2" href="#section-9.2">9.2</a>. Informative References</span>
[<a id="ref-RFC3325">RFC3325</a>] Jennings, C., Peterson, J., and M. Watson, "Private
Extensions to the Session Initiation Protocol (SIP) for
Asserted Identity within Trusted Networks", <a href="./rfc3325">RFC 3325</a>,
November 2002.
[<a id="ref-RFC3880">RFC3880</a>] Lennox, J., Wu, X., and H. Schulzrinne, "Call Processing
Language (CPL): A Language for User Control of Internet
Telephony Services", <a href="./rfc3880">RFC 3880</a>, October 2004.
[<a id="ref-RFC4453">RFC4453</a>] Rosenberg, J., Camarillo, G., Ed., and D. Willis,
"Requirements for Consent-Based Communications in the
Session Initiation Protocol (SIP)", <a href="./rfc4453">RFC 4453</a>, April 2006.
[<a id="ref-RFC4474">RFC4474</a>] Peterson, J. and C. Jennings, "Enhancements for
Authenticated Identity Management in the Session
Initiation Protocol (SIP)", <a href="./rfc4474">RFC 4474</a>, August 2006.
[<a id="ref-RFC4825">RFC4825</a>] Rosenberg, J., "The Extensible Markup Language (XML)
Configuration Access Protocol (XCAP)", <a href="./rfc4825">RFC 4825</a>, May 2007.
[<a id="ref-RFC4826">RFC4826</a>] Rosenberg, J., "Extensible Markup Language (XML) Formats
for Representing Resource Lists", <a href="./rfc4826">RFC 4826</a>, May 2007.
[<a id="ref-RFC5039">RFC5039</a>] Rosenberg, J. and C. Jennings, "The Session Initiation
Protocol (SIP) and Spam", <a href="./rfc5039">RFC 5039</a>, January 2008.
[<a id="ref-OUTBOUND">OUTBOUND</a>] Jennings, C. and R. Mahy, "Managing Client Initiated
Connections in the Session Initiation Protocol (SIP)",
Work in Progress, June 2007.
<span class="grey">Rosenberg, et al. Standards Track [Page 29]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-30" ></span>
<span class="grey"><a href="./rfc5360">RFC 5360</a> Consent Framework October 2008</span>
Authors' Addresses
Jonathan Rosenberg
Cisco
Iselin, NJ 08830
USA
EMail: jdrosen@cisco.com
URI: <a href="http://www.jdrosen.net">http://www.jdrosen.net</a>
Gonzalo Camarillo (editor)
Ericsson
Hirsalantie 11
Jorvas 02420
Finland
EMail: Gonzalo.Camarillo@ericsson.com
Dean Willis
Unaffiliated
3100 Independence Pkwy #311-164
Plano, TX 75075
USA
EMail: dean.willis@softarmor.com
<span class="grey">Rosenberg, et al. Standards Track [Page 30]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-31" ></span>
<span class="grey"><a href="./rfc5360">RFC 5360</a> Consent Framework October 2008</span>
Full Copyright Statement
Copyright (C) The IETF Trust (2008).
This document is subject to the rights, licenses and restrictions
contained in <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a>, and except as set forth therein, the authors
retain all their rights.
This document and the information contained herein are provided on an
"AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST AND
THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF
THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Intellectual Property
The IETF takes no position regarding the validity or scope of any
Intellectual Property Rights or other rights that might be claimed to
pertain to the implementation or use of the technology described in
this document or the extent to which any license under such rights
might or might not be available; nor does it represent that it has
made any independent effort to identify any such rights. Information
on the procedures with respect to rights in RFC documents can be
found in <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and <a href="https://www.rfc-editor.org/bcp/bcp79">BCP 79</a>.
Copies of IPR disclosures made to the IETF Secretariat and any
assurances of licenses to be made available, or the result of an
attempt made to obtain a general license or permission for the use of
such proprietary rights by implementers or users of this
specification can be obtained from the IETF on-line IPR repository at
<a href="http://www.ietf.org/ipr">http://www.ietf.org/ipr</a>.
The IETF invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights that may cover technology that may be required to implement
this standard. Please address the information to the IETF at
ietf-ipr@ietf.org.
Rosenberg, et al. Standards Track [Page 31]
</pre>
|