LinuxQuestions.org
Visit Jeremy's Blog.
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 08-05-2004, 04:20 AM   #1
gubak
Member
 
Registered: Jul 2004
Posts: 332

Rep: Reputation: 30
Which port is enabled


How can I see which port is enabled and which is disabled?
 
Old 08-05-2004, 04:37 AM   #2
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
What do you exactly mean by enabled/disabled? If you mean what ports are currently up and what's listening on them, then you can use nmap.

Most distrobutions come with nmap installed, if not you can find it here [1]. Just run nmap by itself for a basic list of features.

Kristijan

[1] - http://www.insecure.org/nmap/
 
Old 08-05-2004, 05:05 AM   #3
gubak
Member
 
Registered: Jul 2004
Posts: 332

Original Poster
Rep: Reputation: 30
Is nmap a command?
Because I can't run it.
 
Old 08-05-2004, 05:28 AM   #4
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
Download the source from the web site that I posted and compile it. This way you know you will have the latest version.

What distrobution are you using?
 
Old 08-05-2004, 07:47 AM   #5
Cavenaghi
LQ Newbie
 
Registered: Apr 2004
Location: Ghent, Belgium
Distribution: Slackware 10.1
Posts: 24

Rep: Reputation: 15
Nmap is indeed excellent for scanning ports

Go to http://rpm.pbone.net and search for nmap and you should find the rpms for your distro
 
Old 08-05-2004, 07:50 AM   #6
Cavenaghi
LQ Newbie
 
Registered: Apr 2004
Location: Ghent, Belgium
Distribution: Slackware 10.1
Posts: 24

Rep: Reputation: 15
oh, forgot to mention this: once you've got nmap installed, open console and type:

nmap [your ip-address]

e.g. nmap xx.xxx.xxx.xxx

Good luck!
 
  


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
NIC enabled TuxFreak Linux - Hardware 1 10-24-2004 06:30 PM
--destination-ports port[,port[,port...]] KevinGuy Linux - Networking 1 03-16-2004 06:06 PM
port 143. can't telnet, service enabled, no iptables. help? trossachs Linux - Networking 21 02-18-2004 05:48 PM
iptables and 2.6.1, not enough enabled? darklogik_org Slackware 4 01-26-2004 01:19 AM
getting my mail port enabled trmpet1 Linux - Networking 1 12-17-2001 05:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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