How would I set up a filter to block all incoming traffic from a range of
IP addresses: 217.X.X.X to 217.Y.Y.Y?

We are getting spammed and someone is trying to hit our ftp server and we
have no need to communicate with anyone from this range of addresses so
I'd like to just block them with filters completely. Thanks.