Nets, subnet rules, prefixes, subnet labels, IP checking

Plugin: Seti.Nets

It is function for IP-address or host check on it's subnet its presence in the table of networks. The bot will inform in chat on an address accessory to this or that network. Also has function of check of the IP-address at users login and access restriction according to the list of networks. Also it is possible to look the list of users whose IP is not in the list of networks. Also has function of check of nick prefixes for users on conformity to the set prefixes for subnet ranges. If the prefix is found out in the user (in the nick beginning in square brackets) its IP-address is checked on an accessory to the list of networks and the prefixes set for it. If the given prefix is not supposed for this range (and prefixes for it are set) the user cannot login. If the user has a prefix which is set for any range to which does not belong IP the user the user cannot login. Has possibility (in the presence of plugin of additional descriptions) to add subnet prefix the user in its description. Also has function of restriction of inquiries about search and connection by networks.

To check up the address it is possible by command !address <address> or write it in Bot's PM. The list of networks can be looked by command !addresses. On/off function viewing of networks it is possible by command !seenhosts.

By command !ipguard it is made on/off function of check of addresses of connected users on presence of their address in the list of networks when there is an interdiction of an input to users, whose address does not contain in nets list. To set class of users to which function of check of addresses entering works, it is possible by command !ipguardbelow <class>, where the class after which function of check IP at an login is not applied is set.

To add subnet in the list of networks it is possible by command !nets+ <start_IP> <end_IP> <mark>. Thus at conclusion of the information on the address from this range the explanatory with given subnet which is set at addition will be shown. To remove the necessary range from the list of networks under the necessary index it is possible by command !nets- <index>. To edit subnet under the necessary index it is possible by command !nets= <index> <start_IP> <end_IP> <mark>. To insert subnet under the necessary index into the list of networks it is possible by command !nets# <index> <start_IP> <end_IP> <mark>.

By command !findaliens viewing of all users of the Hub with conclusion of the list of is made what address does not contain in the list of networks.

To add prefix for available in the list of networks of range with the chosen index it is possible by command !addnetprefix <index> <prefix>. To remove available prefix at range with the chosen index it is possible by command !delnetprefix <index> <prefix>. To on/off check of nick prefixes on conformity to the set prefixes for ranges it is possible by command !isnetprefix. On/off function of addition to the description of users of subnets prefixes is possible by command !putnetprefix. On/off function of blocking of search inquiries and inquiries about connection at users, whose address does not contain in the list of networks, possible by command !isblockext. To forbid inquiries from users from concrete ïîäñåòè it is possible by command !blockrange <index>. Again to resolve inquiries to users from concrete subnet it is possible by command !unblockrange <index>. To look the list with the forbidden inquiries it is possible by command !blockranges.

To establish mode of obligatory check of nick prefix of users at login it is possible by command !addoblprefix <index>. If index is 0, then the mode of check for all available subnets will be included. To off mode of obligatory check of nicks prefix of users for chosen range it is possible by command !deloblprefix <index>. If index is 0, then the mode will be disabled for all subnets.

Nick, from whose name reports to addresses are shown, is set in file Vars.lua in constant IpName. In constants netsExtMessage and netsInnMessage the text which precedes the text of the explanatory for range at an information conclusion is set. In constant netsDNSpattern The template of domain names by rules LUA is set. In constant netsCountLimit sets the checking addresses count limit for one message.

The base of networks is stored in file NetRange.lua. The list of networks with the forbidden inquiries is stored in file BlockedRanges.


<<< back | print | To main...
PhazaSoft© Ekzekutor©
Hosted by uCoz