ciao Cristian Del Fabbro,

> > Se devi chiudere un servizio e' inutile tentare di blindarlo, disattivalo
> > e basta
> ma se un servizio lo vuoi attivo solo da localhost (cups)? :)

nel file di configurazione del servizio ci deve essere un parametro
che determina su quale interfaccia deve mettersi in ascolto

in /etc/cups/cups.conf
######## Network Options
# Ports/addresses that we listen to.  The default port 631 is reserved
# for the Internet Printing Protocol (IPP) and is what we use here.
# You can have multiple Port/Listen lines to listen to more than one
# port or address, or to restrict access:
#    Port 80
#    Port 631
#    Listen hostname
#    Listen hostname:80
#    Listen hostname:631
#    Listen 1.2.3.4
#    Listen 1.2.3.4:631
#Port 80
#Port 443
Port 631



in /etc/postfix/main.cf
# ascolta solo in locale
inet_interfaces = localhost
 

per verifica:
netstat  -vat

ciao

-- 
/* Paolo Pedaletti,


Rispondere a