Re: CUPS broadcasting print queue availability



On 2010-04-03 15:12, Liam O'Toole wrote:
On 2010-04-03, Ron Johnson <ron.l.johnson@xxxxxxx> wrote:
On 2010-04-03 14:31, Liam O'Toole wrote:
On 2010-04-03, Ron Johnson <ron.l.johnson@xxxxxxx> wrote:
---SNIP---
root@diningroom:~# lpstat -v -h haggis
lpstat: Connection refused
Are you sure the cups daemon is listening on haggis' external interface?
From the client, try 'telnet haggis 631' or 'nmap -p 631 haggis', after
installing the corresponding packages if necessary.

(server)# grep ^BrowseAddress /etc/cups/cupsd.conf
BrowseAddress @IF(eth0)

Yes, I restarted cups after the change

Client nmap output:
(client)# nmap -p 631 haggis

Starting Nmap 5.00 ( http://nmap.org ) at 2010-04-03 14:36 CDT
Interesting ports on haggis.homelan (192.168.1.10):
PORT STATE SERVICE
631/tcp closed ipp
MAC Address: 00:24:1D:27:C0:FF (Giga-byte Technology Co.)

Nmap done: 1 IP address (1 host up) scanned in 0.59 seconds


So cups simply isn't listening on eth0. What is the value of the Listen
variable in /etc/cups/cups.conf on the server?


Do you really mean /etc/cups/cupsd.conf ?

# grep -n ^Listen /etc/cups/cupsd.conf
4:Listen localhost:631
5:Listen /var/run/cups/cups.sock

Does "listen", in this case, also mean "listen for *requests* from clients?"

--
"History does not long entrust the care of freedom to the weak
or the timid." Dwight Eisenhower


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/4BB7D3AA.1060200@xxxxxxx



Relevant Pages

  • Re: CUPS broadcasting print queue availability
    ... Are you sure the cups daemon is listening on haggis' external interface? ... Client nmap output: ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: CUPS broadcasting print queue availability
    ... Are you sure the cups daemon is listening on haggis' external interface? ... Client nmap output: ... So cups simply isn't listening on eth0. ...
    (Debian-User)
  • Re: [SLE] nmap showing cups/nfs open to outside.
    ... I did an nmap scan on my computer itself on thee ways and realized ... external interface; would you please have an advise, ... You can stop CUPS from listening on the external interface by editing ... Nmap should now show port 631 is not open ...
    (SuSE)
  • Re: nmap shows 6667/tcp closed irc, hack evidence?
    ... > the nmap output has always verified that. ... > currently listening on it (so no process shows up in netstat -ap). ... > nmap would not be able to see that port if iptables were dropping it. ...
    (comp.security.firewalls)
  • Daily Port Scanning Program
    ... Subject: Daily Port Scanning Program ... This program will perform TCP NMAP ... scans using the -sS option against individual hosts or subnets (in /24 ... listening TCP ports found and ending time. ...
    (Focus-IDS)