05.01.2013 Views

Mac OS X Leopard - ARCAism

Mac OS X Leopard - ARCAism

Mac OS X Leopard - ARCAism

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

theory behind Ping is that any machine that receives a ping is supposed to echo it back. Unfortunately,<br />

Ping has been abused by malware in the past—hence stealth mode.<br />

To use Ping in Network Utility, enter an IP address or domain name. Ping will then list the<br />

pings as they return, along with how long it took them to traverse the network. This is useful in<br />

any number of ways.<br />

For example, if your web site goes down but your web host responds to pings, you can<br />

deduce that the host program crashed, but that the server is OK. If the server does not respond<br />

to pings, you can assume something is wrong on a hardware level.<br />

Similarly, if your server responds by IP address, but doesn’t respond by domain name, you<br />

can deduce that something is wrong with the domain name system (DNS). Further investigation<br />

would be needed to determine if the domain name has expired, or if there is something else going<br />

on. These can be determined elsewhere in Network Utility.<br />

Lookup<br />

The Lookup tab combines the nslookup and dig tools to query DNS, which converts humanreadable<br />

web addresses to the numerical IP addresses used by computers. The information<br />

returned by Lookup varies by host, but at the very least you can use it to get the IP address of a<br />

given server name.<br />

Traceroute<br />

Traceroute maps the path of packets as they travel to a given server address. Aside from being<br />

kind of interesting, it’s a useful diagnostic tool. When a server is unreachable, there’s no way of<br />

knowing where the packets are being stopped. By using Traceroute, you can figure out who you<br />

need to call to get traffic flowing.<br />

Like Ping, Traceroute has been abused by nefarious forces, so some servers will block<br />

Traceroute requests. Even so, you can usually get to the outer bounds of a given network, which<br />

will certainly tell you something, so Traceroute remains a good thing to have in your toolbox.<br />

Whois<br />

CHAPTER 20 LEOPARD NETWORKING 357<br />

As opposed to the tools in Lookup, which convert domain names into IP addresses, Whois<br />

queries domain registries to determine who owns them. There are a couple of reasons why you<br />

might want to know this.<br />

If your site is down and your server is reachable by IP address, but not by domain name, one<br />

possibility is that your domain name has expired or has been stolen. Checking the Whois information<br />

will let you know for sure. If Whois checks out OK, you can begin suspecting something<br />

is wrong with the name server itself.<br />

Should you find your packets are being stopped at a certain node via Traceroute, Whois will<br />

tell you who you need to call about it. It’s also a good way to see if a domain name is available,<br />

and if it’s not, to see when it expires. There’s no sense putting up good money for a domainwatching<br />

service if the registration is not going to expire for another five years.<br />

As with many parts of the Internet, Whois registries have been abused. Putting your name,<br />

e-mail address, home address, and telephone number where anyone can get them is a potential<br />

privacy concern.<br />

As such, some registrars now offer anonymous registration, whereby they will register the<br />

domain in their own name on your behalf, preventing people from getting any useful information<br />

about you. As with any such tactic, this certainly improves security by some degree, while<br />

breaking the Internet by another.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!