LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 11-13-2005, 02:18 PM   #1
jrdioko
Member
 
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?

Thanks.
 
Old 11-14-2005, 08:14 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

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
jrdioko
Member
 
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
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:12 PM.

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