• Temp bans

    From Lupine Furmen@1:103/705 to All on Sat Nov 16 10:30:31 2019
    As SBBS sits right now, it temp bans an IP that tries to log in as root. Is there a way to make it a perma ban instead of a temp?
    -+-

    -Dallas Vinson
    Furmens Folly - telnet: loybbs.net:23
    SSH: loybbs.net:23222
    Before the Web - telnet: loybbs.net:23232
    Legends of Yesteryear - telnet: loybbs.net:23322

    ---
    þ Synchronet þ Furmen's Folly - furmenservices.net:23
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mortifis@1:103/705 to Lupine Furmen on Sat Nov 16 13:18:21 2019
    As SBBS sits right now, it temp bans an IP that tries to log in as root. Is there a way to make it a perma ban instead of a temp?

    I edited my login.js and added:

    system.filter_ip(client.protocol, 'Blocked User Name', client.host_name, client.ip_address, str);

    here:

    // Continue normal login (prompting for password)
    if(bbs.login(str, "\1n\1c\1hPW:\b\b\bPassword: \1w")) {
    bbs.logon();
    exit();
    }
    if(system.trashcan("name", str)) {
    alert(log(LOG_NOTICE, "!Failed login with blocked user name: " + str));
    system.filter_ip(client.protocol, 'Blocked User Name', client.host_name, client.ip_address, str);
    break;
    }

    it still keeps as a Temp Ban for the duration but also adds it to ip.can

    hope this helps

    ---
    þ Synchronet þ AlleyCat! BBS - http://alleycat.synchro.net:81
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mortifis@1:103/705 to Lupine Furmen on Sat Nov 16 13:35:39 2019
    As SBBS sits right now, it temp bans an IP that tries to log in as root. Is there a way to make it a perma ban instead of a temp?

    Do you have php installed on your system? If yes, I have a php script that downloads the daily full_blacklist.zip file and adds the many thousands of blocked ip address to ip-silent.can ... I can send it to you if you'd like. Along with my coobs.js for entire country blocking at login time :-P

    All in an attempt to help stop script kiddies from hack attempts ...

    ---
    þ Synchronet þ AlleyCat! BBS - http://alleycat.synchro.net:81
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)