• Geo blocking

    From Utopian Galt@1:229/2 to All on Sunday, November 10, 2019 20:55:24
    From: utopian.galt@vert.synchro.net.remove-10or-this

    Is there any geo blocking in Synchronet where I can block nations that have too many script kiddies?
    --- Synchronet 3.17c-Win32 NewsLink 1.111
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)
  • From mark lewis@1:229/2 to you on Monday, November 11, 2019 08:45:54
    From: mark.lewis@1:3634/12.73.remove-h7o-this

    To: Utopian Galt

    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 3.17c-Win32 NewsLink 1.111
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)
  • From Mortifis@1:229/2 to All on Tuesday, November 12, 2019 08:58:12
    From: mortifis@ALLEYCAT.remove-p6l-this

    To: Utopian Galt
    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
    --- Synchronet 3.17c-Win32 NewsLink 1.111
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)
  • From Mortifis@1:229/2 to All on Thursday, November 14, 2019 13:29:01
    From: mortifis@ALLEYCAT.remove-xb0-this

    To: Utopian Galt
    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
    --- Synchronet 3.17c-Win32 NewsLink 1.111
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)