Previous Next Up FAQ Table of Contents

7.1.5 Monitor Interface

The monitor interface of the VolanoChat applet is created by setting the monitor parameter to true. The monitor entrance looks like this:

VolanoChat monitor entrance

Figure 1: VolanoChat monitor entrance interface.

The applet tag that embeds the applet shown above is:

<applet codebase="vcclient"
        archive="COM/volano/VolanoChat.jar"
        code="COM.volano.VolanoChat.class"
        width="500" height="60">
<param name="cabbase" value="COM/volano/VolanoChat.cab">
<param name="monitor" value="true">
<param name="color"   value="#FFFFFF">
<param name="group"   value="Welcome to Volano!">
<param name="text"    value="monitor.txt">
</applet>

The monitor password is defined by the server.password VolanoChat server property. The monitor interface prompts for the monitor password directly on the Web page. This interface operates just like the standard VolanoChat applet but adds the additional capabilities of removing a visitor from a chat room, kicking a visitor off the server, or permanently banning a visitor from the server.

VolanoChat monitor menu screenshot

Figure 2: VolanoChat monitor menu.

When one of the menu items is selected, a dialog box is displayed where monitors can choose the name and address to remove, kick or ban. The Remove dialog displays the list of each user in the room. The Kick and Ban dialogs display the list of users who recently entered the room, with the most recent visitor at the top. The number of recent names and addresses to display in the Kick and Ban dialogs is defined by the applet property recent.user.limit= in the client applet properties file.

VolanoChat monitor popup user list

Figure 3: VolanoChat monitor popup user list.

The kick and ban functions disconnect all connections with a given IP address instead of just the connection of the person selected in the chat room. This makes sure people cannot use pre-established connections from different applet instances on the same machine to re-enter chat rooms even after their address is kicked or banned. But it also means that when one person connecting through a firewall router or SOCKS proxy gets disconnected, all other people connected through the same router or proxy will also be disconnected.

The ban function will add the visitor's Internet Protocol (IP) address to the list of banned host computers. The ban list is purged each time the server is restarted. To ensure that an IP address is always banned from the server, add the address to the list of denied hosts in the access control file. See the [5.3] Access Control section for more information.

Tip: You should use a separate client applet properties file for your monitor and admin entrance to enable the Monitor features. The sample monitor.txt file included with VolanoChat shows an example of this. You also might want to define a few commonly used phrases such as welcome or warning messages using the macro key functions in the client applet properties files. Finally, the private and public chat limits do not apply to monitors or administrators, and they can also enter a room even if it is full.

Member Monitors

By default all monitors share the same password defined in the properties.txt file. With VolanoChatPro you can assign each monitor their own username and password, which helps to prevent password sharing. This is done by setting the member.monitor server property equal to the path and filename of a text file containing the names of the monitors. See the member.monitor.* definitions on the [5.2] Server Properties page. When a monitor defined in this list enters through a normal member entrance, the member.monitor text file is checked and if their name is listed, they are automatically logged in with monitor privileges, assuming authentication is successful.

VolanoChatPro member monitor entrance

Figure 4: VolanoChatPro member monitor entrance.

See also:

[8.4] DNS Blacklisting

Previous Next Up FAQ XHTML 1.0 Table of Contents

2014-07-11 — An updated version of the VOLANO chat server that supports the latest Java 8 Plug-in is now available. More…

The VOLANO® chat software for the Java™ platform lets you build on-line communities and add real-time social networking to your Web site. More…

John Neffenger <john@status6.com>
More…

A PROJECT OF STATUS:6®