LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-27-2005, 11:52 AM   #1
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Rep: Reputation: 30
open ports?


After i scanned my IP for an open ports using nmap this is what I got:

22/tcp open ssh
25/tcp open smtp
37/tcp open time
113/tcp open auth
587/tcp open submission
6000/tcp open X11


I am not really sure why the ssh port is open, I haven't opened it,However;can someone tell me if those ports are fine or Do I need to close any of them?

thanks.
 
Old 03-27-2005, 12:12 PM   #2
DoubleOTeC
Member
 
Registered: Aug 2003
Location: Dominica
Distribution: RedHat, FC1, FC3, FC4
Posts: 266

Rep: Reputation: 30
sshd may be starting by default.

It depends on what ports you want open or what services you want accessible to other users.

Is this machine connected directly to the internet?
 
Old 03-27-2005, 12:16 PM   #3
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Original Poster
Rep: Reputation: 30
This machine connected to my hub, I share my connection through my server(Windwos 2003).

I might be accessing my linux box through my server though, I use(PenguiNet).
 
Old 03-27-2005, 12:26 PM   #4
DoubleOTeC
Member
 
Registered: Aug 2003
Location: Dominica
Distribution: RedHat, FC1, FC3, FC4
Posts: 266

Rep: Reputation: 30
Ok...

Unless you specifically want to close the ports, then your machine should be safe from internet attacks (assuming that that was your concern)
 
Old 03-27-2005, 12:29 PM   #5
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Original Poster
Rep: Reputation: 30
What I meant is with these open ports am I safe from any internet attacks.
 
Old 03-27-2005, 12:30 PM   #6
GUIPenguin
Member
 
Registered: Aug 2004
Location: Maine
Distribution: Gentoo Linux
Posts: 239

Rep: Reputation: 30
Personaly I wouldnt my self trust a windows pc as being a gateway...You should also look into a linux firewall like ipcop for even more protection....or build your own. www.ipcop.org

do you have any firewall setup on your linux box like iptables rule sets?

it all depends if they can get past your windos box, or you have ports forworded then it depends on any vulnerabilities in the services that are running like old version of openssh, etc

Last edited by GUIPenguin; 03-27-2005 at 12:33 PM.
 
Old 03-27-2005, 12:35 PM   #7
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Original Poster
Rep: Reputation: 30
I havent setup any firewall on my linux machine!!! I thought having a client machine would be safe(192.168.0000) As soon as my server is secure!!

Please guide if am misssing anythnig.

Thanks.
 
Old 03-27-2005, 12:40 PM   #8
GUIPenguin
Member
 
Registered: Aug 2004
Location: Maine
Distribution: Gentoo Linux
Posts: 239

Rep: Reputation: 30
well I havnt used windows for a while...but I figure it is still as insecure as is has been for years. It really woulnt hurt anything to setup an iptables firewall, google for it but basicly you want to reject everything then just accept what you want...like

iptables -A INPUT -p tcp --dport ssh -j ACCEPT
which would accept ssh (22) port


you could use firestarter as a start....it should get you a basic working forewall in a few min using iptables rules.

http://www.fs-security.com/

Last edited by GUIPenguin; 03-27-2005 at 12:46 PM.
 
Old 03-27-2005, 12:45 PM   #9
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Original Poster
Rep: Reputation: 30


Thanks GUIPenguin i am downloading now firestarter.

Last edited by amer_58; 03-27-2005 at 12:50 PM.
 
  


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 - Newbie

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