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
|
Internet Engineering Task Force (IETF) I. McDonald
Request for Comments: 7472 High North, Inc.
Updates: 2910, 2911 M. Sweet
Category: Standards Track Apple, Inc.
ISSN: 2070-1721 March 2015
Internet Printing Protocol (IPP) over HTTPS Transport Binding
and the 'ipps' URI Scheme
Abstract
This document defines the Internet Printing Protocol (IPP) over HTTPS
transport binding and the corresponding 'ipps' URI scheme, which is
used to designate the access to the network location of a secure IPP
print service or a network resource managed by such a service.
This document defines an alternate IPP transport binding to that
defined in the original IPP URL Scheme (RFC 3510), but this document
does not update or obsolete RFC 3510.
This document updates RFCs 2910 and 2911.
Status of This Memo
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in Section 2 of RFC 5741.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
http://www.rfc-editor.org/info/rfc7472.
McDonald & Sweet Standards Track [Page 1]
^L
RFC 7472 IPP over HTTPS and 'ipps' URI Scheme March 2015
Copyright Notice
Copyright (c) 2015 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
This document may contain material from IETF Documents or IETF
Contributions published or made publicly available before November
10, 2008. The person(s) controlling the copyright in some of this
material may not have granted the IETF Trust the right to allow
modifications of such material outside the IETF Standards Process.
Without obtaining an adequate license from the person(s) controlling
the copyright in such materials, this document may not be modified
outside the IETF Standards Process, and derivative works of it may
not be created outside the IETF Standards Process, except to format
it for publication as an RFC or to translate it into languages other
than English.
McDonald & Sweet Standards Track [Page 2]
^L
RFC 7472 IPP over HTTPS and 'ipps' URI Scheme March 2015
Table of Contents
1. Introduction ....................................................3
1.1. Structure of This Document .................................4
1.2. Rationale for This Document ................................5
2. Conventions Used in This Document ...............................5
2.1. Requirements Language ......................................5
2.2. Printing Terminology .......................................5
2.3. Abbreviations ..............................................6
3. IPP over HTTPS Transport Binding ................................7
4. Definition of 'ipps' URI Scheme .................................8
4.1. Applicability of 'ipps' URI Scheme .........................8
4.2. Syntax of 'ipps' URI Scheme ................................8
4.3. Associated Port for 'ipps' URI Scheme .....................10
4.4. Character Encoding of 'ipps' URI Scheme ...................10
4.5. Examples of 'ipps' URIs ...................................11
4.6. Comparisons of 'ipps' URIs ................................12
5. IANA Considerations ............................................12
6. Security Considerations ........................................13
6.1. Problem Statement .........................................13
6.1.1. Targets of Attacks .................................14
6.1.2. Layers of Attacks ..................................14
6.2. Attacks and Defenses ......................................14
6.2.1. Faked 'ipps' URI ...................................15
6.2.2. Unauthorized Access by IPP Client ..................15
6.2.3. Compromise at Application Layer Gateway ............15
6.2.4. No Client Authentication for 'ipps' URI ............15
6.3. TLS Version Requirements ..................................16
7. References .....................................................16
7.1. Normative References ......................................16
7.2. Informative References ....................................17
Acknowledgments ...................................................19
Authors' Addresses ................................................19
1. Introduction
This document defines the Internet Printing Protocol (IPP) over HTTPS
transport binding and the corresponding 'ipps' URI scheme, which is
used to designate the access to the network location of a secure IPP
print service or a network resource managed by such a service.
This document has been submitted to the IETF by the Internet Printing
Protocol Working Group (WG) of the IEEE-ISTO Printer Working Group,
as part of their PWG "IPP Everywhere" (PWG 5100.14) project for
secure mobile printing with vendor-neutral Client software.
McDonald & Sweet Standards Track [Page 3]
^L
RFC 7472 IPP over HTTPS and 'ipps' URI Scheme March 2015
This document defines an alternate IPP transport binding to that
defined in the original IPP URL Scheme [RFC3510], but this document
does not update or obsolete [RFC3510].
This document updates:
a) "Internet Printing Protocol/1.1: Encoding and Transport"
[RFC2910], by extending Section 4 ("Encoding of Transport Layer"),
Section 5 ("IPP URL Scheme"); and Section 8.2 ("Using IPP with
TLS") to add the new standard URI scheme of 'ipps' for IPP
Printers; and
b) "Internet Printing Protocol/1.1: Model and Semantics" [RFC2911],
by extending Section 4.1.6 ("uriScheme") and Section 4.4.1
("printer-uri-supported") to add the new standard URI scheme of
'ipps' for IPP Printers.
The following versions of IPP are currently defined:
a) 1.0 in [RFC2566] (obsolete);
b) 1.1 in [RFC2911];
c) 2.0 in [PWG5100.12];
d) 2.1 in [PWG5100.12]; and
e) 2.2 in [PWG5100.12].
Overview information about IPP is available in Section 1 of
[RFC2911], Section 1 of [RFC3196], and Section 1 of PWG "IPP Version
2.0 Second Edition (IPP/2.0 SE)" [PWG5100.12].
1.1. Structure of This Document
This document contains the following sections:
Section 2 defines the conventions and terms used throughout the
document.
Section 3 defines the IPP over HTTPS transport binding.
Section 4 defines the 'ipps' URI scheme.
Sections 5 and 6 contain IANA and security considerations,
respectively.
Section 7 contains references.
McDonald & Sweet Standards Track [Page 4]
^L
RFC 7472 IPP over HTTPS and 'ipps' URI Scheme March 2015
1.2. Rationale for This Document
The 'ipps' URI scheme was defined for the following reasons:
1) Some existing IPP Client and IPP Printer implementations of
"Upgrading to TLS Within HTTP/1.1" [RFC2817] are flawed and
unreliable, although this is not due to specification defects in
[RFC2817] itself.
2) Some existing IPP Client and IPP Printer implementations of HTTP
upgrade [RFC2817] do not perform an upgrade at the beginning of
every HTTP [RFC7230] connection; instead, they only shift to
secure IPP for selected IPP operations (inherently dangerous
behavior on the same underlying TCP [RFC793] connection).
3) IPP Printer server-mandated HTTP upgrade [RFC2817] can still lead
to exposure of IPP Client data if the Expect request header is not
used -- basically, the IPP Client can send its whole Print-Job
request before the IPP Printer has a chance to respond and say,
"Wait! You need to encrypt first!".
2. Conventions Used in This Document
2.1. Requirements Language
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in [RFC2119].
2.2. Printing Terminology
The reader of this document needs to be familiar with the printing
terms defined in "Internet Printing Protocol/1.1: Model and
Semantics" [RFC2911] as well as the following:
IPP Client: The software (on some hardware platform) that submits IPP
Job creation and IPP Printer and IPP Job management operations via
the IPP over HTTP transport binding defined in the IPP/1.1
Encoding and Transport document [RFC2910] and/or the IPP over
HTTPS transport binding defined in Section 3 of this specification
to an IPP Printer (print spooler, print gateway, or physical
printing device).
IPP Job: The set of attributes and documents for one print job
instantiated in an IPP Printer.
IPP Job object: Synonym for IPP Job.
McDonald & Sweet Standards Track [Page 5]
^L
RFC 7472 IPP over HTTPS and 'ipps' URI Scheme March 2015
IPP Printer: The software (on some hardware platform) that receives
IPP Job creation and IPP Printer and IPP Job management operations
via the IPP over HTTP transport binding defined in the IPP/1.1
Encoding and Transport document [RFC2910] and/or the IPP over
HTTPS transport binding defined in Section 3 of this specification
from an IPP Client.
IPP Printer object: Synonym for IPP Printer.
'ipps' URI: A URI using the 'ipps' URI scheme defined in Section 4
of this specification.
2.3. Abbreviations
This document makes use of the following abbreviations (given with
their expanded forms and references for further reading):
ABNF - Augmented Backus-Naur Form [STD68]
ASCII - American Standard Code for Information Interchange [ASCII]
HTTP - HyperText Transfer Protocol [RFC7230]
HTTPS - HTTP over TLS [RFC7230]
IANA - Internet Assigned Numbers Authority
<http://www.iana.org>
IEEE - Institute of Electrical and Electronics Engineers
<http://www.ieee.org>
IESG - Internet Engineering Steering Group
<http://www.ietf.org/iesg/>
IPP - Internet Printing Protocol [RFC2911] and [PWG5100.12]
<http://www.pwg.org/ipp/>
ISTO - IEEE Industry Standards and Technology Organization
<http://www.ieee-isto.org/>
LPD - Line Printer Daemon Protocol [RFC1179]
PWG - IEEE-ISTO Printer Working Group
<http://www.pwg.org>
RFC - Request for Comments
<http://www.rfc-editor.org>
McDonald & Sweet Standards Track [Page 6]
^L
RFC 7472 IPP over HTTPS and 'ipps' URI Scheme March 2015
TCP - Transmission Control Protocol [RFC793]
TLS - Transport Layer Security [RFC5246]
URI - Uniform Resource Identifier [STD66]
URL - Uniform Resource Locator [STD66]
UTF-8 - Unicode Transformation Format - 8-bit [STD63]
3. IPP over HTTPS Transport Binding
This document defines the following alternate IPP over HTTPS
transport binding for the abstract protocol defined in "Internet
Printing Protocol/1.1: Model and Semantics" [RFC2911] and IEEE-ISTO
PWG "IPP Version 2.0 Second Edition (IPP/2.0 SE)" [PWG5100.12].
When using an 'ipps' URI, an IPP Client MUST establish an IPP
application-layer connection according to the following sequence:
1) The IPP Client selects an 'ipps' URI value from a "printer-uri-
supported" Printer attribute [RFC2911], a directory entry,
discovery info, a web page, etc.;
2) The IPP Client converts the 'ipps' URI to an 'https' URI [RFC7230]
(replacing 'ipps' with 'https' and inserting the port number from
the URI or port 631 if the URI doesn't include an explicit port
number);
3) The IPP Client establishes an HTTPS [RFC7230] secure session layer
connection to the target endpoint; and
4) The IPP Client sends requests to and receives responses from the
target IPP application-layer resource over the HTTPS [RFC7230]
secure session layer connection using the POST method defined in
[RFC7231].
McDonald & Sweet Standards Track [Page 7]
^L
RFC 7472 IPP over HTTPS and 'ipps' URI Scheme March 2015
4. Definition of 'ipps' URI Scheme
4.1. Applicability of 'ipps' URI Scheme
Per PWG "IPP Everywhere" [PWG5100.14], in IPP exchanges, the 'ipps'
URI scheme MUST only be used:
a) To specify an absolute URI for IPP secure print services and their
associated network resources;
b) To specify the use of the abstract protocol defined in "Internet
Printing Protocol/1.1: Model and Semantics" [RFC2911] and IEEE-
ISTO PWG "IPP Version 2.0 Second Edition (IPP/2.0 SE)"
[PWG5100.12]; and
c) To specify the use of the transport binding defined in this
document.
The 'ipps' URI scheme allows an IPP Client to choose an appropriate
IPP secure print service (for example, from a directory). The IPP
Client can establish an HTTPS connection to the specified IPP secure
print service. The IPP Client can send IPP requests (for example,
Print-Job requests) and receive IPP responses over that HTTPS
connection.
See: Section 4.2 ("Syntax of 'ipps' URI Scheme") of this document.
See: Section 4.4.1 ("printer-uri-supported") in [RFC2911].
See: Section 5 ("IPP URL Scheme") in [RFC2910].
See: Section 4 ("IPP Standards") of IEEE-ISTO PWG "IPP Version 2.0
Second Edition (IPP/2.0 SE)" [PWG5100.12].
4.2. Syntax of 'ipps' URI Scheme
The abstract protocol defined in [RFC2911] places a limit of 1023
octets (NOT characters) on the length of a URI.
See: "Uniform Resource Identifier (URI): Generic Syntax" [STD66].
Per PWG "IPP Everywhere" [PWG5100.14], for compatibility with
existing IPP implementations, IPP Printers SHOULD NOT generate 'ipp'
[RFC3510] or 'ipps' URI (or allow administrators to configure)
lengths above 255 octets, because many older IPP Client
implementations do not properly support these lengths.
McDonald & Sweet Standards Track [Page 8]
^L
RFC 7472 IPP over HTTPS and 'ipps' URI Scheme March 2015
Per PWG "IPP Everywhere" [PWG5100.14], in IPP exchanges, 'ipps' URIs
MUST be represented in absolute form. Absolute URIs always begin
with a scheme name followed by a colon. For definitive information
on URI syntax and semantics, see "Uniform Resource Identifier (URI):
Generic Syntax and Semantics" [STD66]. This specification adopts the
definitions of "host", "port", and "query" from [STD66]. This
specification adopts the definition of "absolute-path" from
[RFC7230].
The 'ipps' URI scheme syntax in ABNF [STD68] is defined as follows:
ipps-uri =
"ipps:" "//" host [ ":" port ] [ absolute-path [ "?" query ]]
Per [RFC2910], if the port is empty or not given, then port 631 MUST
be used.
See: Section 4.3 ("Associated Port for 'ipps' URI Scheme") in this
document.
The semantics are that the identified resource (see [RFC7230]) is
located at the IPP secure print service listening for HTTPS
connections on that port of that host; and the Request-URI for the
identified resource is 'absolute-path'.
Note: The higher-level "authority" production is not imported from
[STD66], because it includes an optional "userinfo" component that
cannot be used in 'ipps' URIs.
Note: The "query" production does not have defined semantics in IPP
and was never used in examples in the IPP/1.1 Encoding and Transport
document [RFC2910] or the original IPP URL Scheme [RFC3510]. The
"query" is retained here for consistency, but IPP Clients SHOULD
avoid its use (because the semantics would be implementation
defined).
Note: Per PWG "IPP Everywhere" [PWG5100.14], literal IPv4 or IPv6
addresses SHOULD NOT be used in 'ipps' URIs, because:
a) IP addresses are often changed after network device installation
(for example, based on DHCP reassignment after a power cycle);
b) IP addresses often don't map simply to security domains;
c) IP addresses are difficult to validate with X.509 server
certificates (because they do not map to common name or alternate
name attributes); and
McDonald & Sweet Standards Track [Page 9]
^L
RFC 7472 IPP over HTTPS and 'ipps' URI Scheme March 2015
d) IP link local addresses are not "portable" due to link identity.
Per [RFC2910], if the 'absolute-path' is not present in an IPP URI,
it MUST be given as "/" when used as a Request-URI for a resource
(see [RFC7230]). An 'ipps' URI is transformed into an 'https' URI by
replacing "ipps:" with "https:" and inserting port 631 (if an
explicit 'port' is not present in the original 'ipps' URI).
See: Section 4.3 ("Associated Port for 'ipps' URI Scheme") in this
document.
4.3. Associated Port for 'ipps' URI Scheme
Per [RFC2910], all 'ipps' URIs that do NOT explicitly specify a port
MUST be resolved to IANA-assigned well-known port 631, already
registered in [PORTREG] by [RFC2910].
Note: Per direction of the IESG, as described in [RFC2910], port 631
is used for all IPP connections (with or without TLS [RFC5246]).
Therefore, port 631 is used for both 'ipp' [RFC3510] and 'ipps' URIs,
which both refer to an IPP Printer or a network resource managed by
an IPP Printer. IPP Printer implementors can refer to the CUPS
[CUPS] source code for an example of incoming connection handling for
the dual use of port 631.
See: IANA Port Numbers Registry [PORTREG].
See: [RFC2910].
4.4. Character Encoding of 'ipps' URI Scheme
Per PWG "IPP Everywhere" [PWG5100.14], 'ipps' URIs MUST:
a) Use the UTF-8 [STD63] charset for all components; and
b) Use [STD66] rules for percent encoding data octets outside the US-
ASCII-coded character set [ASCII].
McDonald & Sweet Standards Track [Page 10]
^L
RFC 7472 IPP over HTTPS and 'ipps' URI Scheme March 2015
4.5. Examples of 'ipps' URIs
The following are examples of well-formed 'ipps' URIs for IPP
Printers (for example, to be used as protocol elements in 'printer-
uri' operation attributes of Print-Job request messages):
ipps://example.com/
ipps://example.com/ipp
ipps://example.com/ipp/faxout
ipps://example.com/ipp/print
ipps://example.com/ipp/scan
ipps://example.com/ipp/print/bob
ipps://example.com/ipp/print/ira
Note: The use of an explicit 'ipp' path component followed by
explicit 'print', 'faxout', 'scan', or other standard or vendor
service component is best practice per [PWG5100.14], [PWG5100.15],
and [PWG5100.17].
Each of the above URIs is a well-formed URI for an IPP Printer and
each would reference a logically different IPP Printer, even though
some of those IPP Printers might share the same host system. Note
that 'print' might represent some grouping of IPP Printers (for
example, a load-balancing spooler), while the 'bob' or 'ira' last
path components might represent two different physical printer
devices, or 'bob' and 'ira' might represent separate human recipients
on the same physical printer device (for example, a physical printer
supporting two job queues). Regardless, both 'bob' and 'ira' would
behave as different and independent IPP Printers.
The following are examples of well-formed 'ipps' URIs for IPP
Printers with (optional) ports and paths:
ipps://example.com/
ipps://example.com/ipp/print
ipps://example.com:631/ipp/print
The first and second 'ipps' URIs above will be resolved to port 631
(IANA-assigned well-known port for IPP). The second and third 'ipps'
URIs above are equivalent (see Section 4.6).
See: Sections 4.2 ("Syntax of 'ipps' URI Scheme") and 4.3
("Associated Port for 'ipps' URI Scheme") in this document.
McDonald & Sweet Standards Track [Page 11]
^L
RFC 7472 IPP over HTTPS and 'ipps' URI Scheme March 2015
4.6. Comparisons of 'ipps' URIs
Per PWG "IPP Everywhere" [PWG5100.14], when comparing two 'ipps' URIs
to decide whether or not they match, an IPP Client MUST use the same
rules as those defined for 'http' and 'https' URI comparisons in
[RFC7230], with the following single exception:
- A port that is empty or not given MUST be treated as equivalent to
the well-known port for that 'ipps' URI (port 631).
See: Section 4.3 ("Associated Port for 'ipps' URI Scheme") in this
document.
See: Section 2.7.3 ("http and https URI Normalization and
Comparison") in [RFC7230].
5. IANA Considerations
IANA has registered the new keyword value 'ipps' for the IPP Printer
"printer-uri-supported" attribute in the IANA IPP Registry [IPPREG],
per Section 6.2 ("Attribute Extensibility") of [RFC2911] as follows:
IANA has registered the 'ipps' URI scheme using the following
template, which conforms to [BCP35].
URI scheme name: ipps
Status: Permanent
URI scheme syntax: See Section 4.2 of RFC 7472.
URI scheme semantics: The 'ipps' URI scheme is used to designate
secure IPP Printer objects (print spoolers, print gateways, print
devices, etc.) on Internet hosts accessible using the IPP enhanced
to support guaranteed data integrity and negotiable data privacy
using TLS [RFC5246] as specified in HTTP/1.1 [RFC7230].
Encoding Considerations: See Section 4.4 of RFC 7472.
Applications/protocols that use this URI scheme name: The 'ipps' URI
scheme is intended to be used by applications that need to access
secure IPP Printers using the IPP enhanced to support guaranteed
data integrity and negotiable data privacy using TLS [RFC5246] as
specified in HTTP/1.1 [RFC7230]. Such applications may include
(but are not limited to) IPP-capable web browsers, IPP Clients
that wish to print a file, and servers (for example, print
spoolers) wishing to forward a Job for processing.
McDonald & Sweet Standards Track [Page 12]
^L
RFC 7472 IPP over HTTPS and 'ipps' URI Scheme March 2015
Interoperability Considerations: The widely deployed, open source IPP
print service CUPS [CUPS] (on most UNIX, Linux, and Apple OS X
systems) has supported 'ipps' URI for several years before the
publication of this document. PWG "IPP Everywhere" [PWG5100.14]
(IPP secure, mobile printing extensions) requires the use of
'ipps' URI for mandatory data integrity and negotiable data
confidentiality.
Security Considerations: See Section 6 of RFC 7472.
Contact: Ira McDonald <blueroofmusic@gmail.com>,
Michael Sweet <msweet@apple.com>
Author/Change controller: IESG
References: RFCs 2910, 2911, and 7472; IEEE-ISTO PWG 5100.12.
6. Security Considerations
6.1. Problem Statement
Powerful mobile devices (laptops, tablets, smartphones, etc.) are now
commonly used to access enterprise and Cloud print services across
the public Internet. This is the primary use case for PWG "IPP
Everywhere" [PWG5100.14], which has already been adopted by operating
system and printer vendors and several other public standards bodies.
End-user and enterprise documents and user privacy-sensitive
information are at greater risk than ever before. This IPP-over-
HTTPS transport binding and 'ipps' URI scheme specification was
defined to enable high availability combined with secure operation in
this dynamic environment (for example, wireless hotspots in hotels,
airports, and restaurants).
See: Section 1 ("Introduction") of [PWG5100.14].
See: Section 3.1 ("Rationale") of [PWG5100.14].
McDonald & Sweet Standards Track [Page 13]
^L
RFC 7472 IPP over HTTPS and 'ipps' URI Scheme March 2015
6.1.1. Targets of Attacks
A network print spooler (logical printer) or print device (physical
printer) is potentially subject to attacks, which may target:
a) The network (to compromise the routing infrastructure, for
example, by creating congestion);
b) The Internet Printing Protocol (IPP) [RFC2911] (for example, to
compromise the normal behavior of IPP);
c) The print job metadata (for example, to extract privacy-sensitive
information from the job submission request or via query of the
job on the IPP Printer); or
d) The print document content itself (for example, to steal the data
or to corrupt the documents being transferred).
6.1.2. Layers of Attacks
Attacks against print services can be launched:
a) Against the network infrastructure (for example, TCP [RFC793]
congestion control);
b) Against the IPP data flow itself (for example, by sending forged
packets or forcing TLS [RFC5246] version downgrade); or
c) Against the IPP operation parameters (for example, by corrupting
requested document processing attributes).
6.2. Attacks and Defenses
This 'ipps' URI Scheme specification adds the following additional
security considerations to those described in [RFC7230], [RFC2910],
[RFC2911], [RFC5246], [RFC7230], [PWG5100.12], and [STD66].
See: Section 8 ("Security Considerations") in [RFC2910].
See: Section 8 ("Security Considerations") in [RFC2911].
See: Appendix D ("Implementation Notes"), Appendix E ("Backward
Compatibility"), and Appendix F ("Security Analysis") of
[RFC5246].
See: Section 10 ("Security Considerations") in [PWG5100.12].
See: Section 7 ("Security Considerations") in [STD66].
McDonald & Sweet Standards Track [Page 14]
^L
RFC 7472 IPP over HTTPS and 'ipps' URI Scheme March 2015
6.2.1. Faked 'ipps' URI
An 'ipps' URI might be faked to point to a rogue IPP secure print
service, thus collecting confidential job metadata or document
contents from IPP Clients.
Due to administrator reconfiguration or physical relocation of an IPP
Printer, a former literal IPv4 or IPv6 address might no longer be
valid. See Section 4.2 ("Syntax of 'ipps' URI Scheme") for the
recommendation against the use of literal IP addresses in 'ipps' URI.
Server authentication mechanisms and security mechanisms specified in
IPP/1.1 Encoding and Transport [RFC2910], HTTP/1.1 [RFC7230], and
TLS/1.2 [RFC5246] can be used to address this threat.
6.2.2. Unauthorized Access by IPP Client
An 'ipps' URI might be used to access an IPP secure print service by
an unauthorized IPP Client, for example, extracting privacy-sensitive
information such as "job-originating-user-name" job metadata defined
in [RFC2911].
Client authentication mechanisms and security mechanisms specified in
IPP/1.1 Encoding and Transport [RFC2910], HTTP/1.1 [RFC7230], and
TLS/1.2 [RFC5246] can be used to address this threat.
6.2.3. Compromise at Application Layer Gateway
An 'ipps' URI might be used to access an IPP secure print service at
a print protocol application layer gateway (for example, an IPP to
LPD [RFC1179] gateway [RFC2569]), potentially causing silent
compromise of IPP security mechanisms.
There is no general defense against this threat by an IPP Client.
System administrators SHOULD avoid such configurations.
6.2.4. No Client Authentication for 'ipps' URI
An 'ipps' URI does not define parameters to specify the required IPP
Client authentication mechanism (for example, 'certificate' as
defined in Section 4.4.2 ("uri-authentication-supported") of
[RFC2911]).
An IPP Client SHOULD first use service discovery or directory
protocols (e.g., the "Lightweight Directory Access Protocol (LDAP):
Schema for Printer Services" [RFC3712]) or directly send an IPP Get-
Printer-Attributes operation to the target IPP Printer to read
McDonald & Sweet Standards Track [Page 15]
^L
RFC 7472 IPP over HTTPS and 'ipps' URI Scheme March 2015
"printer-uri-supported", "uri-authentication-supported", and "uri-
security-supported" attributes to discover the required IPP Client
authentication and security mechanisms for each supported URI.
6.3. TLS Version Requirements
Per PWG "IPP Everywhere" [PWG5100.14] (and in accordance with
security best practices and all existing deployments of the 'ipps'
URI scheme), IPP Clients and IPP Printers that support this
specification MUST use TLS/1.2 [RFC5246] or a higher version, for all
'ipps' secure transport layer connections.
Implementors will find useful advice in the "Recommendations for
Secure Use of TLS and DTLS" [TLSBCP].
7. References
7.1. Normative References
[ASCII] American National Standards Institute, "Coded Character
Set -- 7-bit American Standard Code for Information
Interchange", ANSI X3.4, 1986.
[PWG5100.12] Bergman, R., Lewis, H., McDonald, I., and M. Sweet,
"Internet Printing Protocol", Version 2.0, Second
Edition (IPP/2.0 SE), PWG 5100.12, February 2011,
<http://www.pwg.org/standards.html>.
[PWG5100.14] McDonald, I. and M. Sweet, "PWG IPP Everywhere", PWG
5100.14, January 2013,
<http://www.pwg.org/standards.html>.
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119, March 1997,
<http://www.rfc-editor.org/info/rfc2119>.
[RFC2910] Herriot, R., Ed., Butler, S., Moore, P., Turner, R., and
J. Wenn, "Internet Printing Protocol/1.1: Encoding and
Transport", RFC 2910, September 2000,
<http://www.rfc-editor.org/info/rfc2910>.
[RFC2911] Hastings, T., Ed., Herriot, R., deBry, R., Isaacson, S.,
and P. Powell, "Internet Printing Protocol/1.1: Model
and Semantics", RFC 2911, September 2000,
<http://www.rfc-editor.org/info/rfc2911>.
McDonald & Sweet Standards Track [Page 16]
^L
RFC 7472 IPP over HTTPS and 'ipps' URI Scheme March 2015
[RFC5246] Dierks, T. and E. Rescorla, "The Transport Layer
Security (TLS) Protocol Version 1.2", RFC 5246, August
2008, <http://www.rfc-editor.org/info/rfc5246>.
[RFC7230] Fielding, R., Ed., and J. Reschke, Ed., "Hypertext
Transfer Protocol (HTTP/1.1): Message Syntax and
Routing", RFC 7230, June 2014,
<http://www.rfc-editor.org/info/rfc7230>.
[RFC7231] Fielding, R., Ed., and J. Reschke, Ed., "Hypertext
Transfer Protocol (HTTP/1.1): Semantics and Content",
RFC 7231, June 2014,
<http://www.rfc-editor.org/info/rfc7231>.
[STD63] Yergeau, F., "UTF-8, a transformation format of ISO
10646", STD 63, RFC 3629, November 2003,
<http://www.rfc-editor.org/info/sstd63>.
[STD66] Berners-Lee, T., Fielding, R., and L. Masinter, "Uniform
Resource Identifier (URI): Generic Syntax", STD 66, RFC
3986, January 2005,
<http://www.rfc-editor.org/info/std66>.
[STD68] Crocker, D., Ed., and P. Overell, "Augmented BNF for
Syntax Specifications: ABNF", STD 68, RFC 5234, January
2008, <http://www.rfc-editor.org/info/std68>.
7.2. Informative References
[BCP35] Hansen, T., Hardie, T., and L. Masinter, "Guidelines and
Registration Procedures for New URI Schemes", BCP 35,
RFC 4395, February 2006,
<http://www.rfc-editor.org/info/bcp35>.
[CUPS] Apple, "CUPS", Version 2.0.2, <https://www.cups.org/>.
[IPPREG] Internet Assigned Numbers Authority (IANA) Registries,
"Internet Printing Protocol (IPP) Registrations",
<http://www.iana.org/assignments/ipp-registrations/>.
[PORTREG] Internet Assigned Numbers Authority (IANA) Registries,
"Service Name and Transport Protocol Port Number
Registry",
<http://www.iana.org/assignments/port-numbers>.
[PWG5100.15] M. Sweet, "PWG IPP FaxOut Service", PWG 5100.15, June
2014, <http://www.pwg.org/standards.html>.
McDonald & Sweet Standards Track [Page 17]
^L
RFC 7472 IPP over HTTPS and 'ipps' URI Scheme March 2015
[PWG5100.17] P. Zehler, "PWG IPP Scan Service", PWG 5100.17,
September 2014, <http://www.pwg.org/standards.html>.
[RFC793] Postel, J., "Transmission Control Protocol", STD 7, RFC
793, September 1981,
<http://www.rfc-editor.org/info/rfc793>.
[RFC1179] McLaughlin, L., "Line printer daemon protocol", RFC
1179, August 1990,
<http://www.rfc-editor.org/info/rfc1179>.
[RFC2566] deBry, R., Hastings, T., Herriot, R., Isaacson, S., and
P. Powell, "Internet Printing Protocol/1.0: Model and
Semantics", RFC 2566, April 1999,
<http://www.rfc-editor.org/info/rfc2566>.
[RFC2569] Herriot, R., Ed., Hastings, T., Jacobs, N., and J.
Martin, "Mapping between LPD and IPP Protocols", RFC
2569, April 1999,
<http://www.rfc-editor.org/info/rfc2569>.
[RFC2817] Khare, R. and S. Lawrence, "Upgrading to TLS Within
HTTP/1.1", RFC 2817, May 2000,
<http://www.rfc-editor.org/info/rfc2817>.
[RFC3196] Hastings, T., Manros, C., Zehler, P., Kugler, C., and H.
Holst, "Internet Printing Protocol/1.1: Implementor's
Guide", RFC 3196, November 2001,
<http://www.rfc-editor.org/info/rfc3196>.
[RFC3510] Herriot, R. and I. McDonald, "Internet Printing
Protocol/1.1: IPP URL Scheme", RFC 3510, April 2003,
<http://www.rfc-editor.org/info/rfc3510>.
[RFC3712] Fleming, P. and I. McDonald, "Lightweight Directory
Access Protocol (LDAP): Schema for Printer Services",
RFC 3712, February 2004,
<http://www.rfc-editor.org/info/rfc3712>.
[TLSBCP] Scheffer, Y., Holz, R., and P. Saint-Andre,
"Recommendations for Secure Use of TLS and DTLS", Work
in Progress, draft-ietf-uta-tls-bcp, December 2014.
McDonald & Sweet Standards Track [Page 18]
^L
RFC 7472 IPP over HTTPS and 'ipps' URI Scheme March 2015
Acknowledgments
This document has been submitted to the IETF by the Internet Printing
Protocol Working Group of the IEEE-ISTO Printer Working Group, as
part of their PWG IPP Everywhere [PWG5100.14] project for secure
mobile printing with vendor-neutral Client software.
This document defines an alternate IPP transport binding to that
defined in the original IPP URL Scheme [RFC3510], but this document
does not update or obsolete [RFC3510].
Thanks to Claudio Allochio, Jari Arrko, Spencer Dawkins, Adrian
Farrel, Tom Hastings, Bjoern Hoerhmann, Smith Kennedy, Graham Klyne,
Barry Leiba, S. Moonesamy, Kathleen Moriarty, Sandra Murphy, Tom
Petch, Pete Resnick, Benson Schliesser, Robert Sparks, Jerry
Thrasher, Mykyta Yevstifeyev, Pete Zehler, and the members of the
IEEE-ISTO PWG IPP WG.
Authors' Addresses
Ira McDonald
High North, Inc.
221 Ridge Ave
Grand Marais, MI 49839
United States
Phone: +1 906-494-2434
EMail: blueroofmusic@gmail.com
Michael Sweet
Apple, Inc.
1 Infinite Loop, M/S 111-HOMC
Cupertino, CA 95014
United States
EMail: msweet@apple.com
McDonald & Sweet Standards Track [Page 19]
^L
|