image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old September 5th, 2006, 01:25 PM
Rhisiart's Avatar
Dal i Fynd! (Keep Going)
 
Join Date: Apr 2005
Location: West Britain
Posts: 1,691
Thanks: 16
Thanked 7 Times in 7 Posts
Rhisiart will become famous soon enough
Open TCP Ports

Is it normal to have two or three ports open on an individual computer (by testing via PORTSCAN)?.

N.B. Using a NetGear router and enabling Mac's Firewall.
__________________
Intel Mac Mini 1.83 1GB 10.5.4
PowerMac G4 833Hz 768MB 10.3.9

Education is when you read the fine print - experience is what you get when you don't.
Pete Seeger
Reply With Quote
  #2  
Old September 5th, 2006, 01:44 PM
fryke's Avatar
Super Moderator
 
Join Date: Sep 2000
Location: macosx.com
Posts: 13,277
Thanks: 2
Thanked 20 Times in 18 Posts
fryke has a spectacular aura aboutfryke has a spectacular aura about
Well, it depends on what services you're using. Which ports are open? Mine shows 631 (Internet Printing Protocol, CUPS?), 1033 (netinfod, only localhost can access it). So nothing to worry. Several internet applications can need one or the other port to be open. If you have, say, an FTP server running on your Mac, you'll want port 21 to listen to FTP-clients, maybe.

Also: From where did you "portscan" your Mac? On your local host? The _interesting_ thing, of course, would be to see whether there's ports open looking at your network from the _outside_.
__________________
MacBook Air 13" 1.6 GHz, 2 GB RAM, 80 GB HD. Mac OS X 10.5.5
MacBook 13" 1.83 GHz, 2 GB RAM, 160 GB HD. Mac OS X 10.5.5
Hackintosh Core2Duo 2.4 GHz, 2 GB RAM, 160 GB HD. Mac OS X 10.5.5
iPhone 3G 16 GB (v2.1), AppleTV 1G 40 GB (v2.1)

Mac user since 1987, Apple Product Professional 2007, 2008.
Reply With Quote
  #3  
Old September 5th, 2006, 03:46 PM
Rhisiart's Avatar
Dal i Fynd! (Keep Going)
 
Join Date: Apr 2005
Location: West Britain
Posts: 1,691
Thanks: 16
Thanked 7 Times in 7 Posts
Rhisiart will become famous soon enough
Quote:
Originally Posted by fryke View Post
Well, it depends on what services you're using. Which ports are open? Mine shows 631 (Internet Printing Protocol, CUPS?), 1033 (netinfod, only localhost can access it). So nothing to worry. Several internet applications can need one or the other port to be open. If you have, say, an FTP server running on your Mac, you'll want port 21 to listen to FTP-clients, maybe.
21 FTP
23 telnet
80 http
8701 (?)

Quote:
Originally Posted by fryke View Post
Also: From where did you "portscan" your Mac? On your local host? The _interesting_ thing, of course, would be to see whether there's ports open looking at your network from the _outside_.
Portscanned from my own Mac. Could try portscanning from my father's PC next time I visit him.
__________________
Intel Mac Mini 1.83 1GB 10.5.4
PowerMac G4 833Hz 768MB 10.3.9

Education is when you read the fine print - experience is what you get when you don't.
Pete Seeger
Reply With Quote
  #4  
Old September 5th, 2006, 05:53 PM
ElDiabloConCaca's Avatar
U.S.D.A. Prime
 
Join Date: Aug 2001
Location: San Antonio, Texas
Posts: 10,280
Thanks: 3
Thanked 109 Times in 101 Posts
ElDiabloConCaca is a jewel in the roughElDiabloConCaca is a jewel in the roughElDiabloConCaca is a jewel in the rough
Ports 21 (FTP) and 80 (HTTP) will be on if you've enabled FTP Sharing and Personal Web Sharing in the "Sharing" pane of the System Preferences. Perfectly normal if those services are "on".

Port 23 (Telnet) should be open if you manually opened it by editing the configuration file. As far as I know, you cannot enable Telnet via Mac OS X's GUI, so you would have had to either use a 3rd-party utility or manually enable Telnet access.

I have no idea what port 8701 is for.
__________________
Power Macintosh G4/500MHz "Yikes!" 10.4.11 Server • 1024MB • 3 x 120GB + 320GB • DVR-111D • 2 x Radeon 7000 PCI • 2 x 17" CRT
MacBook 2.0GHz Core 2 Duo - White 10.5.5 • 2048MB • 80GB • CD-RW/DVD-ROM
iPod Photo 60GB • iPod nano 1GB • AT&T DSL 6Mb/768k
http://www.jeffhoppe.com
Reply With Quote
  #5  
Old September 5th, 2006, 10:43 PM
Rhisiart's Avatar
Dal i Fynd! (Keep Going)
 
Join Date: Apr 2005
Location: West Britain
Posts: 1,691
Thanks: 16
Thanked 7 Times in 7 Posts
Rhisiart will become famous soon enough
Quote:
Originally Posted by ElDiabloConCaca View Post
Ports 21 (FTP) and 80 (HTTP) will be on if you've enabled FTP Sharing and Personal Web Sharing in the "Sharing" pane of the System Preferences. Perfectly normal if those services are "on".
FTP or Personal Web Sharing are not enabled and never have been.

