I've found that it's possible to disable browsing in CUPS by
evil.com:/# nmap -sU -p 631 naive.org
Starting nmap 3.55 ( http://www.insecure.org/nmap/ ) at 2004-08-20 18:33 PDT
Nmap run completed -- 1 IP address (1 host up) scanned in 1.137 seconds
Which results in the following two lines at /var/log/cups/error_log
At that point, cupsd stops listening in the UDP port.
If this happens when cupsd is starting, and depending on the
I've confirmed this behaviour under Debian/sid (cupsys version
I've attached a patch that fixes the problem.
The code was wrongly interpreting recvfrom() == 0 as an error. By
The text was updated successfully, but these errors were encountered:
CUPS.org User: mike
After researching the issue, it looks like the == 0 check was added as extra insurance when another sendto() issue was fixed WRT downed interfaces, so this patch is good.
Thanks, will be part of the 1.1.21rc2 release but unannounced until Sept 1st.
--- cupsys-1.1.20final+rc1/scheduler/dirsvc.c.OLD 2004-05-27 11:04:32.000000000 -0700
len = sizeof(srcaddr);