LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 11-19-2003, 02:09 PM   #1
debaholic
Guest
 
Posts: n/a
lpd port 515 reopens itself


as part of the process of securing a debian box, I've closed every port that was open except 22 for ssh. I ran nmap on this computer a few days ago and discovered that port 515 was open. So, I ran /etc/rc2.d/s20lpd stop and that closed it. But yesterday I checked again and the lpd port was open again.

So my question is, how can I go about tracking down whatever it is that's starting the printer daemon?

I have renamed the startup script from S20lpd to s20lpd so it wont restart if the machine reboot - but this computer has actually been up for 60 days
I am running in X, so the only thing I can think of is that some program is trying to print and that's starting the demon.

thanks in advance for any advice.
 
Old 11-24-2003, 11:33 AM   #2
debaholic
LQ Newbie
 
Registered: Nov 2003
Posts: 3

Rep: Reputation: 0
port 515 opened itself again this weekend. lsof -i :515 shows that it is /usr/sbin/lpd listening (I was worried that the machine might have been hacked).

Can anyone offer any suggestions on how I might track down what's starting this service? The machine has not been rebooted since the last time I shut down the service. I've looked for cron jobs an anything else that I could think of but I haven't had any luck figuring it out. So, any ideas would be greatly appreciated.

Over the weekend, I left an account logged into an X session with just mozilla and an xterm running. Could X be starting the printer daemon?
 
Old 11-26-2003, 10:29 AM   #3
debaholic
LQ Newbie
 
Registered: Nov 2003
Posts: 3

Rep: Reputation: 0
I'm going to indulge myself with a single bump.

Maybe if nobody can help me someone can point me to another place to ask this question.
 
  


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
LPD won't run...(515/tcp port) j-charles Linux - Hardware 1 12-19-2003 06:55 AM
Cups defaults to on during boot / lpd can't bind port 515 ehdwuld Linux - Software 2 09-29-2003 08:39 PM
Cannot bind lpd port 515 rdmapes Linux - Newbie 3 09-19-2003 06:49 AM
port 515 illtbagu Linux - General 19 06-21-2003 03:21 PM
lpd can't bind to port 515 (RH 8) Tafta Linux - Distributions 4 02-28-2003 11:31 AM


All times are GMT -5. The time now is 01:55 AM.

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