We have a pool for ftp servers. Recently our Infosec department has been making me block specific IPs because of multiple failed logins (even though it’s pointless to do so). Our FTP server has the option of blocking IP addresses for a certain amount of time based on x number of failed logins over x seconds, but with the BigIP, all traffic is showing as the internal address, so that’s not an option, unless I turn off the SNATing, which is also not an option. Unless there is a way to do that for just one pool. My current solution is to use a rule to discard connections from the whole IP range of the offender (as in 202.x.x.x) since they are all coming from APNIC and RIPE, neither of which would be legit traffic. This is an admin headache, since I get requests from Infosec every few hours with new IPs to block, and also pointless, like I said, because these script kiddies are hammering logins that don’t even exist, and usually give up by the time I can add them to the list.
Is there a way to setup a rule to block specific IPs based on any of the following:
a) number of concurrent or conesecutive connections over time from a given IP
b) number of failed FTP logins (can the BigIP even see that???)
Or,
c) to show the FTP server the actual IP address so it does not block all traffic when they hit us
Any other suggestions for how to handle this, or is my bandaid the only solution?