Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-22-2003, 06:08 PM
|
#1
|
Member
Registered: Aug 2003
Location: Akron, OH
Distribution: Slackware 14.2-stable, Ubuntu 16.04 LTS
Posts: 401
Rep:
|
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.
|
|
|
12-05-2003, 11:42 AM
|
#2
|
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:
|
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.
|
|
|
12-05-2003, 11:42 AM
|
#3
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170
|
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
|
|
|
12-05-2003, 12:45 PM
|
#4
|
Member
Registered: Aug 2003
Location: Akron, OH
Distribution: Slackware 14.2-stable, Ubuntu 16.04 LTS
Posts: 401
Original Poster
Rep:
|
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?
|
|
|
12-05-2003, 01:23 PM
|
#5
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170
|
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.
|
|
|
All times are GMT -5. The time now is 01:49 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|