Package marauroa.server.net.validator


package marauroa.server.net.validator
The package stores the connection validator.

Currently works only with version 4 of the TPC/IP protocol.
It support both UDP and TCP sockets.
Connection valiator stores at database some permanent bans.

 create table if not exists banlist
 (
 id integer auto_increment not null,
 address varchar(15),
 mask    varchar(15),

 PRIMARY KEY(id)
 );
 
  • Class Summary
    Class
    Description
    The ConnectionValidator validates the ariving connections, currently it can only check if the address is banned.
    This class is a mask that determines if a IPv4 address match with the mask.