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-22-2003, 07:08 PM   #1
Tino27
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: SuSE 8.2, Slackware current, OpenBSD 3.5-3.8, Fedora Core 2
Posts: 400

Rep: Reputation: 30
cupsd question


I am running a two computer setup at home, one desktop with a wired connection to a gateway/router and a laptop with a wireless connection. I have attached my HP printer to my desktop computer and set up the desktop computer to use CUPS. When I use nmap, indeed port 631 shows up on my desktop computer. When I finally managed to get my laptop set up so that I could print to this printer, somehow it also enabled cupsd to start on my laptop during boot-up (and is thus showing port 631 as listening when I do nmap scans of my laptop).

My question is...do I actually need cups running on my laptop to print to the printer attached to the desktop computer? Obviously I need it on the desktop computer. I am attempting to lock down as many ports as possible on my laptop and if I don't need to be running cups on my laptop, I want to disable it. BTW, port 631 is not being made available outside my home network. I use the laptop at coffee shops/cafes that offer 802.11b and don't want to make that port available if I don't have to.

TIA.
 
Old 12-05-2003, 12:42 PM   #2
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
If you have the ba**s to come this far, what is possibly stopping you from shutting down cupsd on your laptop and trying to print? If it stopped printing, you can simply start it back again

You dont need a local cupsd to print to desktop:631 ( ipp )

I run pretty much the same setup. Except that the laptop is running Win2K.
 
Old 12-05-2003, 12:42 PM   #3
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 64
Re: cupsd question

Quote:
Originally posted by Tino27
I am running a two computer setup at home, one desktop with a wired connection to a gateway/router and a laptop with a wireless connection. I have attached my HP printer to my desktop computer and set up the desktop computer to use CUPS. When I use nmap, indeed port 631 shows up on my desktop computer. When I finally managed to get my laptop set up so that I could print to this printer, somehow it also enabled cupsd to start on my laptop during boot-up (and is thus showing port 631 as listening when I do nmap scans of my laptop).

My question is...do I actually need cups running on my laptop to print to the printer attached to the desktop computer? Obviously I need it on the desktop computer. I am attempting to lock down as many ports as possible on my laptop and if I don't need to be running cups on my laptop, I want to disable it. BTW, port 631 is not being made available outside my home network. I use the laptop at coffee shops/cafes that offer 802.11b and don't want to make that port available if I don't have to.

TIA.
On your laptops /etc/cups/cupsd.conf you want to make sure this section is uncommented:
Code:
## Restrict access to local domain
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
 
Old 12-05-2003, 01:45 PM   #4
Tino27
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: SuSE 8.2, Slackware current, OpenBSD 3.5-3.8, Fedora Core 2
Posts: 400

Original Poster
Rep: Reputation: 30
nxny: You're right. I should've just tried it. I think I had just managed to get everything working after installing Slack. I think my thought at the time was something along the lines of "it ain't broke, don't screw with it."

HappyTux: Will Linux even use cupsd.conf if I have disabled the service? Or does your comment assume that I am still running cupsd on my laptop?
 
Old 12-05-2003, 02:23 PM   #5
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 64
Quote:
Originally posted by Tino27
nxny: You're right. I should've just tried it. I think I had just managed to get everything working after installing Slack. I think my thought at the time was something along the lines of "it ain't broke, don't screw with it."

HappyTux: Will Linux even use cupsd.conf if I have disabled the service? Or does your comment assume that I am still running cupsd on my laptop?
Yes with the service still running if it is not running the config file would not be read.
 
  


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
CUPSd access denied jon_k Linux - Software 2 04-19-2005 01:14 PM
cupsd USB problem moger Slackware 11 09-14-2004 03:42 PM
cupsd devit Linux - General 3 03-14-2004 12:17 PM
Boot freeze after Cupsd starfish Linux - Laptop and Netbook 1 12-20-2003 01:40 PM
cupsd loads slow SharpyWarpy Linux - Software 0 10-07-2003 01:11 AM


All times are GMT -5. The time now is 11:53 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration