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)