Re: IPP WG Last Call: IPP Everywhere v1.1 Printer Self-Certification Tools Update 3
Michael Sweet via ipp <[email protected]>
| Newsgroups | gmane.ietf.ipp |
|---|---|
| Message-ID | <[email protected]> |
Chris, > On Jun 15, 2021, at 2:43 PM, Rizzo, Christopher <[email protected]> wrote: > > Hello All, > > I know I've been out of the loop for a while, trying to get back into the swing of things but having trouble keeping up with the work. > > Anyway, I am testing the latest IPP Everywhere self cert tests and uncovered a couple of issues? > > 1. If a device can be configured to not support IPP, but only support IPPS, then all dnssd-tests.sh fail, because "ippfind _ipp._tcp,_print" fails to discover the printer as the printer is not advertising _ipp._tcp (note in the response below there is an HP device supporting both IPP and IPPS, but the device boxster is configured to only support IPPS): > > ?130 ~/OneDrive - Xerox/pwg/ipp/everywhere/sw-ippeveselfcert11-20210517(1627)> ./ippfind _ipp._tcp -T 5 > ipp://HP5CB901EB7BE8.local:631/ipp/print > √ ~/OneDrive - Xerox/pwg/ipp/everywhere/sw-ippeveselfcert11-20210517(1628)> ./ippfind _ipps._tcp -T 5 > ipps://HP5CB901EB7BE8.local:443/ipp/print > ipps://boxster.local:443/ipp/print > √ ~/OneDrive - Xerox/pwg/ipp/everywhere/sw-ippeveselfcert11-20210517(1629)> > > Should the IPP Everywhere tests work for those devices that only support IPPS? No, for certification your printer is expected to support unencrypted IPP - it is a base requirement and something that will ensure your printer works with as many clients as possible out-of-the-box... (We can talk about allowing printers to only support IPPS in IPP Everywhere v2.0, but for v1.1 the requirement is IPP and IPPS is only recommended...) > ... > 2. The other issue I have is associated with RFC 2817 HTTP Upgrade to TLS. I run this test with boxster re-configured to support both IPP and IPPS. In this test Wireshark trace shows RFC 2817 Section 3.2 Mandatory Upgrade request coming from dnssd-test (ipptool): > > Packet 65 in attached Wireshark trace > OPTIONS * HTTP/1.1 > Connection: Upgrade > Upgrade: TLS/1.2,TLS/1.1,TLS/1.0 > > boxster responds with 101 Switching Protocols: > > Packet 68 in attached Wireshark trace > HTTP/1.1 101 Switching Protocols > Upgrade: TLS/1.2, HTTP/1.1 > Connection: Upgrade > > But the communication then ends. Per RFC 2817 Section 3.3 reference is made to RFC 2616 section 10.1.2 "The server will switch protocols to those defined by the response's Upgrade header field immediately after the empty line which terminates the 101 response". However, since I've never seen this in a trace, I do not know what the server is supposed to respond with (what those packets look like). You should see a TLS handshake. > If there is a TLS upgrade handshake that needs to occur, doesn't the client have to initiate it with a TLS "Client Hello"? Does anyone have a Wireshark trace that shows a working functionality for this and if so can you provide it? boxster is running an Apache HTTP server configured to support RFC 2817, but it appears it is Apache itself which is not properly supporting the RFC 2817 upgrade, as it appears to not properly implement RFC 2616 section 10.1.2 in this instance. AFAIK, Apache does not support HTTP Upgrade to TLS... :/ And there are a number of Apache implementation choices that make it really hard to implement a conforming IPP service on top of it... ________________________ Michael Sweet _______________________________________________ ipp mailing list [email protected] https://www.pwg.org/mailman/listinfo/ipp
signature.asc
(application/pgp-signature, 874 B)
-----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIzBAEBCgAdFiEEkIbDzcZsP1Y8+PQFvmfHXsgfMkQFAmDJTi0ACgkQvmfHXsgf MkQsahAApH6mYdWvMsS6ikFtzPaF2Mqlj71lekuFAwHcYvpAn+Xw8dga22gavuXZ C6C9mLv7+gfPg80/lj3jjfDDQs/upYNL4GjkCzjK2/fd438bUoe1w+Y13o6Fbhxx Bmd4hsA+s2wxkzpo56LUZCzZkkRGHDXxetoghOIcE+GNis5Nl+RVqZRZ34wvc/gj 2eOqK7kA+rkHqWHRsv1CH6ZljgX/S4dv7XH8EHSMLc78bpFoRE86H/biNP0scZrd DN29mWVk6bKWUTtM/WoBMDoXurOzk0FQuwCL1vkzTLmTdasjKoqNfPZdG35iQOKq yiRCvWjOIicurpQoIvNK2XZYiEaE4c61Br4hf0eTMk+7VPF785jI4WMp2EJk7lp5 5EH9Mmy4nBMV8Ur9SmAt7F2apZd6/5/W45xh85SefcbjyPyRzO8EJjusGS79uq4c QQSvJXPZHAYWpRbLQBZSKTJxSNlnhKWYJBfvB3+vjhDqILVuPwTrKiZW0qBC0p3N oZMvbpxeEqn4BFNW4etv1H2vdw9ndZksjvCPMWo7asR0XRS5E7P+He2SoMxerFQz KFVcSFOfrghOldLfns0U6BtGm8Uoug92FBzvjT/j0KRmwOdAvN401ecbxICMCXmC x68xcPO5P8Cd3JsHAih9NIMkHHJ2Ntk4WmKaimgGf3Zrmlk88XI= =PLOo -----END PGP SIGNATURE-----