Ban 1.0

Category / Domain : Administration
SCOL Voy@ger Compatibility : Not defined
Update : 01/2001

Function

The BAN module allows users with administrators privileges to manage the ban of IP addresses for the current site and for all sites hosted on the server. Precautions have to be taken for security issues, like protected access to this module.

Note: DMS functions which weren't implemented at the time of the module's design had to be overloaded to ensure the module's proper running.

Configuration


Figure 1 : Editor interface of the BAN module

(1) : This edit zone lets you set the default ban duration (units: minutes).

The client interface looks like this :

Click Add to ban a new user. In the popup window (see example in the above screenshot), enter the IP address of the user and its ban duration. Use a 255 mask to ban a whole range of IP addresses. For example, 123.123.123.255 will ban all IP addresses from 123.123.123.0 to 123.123.123.255.
Click Delete to stop the ban before the set duration expires. Please first select the IP address to be "freed".

Implementation

Open the Creation Tree of the SCS, select the Admin file, then double-click on Ban 1.0. Click on OK to validate the Editor's options.
Then implement all links that are necessary to the project.

Action Function
module.event à ban.start Starts the module by the client.
module.event à ban.destroy Destroys the module by the client.
module.event à ban.banUser Bans the IP address of the client who generated the event.

Event Function
ban.destroyed à module Action An action is triggered when the module is destroyed.
ban.in à module Action An action is triggered when a client enters the module.

Zone Function Interface Affectation
Ban.ban Lets you display the list of banned IP addresses. Client Yes