• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: OT ping sample code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OT ping sample code


  • Subject: Re: OT ping sample code
  • From: Chilton Webb <email@hidden>
  • Date: Mon, 12 Jan 2004 17:09:28 -0600

Hi Igor,

On Jan 12, 2004, at 12:57 PM, Igor garnov wrote:
There is no general way to tell if a host is online without knowing some
additional information about the host. If you want to know if a web
server is up you would try an HTTP request, if you want to know if an FTP
server is up you would try an FTP request. Without that kind of
additional information, there isn't any universal solution.

There must be a set of ports used by Windows, Mac and Unix/Linux I suppose... I mean some 'intersection' of sets of ports the machines on these OSs would normally listen on.

What exactly are you trying to do? With a bit more info we could probably help more.

FWIW, when I configure a server, for security reasons, I disable any and all ports I'm not using on that server. In these cases, using a Mac provides me with a nice set of options not available on other operating systems, such as the ability to stream AppleEvents through the web server (and as of Panther, this came back!). So with a pair of tiny apps I use for this, I don't need any other ports open. And at least on my OS9 based servers, I'll typically only have one port open, and block the rest at the firewall.

If you want to know what ports are routinely open on a particular type of server though, just pick up any issue of 2600, or any of the zillions of hacking/hackproofing books available at fine booksellers everywhere, and see what ports they suggest breaking into or closing up (depending on the focus of the book).

-Chilton
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: OT ping sample code (From: Igor garnov <email@hidden>)

  • Prev by Date: Re: OT ping sample code
  • Next by Date: Question about Endpoints and data chunk sizes
  • Previous by thread: Re: OT ping sample code
  • Next by thread: Re: OT ping sample code
  • Index(es):
    • Date
    • Thread