[cups.bugs] ipp returning, but printer still in "remote-pending"?

Michael Sweet msweet at apple.com
Fri Dec 16 10:12:03 PST 2011


On Dec 16, 2011, at 6:31 AM, Jeff Chua wrote:
> I'm trying to print a simple ipp local printer
> "ipp://lp:631/printers/file" where "file" is a simple script with
> "exit 0", but ipp seems to running non-stop. "lp" points to 127.0.0.1

Even if everything was working (unable to tell from the log snippet), using a hostname to map to 127.0.0.1 won't work with current versions of CUPS - DNS rebinding attacks often bind a name to point to the loopback interface, so we only allow "localhost" for 127.0.0.1. There is no way to turn off this security protection.


> 
> Any help would be greatly appreciated.
> 
> Thanks,
> Jeff
> 
> 
> D [16/Dec/2011:22:26:54 +0800] Returning IPP successful-ok for
> Get-Job-Attributes (ipp://lp:631/printers/file) from localhost
> D [16/Dec/2011:22:26:54 +0800] cupsdSetBusyState: newbusy="Printing
> jobs", busy="Active clients and printing jobs"
> D [16/Dec/2011:22:26:54 +0800] [Job 109262] Get-Job-Attributes:
> successful-ok (successful-ok)
> D [16/Dec/2011:22:26:54 +0800] [Job 109262] update_reasons(attr=0(),
> s="+cups-remote-pending")
> D [16/Dec/2011:22:26:54 +0800] [Job 109262] PAGE: total 0
> D [16/Dec/2011:22:26:54 +0800] Discarding unused job-progress event...
> D [16/Dec/2011:22:26:54 +0800] cupsdAcceptClient: 14 from localhost:631 (IPv4)
> D [16/Dec/2011:22:26:54 +0800] cupsdReadClient: 14 POST /printers/file HTTP/1.1
> D [16/Dec/2011:22:26:54 +0800] cupsdSetBusyState: newbusy="Active
> clients and printing jobs", busy="Printing jobs"
> D [16/Dec/2011:22:26:54 +0800] cupsdAuthorize: No authentication data provided.
> D [16/Dec/2011:22:26:54 +0800] cupsdReadClient: 14 2.0 Get-Printer-Attributes 1
> D [16/Dec/2011:22:26:54 +0800] Get-Printer-Attributes ipp://lp:631/printers/file
> D [16/Dec/2011:22:26:54 +0800] Returning IPP successful-ok for
> Get-Printer-Attributes (ipp://lp:631/printers/file) from localhost
> D [16/Dec/2011:22:26:54 +0800] cupsdSetBusyState: newbusy="Printing
> jobs", busy="Active clients and printing jobs"
> I [16/Dec/2011:22:26:54 +0800] [Job 109262] ************* ok2 *****
> D [16/Dec/2011:22:26:54 +0800] [Job 109262]
> update_reasons(attr=1(cups-job-completed), s="(null)")
> D [16/Dec/2011:22:26:54 +0800] [Job 109262] Get-Printer-Attributes:
> successful-ok (successful-ok)
> D [16/Dec/2011:22:26:54 +0800] cupsdReadClient: 14 POST /printers/file HTTP/1.1
> D [16/Dec/2011:22:26:54 +0800] cupsdSetBusyState: newbusy="Active
> clients and printing jobs", busy="Printing jobs"
> 
> _______________________________________________
> cups-bugs mailing list
> cups-bugs at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups-bugs






More information about the cups-devel mailing list