[Pkg-cups-devel] Bug#501090: CUPS cannot print to an IPv6 IPP/HTTP address

Kyle Brantley kyle at averageurl.com
Sat Oct 4 01:11:20 UTC 2008


Package: cups
Version: 1.3.8-1lenny1

If you configure an HTTP or IPP printer by IPv6 address, printing will 
fail with the error "client not found." Referencing the printer by DNS 
(AAAA record) works as expected.


The problem is actually pretty simple. Within the IPP request set from 
cups to the IPP server (also cups):

printer-uri at http://2001:470:d82b:-:217:31ff:fec4:919a:631/printers/HP1320

The problem is that the IPv6 address needs to be encapsulated within [] 
brackets. Example of what the request SHOULD be:

printer-uri at http://[2001:470:d82b:-:217:31ff:fec4:919a]:631/printers/HP1320

Testing against the same cups server via IPv6 address from Windows Vista 
gets me the following request:

printer-uri at http://[2001:470:d82b:-:217:31ff:fec4:919a]:631/printers/HP1320

Which works as expected, and the printer rolls off the test page. It 
should be noted that the actual communication from host to host works 
fine, but just that the IPP request is malformed.

Package: cups
Status: install ok installed
Priority: optional
Section: net
Installed-Size: 10556
Maintainer: Debian CUPS Maintainers <pkg-cups-devel at lists.alioth.debian.org>
Architecture: amd64
Version: 1.3.8-1lenny1
Replaces: cupsys (<< 1.3.7-6), cupsys-bsd (<< 1.3.7-5)
Provides: cupsys
Depends: libavahi-compat-libdnssd1 (>= 0.6.16), libc6 (>= 2.7-1), 
libcups2 (>= 1.3.8), libcupsimage2 (>= 1.3.8), libdbus-1-3 (>= 1.0.2), 
libgnutls26 (>= 2.4.0-0), libkrb53 (>= 1.6.dfsg.2), libldap-2.4-2 (>= 
2.4.7), libpam0g (>= 0.99.7.1), libpaper1, libslp1, debconf (>= 1.2.9) | 
debconf-2.0, poppler-utils | xpdf-utils, perl-modules, procps, 
ghostscript, lsb-base (>= 3), cups-common, ssl-cert (>= 1.0.11), adduser
Recommends: cups-client, smbclient (>= 3.0.9), foomatic-filters, avahi-utils
Suggests: cups-bsd, cups-driver-gutenprint, foomatic-db-engine, 
foomatic-db, hplip, xpdf-korean | xpdf-japanese | 
xpdf-chinese-traditional | xpdf-chinese-simplified, cups-pdf
Conflicts: cupsys (<< 1.3.7-6), cupsys-bsd (<< 1.3.7-5)
Conffiles:
 /etc/init.d/cups eafa969471b49ba730c99c38b81c97d4
 /etc/default/cups 2b436fbb1a32b82b6aba45a76a1d7e40
 /etc/dbus-1/system.d/cups.conf d5468770ee5bfc22bc8ab67da1078b30
 /etc/pam.d/cups ff2488324854f7b1e892bb0df062d5f0
 /etc/logrotate.d/cups 5bb41fa9900f0d1c565954405a2bd7c4
 /etc/cups/mime.convs d5b176354ef33b73e7087d662cffa430
 /etc/cups/acroread.conf 74fde568dd7616b3052f2cf6ee13e681
 /etc/cups/oopstops.types 725b23d5db635b3952bda4d97bb7a741
 /etc/cups/mime.types a7a6f550ad9e9a2bb8890bf9b7a7f445
 /etc/cups/snmp.conf 9a06a428b5274593ffc42b0b193ba411
 /etc/cups/cupsd.conf 92ed66cb48efe6ffc5bf2c2661651bd4
 /etc/cups/pdftops.conf 04efb7cf36d45ee490b1c57b6e30d736
 /etc/cups/cupsd.conf.default d9223f86d3dbeb714e7634167792ec14
 /etc/cups/oopstops.convs b1037d7b91885f0f7b82224d4bcc2766
Description: Common UNIX Printing System(tm) - server
 The Common UNIX Printing System (or CUPS(tm)) is a printing system and
 general replacement for lpd and the like.  It supports the Internet
 Printing Protocol (IPP), and has its own filtering driver model for
 handling various document types.
 .
 This package provides the CUPS scheduler/daemon and related files.
 .
 The terms "Common UNIX Printing System" and "CUPS" are trademarks of
 Easy Software Products (www.easysw.com), and refer to the original
 source packages from which these packages are made.






More information about the Pkg-cups-devel mailing list