Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Security and Privacy
FedoraForum Search

Forgot Password? Join Us!

Security and Privacy Sadly, malware, spyware, hackers and privacy threats abound in today's world. Let's be paranoid and secure our penguins, and slam the doors on privacy exploits.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 4th December 2004, 05:18 AM
rikuume's Avatar
rikuume Offline
Registered User
 
Join Date: Nov 2004
Location: California
Age: 31
Posts: 26
nmap

Just wondering about something I got from nmap. It seems to be showing my port 80 as closed... how is this? Wouldnt I be unable to use any http?

[root@localhost nmap3.75]# nmap -p 80 127.0.0.1

Starting nmap 3.75 ( http://www.insecure.org/nmap/ ) at 2004-12-03 20:41 PST
Interesting ports on localhost.localdomain (127.0.0.1):
Warning: File ./nmap-services exists, but Nmap is using /usr/local/share/nmap/nmap-services for security and consistency reasons. set NMAPDIR=. to give priority to files in your local directory (may affect the other data files too).

PORT STATE SERVICE
80/tcp closed http

Nmap run completed -- 1 IP address (1 host up) scanned in 0.112 seconds

Thanks for the help
__________________
"Insanity is doing the same thing over and over again
and expecting a different result."
Reply With Quote
  #2  
Old 4th December 2004, 05:24 AM
sideways's Avatar
sideways Offline
Retired User
 
Join Date: Oct 2004
Location: London, UK
Posts: 4,999
try

'http://127.0.0.1' from your web browser, you'll probably see 'connection refused' or similar.

You aren't running a web server, if you start httpd then you'll open port 80

(and you'll probably get some default page in your web browser)
Reply With Quote
  #3  
Old 4th December 2004, 06:48 AM
rikuume's Avatar
rikuume Offline
Registered User
 
Join Date: Nov 2004
Location: California
Age: 31
Posts: 26
Quote:
Originally Posted by sideways
try

'http://127.0.0.1' from your web browser, you'll probably see 'connection refused' or similar.

You aren't running a web server, if you start httpd then you'll open port 80

(and you'll probably get some default page in your web browser)
Nope dont have httpd even installed, but I thought that port 80 would have to be open just to cruise the internet since it runs through port 80 *shrugs* does it work differently than Im thinking?
__________________
"Insanity is doing the same thing over and over again
and expecting a different result."
Reply With Quote
  #4  
Old 4th December 2004, 03:52 PM
Daemon Offline
Registered User
 
Join Date: Aug 2004
Location: Greece
Age: 36
Posts: 26
You dont open port 80 to view websites, the websites have port 80 open to accept incoming connections. You open a random port (ie: 33756) in order to connect to website. If you were to run a website you would have need to open 80 to allow outside people to see it.
Not the best explanation (english aint my main language) but i hope you understand
Reply With Quote
  #5  
Old 4th December 2004, 10:32 PM
rikuume's Avatar
rikuume Offline
Registered User
 
Join Date: Nov 2004
Location: California
Age: 31
Posts: 26
Quote:
Originally Posted by Daemon
You dont open port 80 to view websites, the websites have port 80 open to accept incoming connections. You open a random port (ie: 33756) in order to connect to website. If you were to run a website you would have need to open 80 to allow outside people to see it.
Not the best explanation (english aint my main language) but i hope you understand
*nods* understand just fine. Thanks for the explanation, didnt know that it was a random port to view.

Thanks again!

__________________
"Insanity is doing the same thing over and over again
and expecting a different result."
Reply With Quote
  #6  
Old 6th December 2004, 07:35 AM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909
Actually, a firewall in this sense is a one way mirror. It lets applicaions like web browsers access what they want. The replies come through because you requested them. But people trying to access a web server on your machine will get denied.
Reply With Quote
Reply

Tags
nmap

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
nmap help keatonvictor Using Fedora 2 7th August 2008 08:51 AM
nmap 4.11 KDN Security and Privacy 5 19th July 2006 11:08 AM
nmap beny Servers & Networking 5 27th June 2006 10:27 AM
nmap and iptables pparks1 Security and Privacy 8 19th May 2006 04:31 AM


Current GMT-time: 04:20 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat