Find the answer to your Linux question:
Results 1 to 6 of 6
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Feb 2003
    Location
    Swansea (UK)
    Posts
    221

    Port Scanner for Linux


    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

  2. #2
    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.

  3. #3
    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.

  4. $spacer_open
    $spacer_close
  5. #4
    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 ?

  6. #5
    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.

  7. #6
    Just Joined!
    Join Date
    Feb 2010
    Posts
    11
    Thanks to all It helped me doing my college assignment

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •