Is there any geo blocking in Synchronet where I can block nations that have too many script kiddies?
geoip.js can be used for that purpose. Depending on how you wish to implement it, using ip.can or ip-silent.can is the easiest way.
as an example you could add this to the beginning of login.js:
between bbs.nodesync();
// block all Canadians
load('geoip.js');
var geoip = get_geoip(client.ip_address, true);
if(geoip.countryName.toUpperCase() === 'CANADA') {
console.writeln('Country Blocked ');
bbs.hangup();
exit();
}
and ... // Display login prompt
---
þ Synchronet þ AlleyCat! BBS -
http://alleycat.synchro.net:81
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)