Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 11-13-2005, 02:18 PM   #1
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
Question Closing port 631 (IPP)

What needs to be done to stop IPP from listening on port 631? I understand this is needed for CUPS to let you use the web interface, but is there a way to stop it and still be able to print using CUPS? If so, is there a way to temporarily start it again to use the web interface for a short period of time?

Old 11-14-2005, 08:14 PM   #2
LQ Guru
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,311

Rep: Reputation: Disabled
There are quite many options in cupsd.conf. Not exactly what you want maybe, but you definitely can restrict the access.
Old 11-14-2005, 08:23 PM   #3
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Original Poster
Rep: Reputation: 30
I've looked in cupsd.conf and it's not clear to me what needs to be done, as I don't really understand how much of the server aspect of CUPS is needed to print. I'd like to be able to continue printing through my direct usb connection to the printer, but close this port and not allow remote access. What changes do I need to make to cupsd.conf to do this?
Old 03-21-2007, 02:39 AM   #4
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 17.3+18.3, MX-17
Posts: 4,183

Rep: Reputation: Disabled
Originally Posted by jrdioko
...What changes do I need to make to cupsd.conf to do this?
Comment the line with "Listen" to
#Listen *.631
then add
Then the port is closed to the world and CUPS is still listening locally.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Guarddog leaves Cups port 631 open, how do I close it? tigerflag Linux - Security 4 08-29-2004 12:28 PM
my server on port 631 tekmorph Linux - Security 2 08-28-2004 09:47 PM
Advanced port closing azi Linux - Security 1 06-02-2004 03:53 PM
closing port 68/udp? antik Linux - Security 1 09-26-2003 12:26 PM
closing port 25 using sendmail sidkdbl07 Linux - Software 5 08-02-2003 04:46 AM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:04 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration