LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-06-2003, 06:29 AM   #1
VioLaToR
Member
 
Registered: Aug 2002
Distribution: ArchLinux 2007.08 / Slackware 11.0
Posts: 58

Rep: Reputation: 15
need to close ports to secure machine


After scanning a couple internet servers and seeing they use only 2 or 3 open ports, i scanned my machine and here is the output:

Port State Service
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
37/tcp open time
79/tcp open finger
111/tcp open sunrpc
113/tcp open auth
515/tcp open printer
587/tcp open submission
6000/tcp open X11


This looks like way too many open ports for me. How do i close them all off except the needed ones.

I use eth0 for internet connection. I use pop3/smtp mail client. no ftp or web server, no shared printer. anything else you need to know before you can help close ports, just let me know.
 
Old 05-06-2003, 06:31 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
use a firewall....
 
Old 05-06-2003, 06:36 AM   #3
Toasti
Member
 
Registered: Mar 2003
Location: Stuttgart / Germany
Distribution: mandrake, debian
Posts: 34

Rep: Reputation: 15
stop the deamons
 
Old 05-06-2003, 07:03 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
...and look at the security forums 1st thread on securing your boxen.
 
Old 05-06-2003, 04:42 PM   #5
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
if you dont know iptables use firestarter(look at freshmeat) to close ports and also if you dont use them close the services running.
 
  


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
Which of these ports can I close? buddhahat Linux - Security 6 06-13-2005 07:40 AM
how to close ports hudy Linux - Security 4 06-23-2004 12:07 PM
How do I close ports ksgill Linux - Newbie 9 10-09-2003 09:06 PM
Ports, and how to close them? davee Linux - Networking 2 07-24-2003 08:10 AM
how do i close ports. KidTonz Linux - Security 3 12-18-2001 02:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:24 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