[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Browsing issues with CUPS 1.2?



I found the issue.

In /etc/cups/cups.d/ports.conf:

  Port 631

works, but

  Listen /var/run/cups/cups.sock
  Listen localhost:631
  Listen liet.home.whinlatter.ukfsn.org:631

does not.  Even though the documentation says that Port is equivalent
to Listen, Listen does not permit browsing.

When using Port:

$ sudo lsof |grep UDP
dhclient  3319        root    5u     IPv4       8869                UDP *:bootpc
cupsd     3920        root    3u     IPv4      10479                UDP *:ipp

$ netstat --udp --all
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
udp        0      0 *:bootpc                *:*
udp        0      0 *:ipp                   *:*

When using Listen:

$ sudo lsof |grep UDP
dhclient  3319        root    5u     IPv4       8869                UDP *:bootpc
cupsd     4056        root    4u     IPv4      11482                UDP *:ipp

$ netstat --udp --all
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
udp        0      0 *:bootpc                *:*
udp        0      0 *:ipp                   *:*

The former is sending browsing information, but the latter is not.  I
can't see any difference between the two here, so is this a CUPS bug?


Regards,
Roger


-- 
Roger Leigh
                Printing on GNU/Linux?  http://gutenprint.sourceforge.net/
                Debian GNU/Linux        http://www.debian.org/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.

Attachment: pgpI9rFlDw7YQ.pgp
Description: PGP signature


Reply to: