LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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-17-2002, 07:45 PM   #1
prodigius
Member
 
Registered: Oct 2001
Location: Stockbridge, south of Atlanta, GA
Distribution: Slackware
Posts: 59

Rep: Reputation: 15
open ports... how do i close them?


open ports... how do i close them?

on nmap localhost i get the following:

Interesting ports on localhost.localdomain (127.0.0.1):
(The 1541 ports scanned but not shown below are in state: closed)
Port State Service
53/tcp open domain
80/tcp open http
111/tcp open sunrpc
139/tcp open netbios-ssn
631/tcp open cups
901/tcp open samba-swat
953/tcp open rndc
6000/tcp open X11

how do i shut these off?

at http://grc.com i only show the netbios one open

help! before i become another statistic!
 
Old 01-17-2002, 08:46 PM   #2
theFuzzyOne
Member
 
Registered: Dec 2001
Distribution: redhat
Posts: 154

Rep: Reputation: 30
there have been many discussions here about this.. search for ports or iptables or firewall in this forum.

keep in mind that if you nmap you pc from itself.. it has full access (as it should be). scan from another networked machine - that's what shield's up does.

you can close port 80 by diabling your web server (remove it from system services that start on boot). you can close a couple more by disabling the samba server. You should check your inetd/xinetd for more things you can disable.
 
Old 01-18-2002, 02:07 AM   #3
anoop_chandran
Member
 
Registered: Nov 2001
Distribution: Redhat 7.0 ,mandrake 8.0 ,Redhat 7.2
Posts: 99

Rep: Reputation: 15
HI,

i found this:


security.norton.com/default.asp?langid=us&venid=sym

they "say" they give a thorough check ,
my results

1.Network Vulnerability Scan
At Risk:
open ports:
telnet,http,ident/authentication
stealth:
icmp
closd:
ftp,smtp,pop etc
2.NetBIOS Availability Scan
Safe

3.Active Trojan Horse Scan
Safe

has anyone used it before?check it out...

bye
 
Old 01-18-2002, 08:35 AM   #4
slackdaddy
LQ Newbie
 
Registered: Jan 2002
Posts: 5

Rep: Reputation: 0
If your running ipchains or iptables what port localhost shows open are of little concern.

If you want ports closed vi /etc/services or /etc/xinitd.conf
 
  


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
How do I close open ports ??? apache Linux - Security 2 07-20-2004 07:44 PM
Which ports should I keep open and which close?? apache Linux - Security 3 07-19-2004 08:31 AM
how to close open ports mayagenesis Linux - Networking 1 07-31-2003 12:47 AM
How do i close my open ports??? Synth218 Slackware 10 07-06-2003 02:31 PM
how to close open ports zyan Linux - Security 3 08-04-2001 08:11 PM


All times are GMT -5. The time now is 07:18 AM.

Main Menu
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