Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux Security > Port Scanner

Forgot Password?
 Linux Security   Discussion about keeping your machines secure, and the crackers out.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 02-09-2003   #1 (permalink)
Linux Newbie
 
Join Date: Feb 2003
Location: Swansea (UK)
Posts: 221
Port Scanner

i have heard that linux (redhat 8.0) has a built in port scanner, is this true ?

if so, how can i access it and scan localhost to see what ports i have open ?

Thankx
danbo is offline  



Reply With Quote
Old 02-09-2003   #2 (permalink)
Just Joined!
 
Join Date: Nov 2002
Location: USA
Posts: 99
Port Scanning

The default install includes netstat, which you can use to find out which ports are open, etc. For a more in depth portscanner the most popular is nmap.
slant6 is offline   Reply With Quote
Old 02-09-2003   #3 (permalink)
Linux Engineer
 
Join Date: Jan 2003
Location: Lebanon, pa
Posts: 994
netstat isn't really a port scanner. It shows network connections(tcp/udp), nic stats, routing tables, ect for your box. It can show what is listening on each port/ip but only for localhost.
genlee is offline   Reply With Quote
Old 02-24-2003   #4 (permalink)
Linux Newbie
 
Join Date: Feb 2003
Location: Swansea (UK)
Posts: 221
i have executed the command in the terminal :

Code:
nmap -sS locahost
and it returns with about 5 ports that are open..... i have my firewall level on high..... am i at risk and if so how can i close these ports ?

and does "BlackICE Defender" work on rehat linux 8.0 ?
danbo is offline   Reply With Quote
Old 02-24-2003   #5 (permalink)
Linux Guru
 
Join Date: Oct 2001
Location: Täby, Sweden
Posts: 7,578
Whether or not you are at risk depends on what ports are open. Anyway, netstat is much better for use on the local computer than nmap is. Run netstat -antuwp | egrep "(^[^t])|(^tcp.*LISTEN)" to find out open ports and what programs that are holding them open.
Dolda2000 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 12:27 PM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1