211
HFS ~ HTTP File Server / Re: Dealing with requests for files that don't exist from bots or malicious entities
« on: February 26, 2020, 08:14:30 PM »I really need something more along the lines of banning any address that doesn't request a hosted file as I have been having several bad apples trying exploitation methods as well, and I don't want anything in a list somewhere. There only should be game clients requesting specific files, so is there a simple line I can add to events that will accomplish this?A template (or diff-template) could do a default disconnect on error, to imitate a firewall:
[error-page]
{.disconnect.}
However, it would be better to use a filtered approach (help users but disconnect miscreants), such as in https://rejetto.com/forum/index.php?topic=12055.msg1065326#msg1065326 See the error-handler pages, to give you some ideas on how to arrange your filters.