[Pkg-cups-devel] Bug#588150: cups no longer works with http: HTTP/1.1 426 Upgrade Required + server DoS

Vincent Lefevre vincent at vinc17.net
Mon Jul 5 15:02:30 UTC 2010


reassign 588150 cups-client
thanks

I think it should be cups-client...

Note that with cups 1.4.3-1 (all packages from cups source 1.4.3-1),
I had:

[...]
16:06:00 sendto(5, "POST / HTTP/1.1\r\nContent-Length:"..., 153, 0, NULL, 0) = 153
16:06:00 sendto(5, "\1\1@\2\0\0\0\1\1G\0\22attributes-charset\0\5"..., 636, 0, NULL, 0) = 636
16:06:00 poll([{fd=5, events=POLLIN}], 1, 1000) = 1 ([{fd=5, revents=POLLIN}])
16:06:00 recvfrom(5, "HTTP/1.1 426 Upgrade Required\r\nD"..., 2048, 0, NULL, NULL) = 787
16:06:00 close(5)                       = 0
16:06:00 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 5
16:06:00 setsockopt(5, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
16:06:00 setsockopt(5, SOL_TCP, TCP_NODELAY, [1], 4) = 0
16:06:00 fcntl(5, F_SETFD, FD_CLOEXEC)  = 0
16:06:00 connect(5, {sa_family=AF_INET, sin_port=htons(631), sin_addr=inet_addr("140.77.14.157")}, 16) = 0
16:06:00 sendto(5, "OPTIONS * HTTP/1.1\r\nConnection: "..., 137, 0, NULL, 0) = 137
16:06:00 recvfrom(5, "HTTP/1.1 101 Switching Protocols"..., 2048, 0, NULL, NULL) = 236
[...]

So, an error "HTTP/1.1 426 Upgrade Required" is probably normal here.
The problem is that the client doesn't seem to notice this error,
and tries again and again.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)





More information about the Pkg-cups-devel mailing list