Ron Johnson wrote:
On Fri, 2004-10-29 at 17:54 +0100, Jerome BENOIT wrote:

Thanks,

I set

Listen localhost:631

and now

lsof -i give

cupsd (...) TCP localhost:ipp (LISTEN)
cpusd (...) UDP *:ipp

The first line is what I wanted:
what about the second line ?
is it necessary


UDP is a "sister protocol" to TCP.


how can we switch off it ?


Don't. It's necessary for CUPS.

so my curent configuration is the best that I can get if I want just listen the local host: correct ?

Thanks,
Jerome





Thanks,
Jerome


Ron Johnson wrote:

On Fri, 2004-10-29 at 16:40 +0100, Jerome BENOIT wrote:


Hello,

how can we make cupsd to listen only on the localhost ?


$ grep -n -A 2 -B 15 'Listen hostname:631' /etc/cups/cupsd.conf
382-########
383-######## Network Options
384-########
385-
386-#
387-# Ports/addresses that we listen to.  The default port 631 is
reserved
388-# for the Internet Printing Protocol (IPP) and is what we use here.
389-#
390-# You can have multiple Port/Listen lines to listen to more than one
391-# port or address, or to restrict access:
392-#
393-#    Port 80
394-#    Port 631
395-#    Listen hostname
396-#    Listen hostname:80
397:#    Listen hostname:631
398-#    Listen 1.2.3.4
399-#    Listen 1.2.3.4:631






-- Dr. Jerome BENOIT room A2-26 Complexo Interdisciplinar da U. L. Av. Prof. Gama Pinto, 2 P-1649-003 Lisboa, Portugal email: [EMAIL PROTECTED] or [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to