Can't stealth router ports
apple Verified ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
I ran into the following security issue. (Being a bit on the paranoid side about security). I went to grc.com to check for open ports with the router portion of TC. I was very surprised to find that only a handful of ports show as stealthed when probing the first 1024 ports. All the rest show up as closed. I have stealth mode checked in the firewall and my previous router, a Linksys properly hid all ports. Even my old Airport express stealthed all but a couple of ports. Can anyone else verify that this is normal for the TC unit?
9 replies
Sign in or join Beachball Help to reply.
- 0
InfinitiMoon ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
I, too, noticed that virtually none of the first 1055 Time Capsule (TC) ports, as viewed from the Internet (WAN side) were "stealth" though the remaining ones were "closed" per GRC.com's ShieldsUp! test site.
First, it's important to note that "closed" is almost as good as "stealth" when it comes to external attacks upon your home network. So you are secure enough as is, especially if you operate an all-Mac based home network and/or have software firewalls enabled on all computers on your network.
Before I go further, though, the short answer is that your safe with the TC's default port setup. I wish Apple would allow a "stealth" option, but it's not required. So the following is really a moot point, but I thought, given the confusion I've noted in the other replies, I'd explain it a little further.
Basically, when a computer on the internet requests a connection with another computer (e.g., your web browser requests information from a web page server), it requests such information from a specific "port." This is bidirectional communication and is what allows other computers on the internet to send information to your computer when, say, you download a webpage for viewing (i.e., "browsing") or download a file off of a website and, for that matter, allows your computer to even request such information in the first place. Each port is treated as a separate route into the computer kind of like there are multiple highways into (and out of) a major city.
There are three states in which a port can be. The first is "open" and means that any computer on the Internet can connect to your computer and, at the very least, request information from your computer. This, of course, is what a web server does for a living, so it's server ports are always open. This also does not take into account any security you have running inside your computer (like a personal firewall software program). When a computer on the Internet "pings" this port, it will get a response something to the effect "we're open, come on in." Using the highway analogy, this is an open highway to the city, once you hit city limits, it's up to the internal computer security to direct traffic (or stop it).
The second state is "closed." This is when connections are not permitted. When a computer "pings" such a port, your computer (or router) will respond with something like "I'm here, but not accepting traffic. Thanks for asking." Using the highway analogy, this means that the road is closed to traffic but is visible (you see the barricade and the asphalt beyond but cannot access it).
The third state is sort of unofficial. Normally when a computer pings your computer's port, it should respond with an "open" or "closed" reply. A "stealth" port is one that doesn't respond at all. To the outsider, that computer doesn't exist. This is the ideal solution. If a port is "closed," it still sends a response and tells a would-be hacker that there's a computer there that could be attacked. Using the highway analogy, "stealth" is like completely wiping away the highway from view, no barricades, nothing visible to even suggest that a potential path exists. This is the ideal solution as it doesn't even allow an attacker to discover that there's a computer at that particular address, at least not without a lot of extra work (and there's always easier targets down the road).
Now, the above applies if you have your computer plugged directly into the cable/dsl modem rather than through a network router at home. If you have a router, it's the ports of the ROUTER that are being presented to the Internet, not the ports of the individual computers on the network behind that router. It then becomes the responsibility of the router to answer any requests by external computers to the various ports. It's also the router's job to forward all information arriving from the Internet to the computer on the internal network that requested that information. This is where NAT comes it.
NAT stands for Network Address Translation. It's analogous to a switchboard for your local network to connect to the Internet using one external IP address (provided by your ISP, usually without your having to think about it). NAT allows information requested by one computer on your home network to be sent specifically to that computer and not all the other computers on the network that didn't request it. It doesn't specifically have anything to do with security, but profoundly affects it in an indirect and important way. The Time Capsule is, in fact, a NAT router, just like wireless routers from Linksys, Netgear, D-Link, etc. It works exactly the same way (although with a better user interface, like most Apple products).
How does NAT relate to security? Well, every NAT router I've heard of that was made within the past several years (I'd guess since 2000 or earlier) are also firewalls. They are, in fact, true firewalls in that they prevent stuff on the outside from getting in. A firewall is not always software, and a NAT router firewall is superior to software firewalls in so many ways it's not funny. In order to be efficient as well as perform as a firewall, NAT routers totally ignore any information that comes in from the Internet side that was not requested by a computer on the home network side of the router. It does this by keeping track dynamically of what websites information was requested from by each and every computer on the home network and ignoring anything not requested.
If a computer didn't request information from a given internet address, that information is dropped (i.e., filtered out) by the router automatically. This serves two functions. It cuts out all the "Internet Background Radiation" or, essentially, Internet noise, from entering your home network. That saves on bandwidth and network resources inside the network. Secondly, it prevents hackers from entering the network unsolicited.
Best of all, the router does all of this without putting any drain on your computer processor, unlike a software firewall, and if set up properly is impossible to hack from the outside, unlike a software firewall. In fact, if you're a disciplined web user and don't surf any shady websites or download questionable material, some security experts argue it's entirely possible to run your computer without a software firewall and do so safely (the same could be said for antivirus software). I don't personally recommend that, but it's a good point.
So what does this have to do with Time Capsule? Well, it's probably good enough that it "closes" almost all the ports and "stealths" the rest. I would like Apple to offer an option to simply stealth all the ports and be done with it, but I strongly suspect that this would disable many features of Mac-to-Mac connectivity (such as remote desktops, iChat, file sharing between Macs, etc.). The down side to having ports declared "closed" to the world is that someone may find a vulnerability in the Time Capsule firewall and be able to exploit it. After all, I think we're up to about the third (or fourth) firmware update on the TC to date and it hasn't been out but for a month or so.
If you absolutely must have all ports "stealth," then you could do as one other user suggested and connect the TC in bridge mode to a more conventional router (like a Linksys) that stealths the ports. You could also disable the DHCP server on the conventional router and leave NAT/DHCP functional on the TC (theoretically, I haven't actually tried this). This would be redundant, though, as for all intents and purposes currently known, "closed" is good enough for a port.
I currently run several PCs as well as a MacBook through the TC as my router/internet gateway. I have no plans on doing anything to stealth the ports as I see no need. If Apple sees fit to offer an option in a later firmware update, I'll enable it, but otherwise it's more hassle than it's worth for the marginal, possibly nonexistent, security gains.
For more information on NAT/Firewall/Security, I highly recommend checking out GRC.com's Steve Gibson and his Security Now podcast (www.twit.tv). They did several excellent episodes explaining this very topic about a year and a half ago.
- 0
ManxMann ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
I can confirm with firmware 7.3 my 500Gb TC only 'closes' ports.
It would appear that there is no 'firewall' running i.e. the TC is running purely as a nat'ing router with no 'services' presented to the WAN port, hence the closed as opposed to 'stealth' ports.
Apple please correct me if I'm wrong and point me in the right direction regarding turning on stealth mode.
- 0
John McLean ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Can't get FTP or ssh access through it. Hope Apple improve on next Firmware update.
- 0
darndawg ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
I believe it is wrong for Apple to tout the Time Capsule as a device to connect directly to a cable or dsl modem. I would recommend that you connect the wan port directly to a firewall or screening router that performs NAT and packet filtering.
To accomplish that you will have to use the TC in bridge mode. I use TC behind 2 firewalls and a router each perfoming NAT and packet filtering.
When I attempted to set the TC up the same way as my other security devices, I was able to connect fine to the Internet, however it would not function as a disk drive because it complained about double NAT.
- 0
Michael Sneider ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
The Time Capsule, same as the AirPort devices before it, does not have "stealth" port capability. But the ports
are closed, so you can still rest easy in that some hacker still isn't going to get through. Be aware that even with the stealth function of some home internet routers, the only "firewalling" is due to the NAT server. And if you really want to get geeky about it, is not really a true firewall anyway.I'd suggest turning on each Mac's firewall anyway if you really want to be on the safe side.
- 0
John McLean ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Can access my ibook via port 22 using the excellent SSH client Fugu. Can then see the Time Capsule as a volume but can't access it - times out.
- 0
InfinitiMoon ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
I, too, noticed that virtually none of the first 1055 Time Capsule (TC) ports, as viewed from the Internet (WAN side) were "stealth" though the remaining ones were "closed" per GRC.com's ShieldsUp! test site.
First, it's important to note that "closed" is almost as good as "stealth" when it comes to external attacks upon your home network. So you are secure enough as is, especially if you operate an all-Mac based home network and/or have software firewalls enabled on all computers on your network.
Before I go further, though, the short answer is that your safe with the TC's default port setup. I wish Apple would allow a "stealth" option, but it's not required. So the following is really a moot point, but I thought, given the confusion I've noted in the other replies, I'd explain it a little further.
Basically, when a computer on the internet requests a connection with another computer (e.g., your web browser requests information from a web page server), it requests such information from a specific "port." This is bidirectional communication and is what allows other computers on the internet to send information to your computer when, say, you download a webpage for viewing (i.e., "browsing") or download a file off of a website and, for that matter, allows your computer to even request such information in the first place. Each port is treated as a separate route into the computer kind of like there are multiple highways into (and out of) a major city.
There are three states in which a port can be. The first is "open" and means that any computer on the Internet can connect to your computer and, at the very least, request information from your computer. This, of course, is what a web server does for a living, so it's server ports are always open. This also does not take into account any security you have running inside your computer (like a personal firewall software program). When a computer on the Internet "pings" this port, it will get a response something to the effect "we're open, come on in." Using the highway analogy, this is an open highway to the city, once you hit city limits, it's up to the internal computer security to direct traffic (or stop it).
The second state is "closed." This is when connections are not permitted. When a computer "pings" such a port, your computer (or router) will respond with something like "I'm here, but not accepting traffic. Thanks for asking." Using the highway analogy, this means that the road is closed to traffic but is visible (you see the barricade and the asphalt beyond but cannot access it).
The third state is sort of unofficial. Normally when a computer pings your computer's port, it should respond with an "open" or "closed" reply. A "stealth" port is one that doesn't respond at all. To the outsider, that computer doesn't exist. This is the ideal solution. If a port is "closed," it still sends a response and tells a would-be hacker that there's a computer there that could be attacked. Using the highway analogy, "stealth" is like completely wiping away the highway from view, no barricades, nothing visible to even suggest that a potential path exists. This is the ideal solution as it doesn't even allow an attacker to discover that there's a computer at that particular address, at least not without a lot of extra work (and there's always easier targets down the road).
Now, the above applies if you have your computer plugged directly into the cable/dsl modem rather than through a network router at home. If you have a router, it's the ports of the ROUTER that are being presented to the Internet, not the ports of the individual computers on the network behind that router. It then becomes the responsibility of the router to answer any requests by external computers to the various ports. It's also the router's job to forward all information arriving from the Internet to the computer on the internal network that requested that information. This is where NAT comes it.
NAT stands for Network Address Translation. It's analogous to a switchboard for your local network to connect to the Internet using one external IP address (provided by your ISP, usually without your having to think about it). NAT allows information requested by one computer on your home network to be sent specifically to that computer and not all the other computers on the network that didn't request it. It doesn't specifically have anything to do with security, but profoundly affects it in an indirect and important way. The Time Capsule is, in fact, a NAT router, just like wireless routers from Linksys, Netgear, D-Link, etc. It works exactly the same way (although with a better user interface, like most Apple products).
How does NAT relate to security? Well, every NAT router I've heard of that was made within the past several years (I'd guess since 2000 or earlier) are also firewalls. They are, in fact, true firewalls in that they prevent stuff on the outside from getting in. A firewall is not always software, and a NAT router firewall is superior to software firewalls in so many ways it's not funny. In order to be efficient as well as perform as a firewall, NAT routers totally ignore any information that comes in from the Internet side that was not requested by a computer on the home network side of the router. It does this by keeping track dynamically of what websites information was requested from by each and every computer on the home network and ignoring anything not requested.
If a computer didn't request information from a given internet address, that information is dropped (i.e., filtered out) by the router automatically. This serves two functions. It cuts out all the "Internet Background Radiation" or, essentially, Internet noise, from entering your home network. That saves on bandwidth and network resources inside the network. Secondly, it prevents hackers from entering the network unsolicited.
Best of all, the router does all of this without putting any drain on your computer processor, unlike a software firewall, and if set up properly is impossible to hack from the outside, unlike a software firewall. In fact, if you're a disciplined web user and don't surf any shady websites or download questionable material, some security experts argue it's entirely possible to run your computer without a software firewall and do so safely (the same could be said for antivirus software). I don't personally recommend that, but it's a good point.
So what does this have to do with Time Capsule? Well, it's probably good enough that it "closes" almost all the ports and "stealths" the rest. I would like Apple to offer an option to simply stealth all the ports and be done with it, but I strongly suspect that this would disable many features of Mac-to-Mac connectivity (such as remote desktops, iChat, file sharing between Macs, etc.). The down side to having ports declared "closed" to the world is that someone may find a vulnerability in the Time Capsule firewall and be able to exploit it. After all, I think we're up to about the third (or fourth) firmware update on the TC to date and it hasn't been out but for a month or so.
If you absolutely must have all ports "stealth," then you could do as one other user suggested and connect the TC in bridge mode to a more conventional router (like a Linksys) that stealths the ports. You could also disable the DHCP server on the conventional router and leave NAT/DHCP functional on the TC (theoretically, I haven't actually tried this). This would be redundant, though, as for all intents and purposes currently known, "closed" is good enough for a port.
I currently run several PCs as well as a MacBook through the TC as my router/internet gateway. I have no plans on doing anything to stealth the ports as I see no need. If Apple sees fit to offer an option in a later firmware update, I'll enable it, but otherwise it's more hassle than it's worth for the marginal, possibly nonexistent, security gains.
For more information on NAT/Firewall/Security, I highly recommend checking out GRC.com's Steve Gibson and his Security Now podcast (www.twit.tv). They did several excellent episodes explaining this very topic about a year and a half ago.
- 0
anindrix ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Thanks for such a detailed post - I had been pretty edgy after Shields Up! showed that my router's ports were "closed" rather than on "stealth". Still I would hope that Apple gives an option to users to stealth all the ports.
Would you describe the risks (and ways to avoid them) of opening a port for using bittorrent clients if you are using Airport Express as the router? Thanks again!
- 0
Protagonist ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
I appreciate the informative reply. I was aware of most of the information already, though. I am not overly concerned as I only have OS X and a PC running BSD attached to the TC. It was more curiosity than anything that led me to ask the question so I marked it as solved. And I am sure you reassured other readers with the information
I do run a separate FW because I do like to know what my system is doing and it also allows me to fine tune things a bit. Thanks again for your time.