i'm (still) using the default web interface... i've noticed the following hacking attempts... since we detect them indirectly, can we do something similar to what we do with the terminal services and block the IPs doing this? the error log doesn't record the IP address so we have to dig through the web logs to find the offending IP...
Wed Apr 10 2019 07:43:45 sestar.synchro.net
web 0037 !JavaScript /sbbs/web/root/msgs/msg.ssjs line 20: Error: Unrecognized msgbase code: fido-linux', Request: /msgs/msg.ssjs?msg_sub=fido-linux'&message=78'"
i'm (still) using the default web interface... i've noticed the following hacking attempts... since we detect them indirectly, can we do something similar to what we do with the terminal services and block the IPs doing
Unrecognized msgbase code: fido-linux' AnD sLeep(3) ANd '1, Request:
web 0037 !JavaScript /sbbs/web/root/msgs/msg.ssjs line 20: Error:
You'd need to modify msg.ssjs to interact with the hack attempt logging mechanism (via the system.hacklog() method I guess) when this happens. Presumably that method works with the attempts-coutner and the automated ban/unban stuff happens in the background (DM could say).
That's kind of what I was suggesting, that he could call system.filter_ip() in a try/catch around MsgBase.open(). Now that creates a "permanent" ban of the IP address. There no JS interface to the temp ban (failed login) stuff currently.
Re: web message base hacking attempts...
By: Digital Man to echicken on Thu Apr 11 2019 12:31:02
That's kind of what I was suggesting, that he could call system.filter_ip() in a try/catch around MsgBase.open(). Now that creates
a "permanent" ban of the IP address. There no JS interface to the temp ban
(failed login) stuff currently.
Ah, I was hoping that system.hacklog did some magic in the background.
Never
used it.
Banning anyone who generates this particular error wouldn't be a great solution. Something more complex (number of attempts in a set period of time,
temporary ban & duration) would probably be needed.
Sysop: | Kurt Hamm |
---|---|
Location: | Columbia, SC |
Users: | 7 |
Nodes: | 20 (0 / 20) |
Uptime: | 233:08:04 |
Calls: | 2,774 |
Calls today: | 2 |
Files: | 64 |
Messages: | 848,242 |