• Geo blocking

    From Utopian Galt@VERT to All on Sun Nov 10 20:55:24 2019
    Is there any geo blocking in Synchronet where I can block nations that have too many script kiddies?
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From mark lewis@VERT to Utopian Galt on Mon Nov 11 08:45:54 2019
    On 2019 Nov 10 20:55:24, you wrote to All:

    Is there any geo blocking in Synchronet where I can block nations that have too many script kiddies?

    sbbs/text/ip.can and sbbs/text/host.can can be used...

    )\/(ark

    Once men turned their thinking over to machines in the hope that this would set
    them free. But that only permitted other men with machines to enslave them.
    ... Modern people have put aside superstition and acquired psychiatry.
    ---
    * Origin: (1:3634/12.73)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Mortifis@VERT/ALLEYCAT to Utopian Galt on Tue Nov 12 08:58:12 2019
    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
  • From Mortifis@VERT/ALLEYCAT to Utopian Galt on Thu Nov 14 13:29:01 2019
    Is there any geo blocking in Synchronet where I can block nations that have too many script kiddies?

    I threw together a script for ya, coob.js (country of origin blocking) if you like to use it, let me know, I will send it to you

    ---
    þ Synchronet þ AlleyCat! BBS - http://alleycat.synchro.net:81