[Pkg-cups-devel] Bug#351893: cups lpadmin hangs when using
encryption
Petter Österlund
petos at fyrplus.se
Wed Feb 8 10:25:31 UTC 2006
Package: cupsys
Version: 1.1.23-15
I have cupsd.conf configured to use encryption IfRequested.
Adding printer kalle always works just fine without encryption
# lpadmin -p Kalle -P ~lpetos/xr_dc440.ppd -v ipp://kalle/
When using encryption it does not work most of the time, repeating command
several times may get it to work eventually.
# lpadmin -p Kalle -P xr_dc440.ppd -v ipp://kalle/
<Just hangs - no response, several minutes>
<CTRL-C>
Traces
# strace -o lpadmin-E.log lpadmin -E -p Kalle -P xr_dc440.ppd -v ipp://kalle/
<CTRL-C>
See attached logfiles. The lpadmin-E-ok.log is from a execution that
actually works even with encryption. By filtering one can see intrerresting
similarities and that a SIGPIPE is received when it goes bad.
# egrep "send|recv|connect|accept|close" lpadmin-E.log | less
# egrep "send|recv|connect|accept|close" lpadmin-E-ok.log | less
The cups error_log show that something unexpected is received
"Bad request line "^W^C^A" from localhost!"
Several times, until the last one when it actually succeeds.
If the fault is a buffer overrun in the server then I guess it is a security
related bug.
/Petter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lpadmin-E-logs.tar.gz
Type: application/x-gzip
Size: 27475 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-cups-devel/attachments/20060208/deb5278d/lpadmin-E-logs.tar-0001.bin
More information about the Pkg-cups-devel
mailing list