powershell-block-windows-attack icon indicating copy to clipboard operation
powershell-block-windows-attack copied to clipboard

IP limit of 1000 per firewall rule

Open mbhatton opened this issue 11 years ago • 0 comments

Hi,

Thanks for the script - its really useful for me.

I just spotted lots of errors when the script ran on my server. Looking into it further it was due to array out of bounds when adding a new IP to the list. Further still and it looks like there is a maximum of 1,000 IPs which can be added to the scope of a firewall rule.

I am not good with powershell, but I created a BlockAttackers2 rule, pulled its contents into $ar2, appended it to $arRemote and then wrote the exclusions to $ar2 instead.

Looks like it too me about 3 months to hit 1000 blocked IPs !

Matt

mbhatton avatar Dec 27 '13 12:12 mbhatton