Quote:
Originally Posted by ElDiabloConCaca View Post
Port 23 (Telnet) should be open if you manually opened it by editing the configuration file. As far as I know, you cannot enable Telnet via Mac OS X's GUI, so you would have had to either use a 3rd-party utility or manually enable Telnet access.
I have not manually opened Telnet by editing the configuration file (wouldn't know how anyway). I am not aware of installing any 3rd party utility to enable Telnet access, unless I have somehow done this unwittingly.

Quote:
Originally Posted by ElDiabloConCaca View Post
I have no idea what port 8701 is for.
Fair enough. And thanks.

Quote:
Originally Posted by fryke View Post
From where did you "portscan" your Mac? On your local host? The _interesting_ thing, of course, would be to see whether there's ports open looking at your network from the _outside_.
According to a port scan conducted from another computer this evening, ports 21 (FTP), 23 (Telnet) and 80 (HTTP) on my Mac are all completely secure.

Yes, it does seem to make a difference. I wonder why?
__________________
Intel Mac Mini 1.83 1GB 10.5.4
PowerMac G4 833Hz 768MB 10.3.9

Education is when you read the fine print - experience is what you get when you don't.
Pete Seeger
Reply With Quote
  #6  
Old September 5th, 2006, 11:37 PM
ElDiabloConCaca's Avatar
U.S.D.A. Prime
 
Join Date: Aug 2001
Location: San Antonio, Texas
Posts: 10,280
Thanks: 3
Thanked 109 Times in 101 Posts
ElDiabloConCaca is a jewel in the roughElDiabloConCaca is a jewel in the roughElDiabloConCaca is a jewel in the rough
Quote:
Originally Posted by rhisiart View Post
Yes, it does seem to make a difference. I wonder why?
If you're behind a router, then any portscanning will only report what ports are open on the router itself, not any computers connected to it (unless a computer is in the router's DMZ or ports are being forwarded to a specific computer).

If you scan from inside your network (a computer on the same subnet/router as you), then your computer may then report these ports as being open.

I just tried portscanning localhost with and without sharing enabled. If I turn on services, their respective ports show up in a portscan. If I turn them off, they don't report as being open (as expected).

Have you tried turning on then turning off those respective services? Have you installed any Apache (like upgraded to Apache2) or FTP software recently (or ever)?
__________________
Power Macintosh G4/500MHz "Yikes!" 10.4.11 Server • 1024MB • 3 x 120GB + 320GB • DVR-111D • 2 x Radeon 7000 PCI • 2 x 17" CRT
MacBook 2.0GHz Core 2 Duo - White 10.5.5 • 2048MB • 80GB • CD-RW/DVD-ROM
iPod Photo 60GB • iPod nano 1GB • AT&T DSL 6Mb/768k
http://www.jeffhoppe.com
Reply With Quote
  #7  
Old September 6th, 2006, 03:25 AM
Rhisiart's Avatar
Dal i Fynd! (Keep Going)
 
Join Date: Apr 2005
Location: West Britain
Posts: 1,691
Thanks: 16
Thanked 7 Times in 7 Posts
Rhisiart will become famous soon enough
Quote:
Originally Posted by ElDiabloConCaca View Post
If you're behind a router, then any portscanning will only report what ports are open on the router itself, not any computers connected to it...
Yes, I understand what you are saying.

Quote:
Originally Posted by ElDiabloConCaca View Post
Have you tried turning on then turning off those respective services?
Yes. Tested with them off and tested with them on. Results the same.

Interestingly, when I portscanned my router, 21 (ftp), 23 (telnet) and 80 (http) ports were all secure. However, port 3306 (mysql) appeared open.

Quote:
Originally Posted by ElDiabloConCaca View Post
Have you installed any Apache (like upgraded to Apache2) or FTP software recently (or ever)?
I recently installed Fetch and CyberDuck (the latter just to try out).

I also installed (again just to try out) an Apache programme, WebServerXKit, which I uninstalled a few days ago.
__________________
Intel Mac Mini 1.83 1GB 10.5.4
PowerMac G4 833Hz 768MB 10.3.9

Education is when you read the fine print - experience is what you get when you don't.
Pete Seeger

Last edited by Rhisiart; September 6th, 2006 at 08:32 AM.
Reply With Quote
Reply

Thread Tools

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How did all of these ports get open on my machine?? Fahrvergnuugen Unix & X11 7 April 17th, 2004 03:23 AM
open ports on my mac os x ... maccatalan Mac OS X System & Mac Software 8 February 14th, 2002 05:32 PM
What ports should be open? theCaptain Apple News, Rumors & Discussion 2 October 31st, 2001 01:29 AM
Open ports... holmBrew Mac OS X System & Mac Software 2 July 20th, 2001 10:31 PM
Open Ports in OSX? xtrotter Apple News, Rumors & Discussion 2 June 20th, 2001 07:08 AM


All times are GMT -5. The time now is 08:44 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.