LinuxQuestions.org
Review your favorite Linux distribution.
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 01-29-2005, 10:03 AM   #1
jbkerr
LQ Newbie
 
Registered: Jan 2002
Location: Canada
Distribution: Debian Sarge
Posts: 12

Rep: Reputation: 0
open ports


Hello,

I am a newb with linux but am trying out it for a while a I am stuck on debian. i setup a proftpd server and it works great and that is all i want it for. I ran a portscan on it from my widows machine and it was showing that smtp and pop3 were open. I did remove exim4 from the machine and from the runlevels. I also did a netstat -tan to verify that nothing is listening on 25

from a windows box I can telnet to the ip /port25/110 and it will look like it is connecting but I see not text on te screen, just black. it acts differently then when i connect to another port and like 112 or something like that where it will say connect failed.

basicaaly are both 110/25 open? and what is using them? This was a plane jane debian install with just proftpd added.
 
Old 01-29-2005, 10:36 AM   #2
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
fuser -vn tcp 25
will show u what is working on local "tcp 25" port, actually just care about PID of that program. after that u can do
ps aux |grep PID
to see more details.

good luck.
 
Old 01-29-2005, 10:51 AM   #3
jbkerr
LQ Newbie
 
Registered: Jan 2002
Location: Canada
Distribution: Debian Sarge
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks maxut. i have that a try but it did not bring up anything at all. but my portscan still says that they are open.
 
Old 01-29-2005, 11:16 AM   #4
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
interesting. if nothing listens to tcp 25, u should get "connection refused" message at client side while trying to telnet that port. at least it works like that here (linux to linux). maybe windoze doesnt work like that. maybe something wrong with your portscan or network (firewall) configuration at linux side.

edit: u must have root rights, when u use fuser. sorry i forgot to tell about that before.

good luck

Last edited by maxut; 01-29-2005 at 11:23 AM.
 
Old 01-31-2005, 08:45 AM   #5
jbkerr
LQ Newbie
 
Registered: Jan 2002
Location: Canada
Distribution: Debian Sarge
Posts: 12

Original Poster
Rep: Reputation: 0
hello again. It must have been something with the port scanner i was using. I ran nmap and it reports that only 21 is open.

Thank you.
 
  


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
Cannot Open Mail Server Ports 25, 110, and 220. Other Ports will open. Binxter Linux - Newbie 9 11-29-2007 02:03 AM
open ports on linksys, i have ssh open but thats it PlatinumRik Linux - Security 1 07-07-2005 10:38 AM
Need help to open some ports. agent003 Linux - Security 2 10-11-2004 06:33 PM
Too many open ports! ne21 Slackware 17 03-23-2004 08:55 PM
Ports have to be open? Daiba Linux - Newbie 3 01-29-2004 08:39 AM

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

All times are GMT -5. The time now is 11:09 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
Open Source Consulting | Domain Registration