Host Monitor User's Guide

The Host Monitor is an application for monitoring the wireless hosts which are using - the technical term is "associated with" - an 802.11 wireless access point, or base station. The utility currently supports the Apple AirPort family of access points, including the original "Graphite" units, the newer "Snow" base stations, and the latest Extreme access points, as well as the Lucent RG-1000 base station, which is functionally identical to the "Graphite AirPort.

The utility monitors an access point by periodically querying it to determine the set of hosts which are currently associated; the default query interval is 5 seconds. Due to differences in the support provided by each different base station type for determining the set of associated hosts, the underlying mechanism for performing the query is quite different for each different model, which results in somewhat different behavior; this is discussed in the section Limitations, below. After each query, the set of hosts retrieved is displayed in a table, with the entry for each host including a hostname, MAC (hardware) address, IP address, and how long that host has been associated with the base station (if available). The result of a typical query (on a "Snow" AirPort base station) is illustrated in the following screenshot.


Host Monitor screenshot

Main window screenshot


In addition to displaying a list of currently associated hosts, the Host Monitor can provide logging of hosts, and notification when new hosts appear. The notification can take the form of an audible "beep", or of an email message sent to a configurable address containing information for the newly arrived host(s). The logging and notification occur when a host first appears (associates with) a base station, and will occur again if a host goes away (disassociates) and then reappears (reassociates).

The following discusses the setup and running of the utility in more detail.


Startup

The Host Monitor is a Java application, contained in the file HostMonitor.jar. To run the application, you should be able to just double-click on the HostMonitor.jar file (in Mac OSX or Windows); if this doesn't work, you can enter
  java -jar HostMonitor.jar
in a command-line window from the directory containing the HostMonitor.jar file.
This should open the "Preferences" dialog that allows you to enter the base station address and password, and configure the logging and notification features of the utility.

Java

If neither of the above approaches work to launch the utility, it may be that your computer doesn't have a Java Runtime Environment (JRE) installed. (Microsoft in particular has chosen to leave this component out of their recent operating systems. Thanks, Bill - "Where do you want to go today?" MacOS or Linux!) Fortunately, Sun offers free downloads of its JRE, available at
  http://java.sun.com/j2se/1.4.2/download.html
Choose from the "JRE" column the download that corresponds to your operating system. The downloaded file will be a self-installer; once the download has completed, just run the installler (double-click on the file) to install the Java runtime environment.


Preferences Dialog

This dialog appears when the Host Monitor utility is first started, or when the "Change settings" button is selected. This dialog allows the base station address and type to be specified, as well as any actions that should occur when new hosts are detected that have associated with the base station.


Preferences dialog screenshot

Preferences dialog screenshot

Basic Settings

These settings are needed to allow the Host Monitor to query your base station.

Logging

The Host Monitor can log accesses to your base station for later inspection.

Notification

The Host Monitor can notify you in a couple of ways when new hosts associate with the base station: by an audible "beep", or by sending an email message.

Running the Utility

The Host Monitor will query the base station every 5 seconds, indicating in the messages window when information has been retrieved. If there's a problem retrieving the information, this will be indicated in the messages window. A problem retrieving the settings usually indicates either an incorrect base station IP address, or password, or base station type has been selected; choose the "Change settings" button to correct this as necessary.

Known and Unknown Hosts

The Host Monitor allows you to maintain a list of "known" hosts, and to supply a name for these so they're easily identifiable. The name given to each known host is displayed in the main window when the base station is queried; hosts which aren't in the known host list are labelled as "****Unknown host****" in the name field. These may represent intruders on your wireless network.

The known host list can be edited by clicking on the "Edit known hosts" button. Adding a host requires entering the host's MAC address, which is a 12-digit hexadecimal string separated by spaces, like   00 20 1e 37 2f 83, and a name for the host. The MAC address is a unique number associated with the host's network card, and can generally be found printed on PCMCIA cards. (The table requires all entries' MAC addresses to be unique; if a duplicate MAC address is entered, or the address is malformed, an error dialog will be displayed.) To make adding a new host easier, when an unknown host is displayed in the main window's host table, an "Add" button is displayed at the end of the row (as shown in the second row of the main window screenshot above); if this is clicked, the known host dialog is opened and the indicated host's MAC address is automatically inserted in a new row. To delete a host, you need only remove the host's MAC address from the table.

The logging and notification settings allow the soecification of whether the action should occur for all hosts, or just unknown hosts, i.e., those which aren't in the known host list.

Limitations

Due to limitations in access point firmware, not all models permit direct monitoring of the associated hosts. In fact, each of the three AirPort models has sufficiently different firmware that the mechanisms used to monitor the associated wireless hosts are entirely different. As such, the host display doesn't always display the set of associated hosts, particularly for "Graphite" and "Snow" AirPort base stations. The limitations are discussed below for each type.



Comments/questions: jsevy@cs.drexel.edu