LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

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 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,644

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


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


All times are GMT -5. The time now is 11:50 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration