16
HFS ~ HTTP File Server / Re: blocking ip-addresses by country
« on: October 16, 2023, 09:52:46 AM »Thanks LeoI guess you are running HFS on a VPS, where resources are shared and limited (I do understand). Have you tried using HFS's banning option ONLY, without PeerBlock? (instead of running both options). Perhaps you don't need PeerBlock, if you add (in HFS) the IP ranges that attack your website.
I configured both options, monitored them for several days, and the attacks became much smaller, but unfortunately peerblock greatly affects performance
You can configure this, by going to HFS's Menu > Limits > Bans... (it will open a window where you have to enter the IP ranges). Remember to check 'Disconnect with no reply'. Before doing this, please take a look HERE to know how to configure an IP range to be excluded (remember to put a backslash \ before the IP range)..Try using this ONLY (without PeerBlock).