I am trying to add some IP addresses to an IP block list on my smoothwall firewall.
Firstly I do a whois lookup to return a range of IP's
So if I get a bunch of portscans from 18.104.22.168
I get info about the source network http://www.whois.sc/22.214.171.124
Which returns a network range 126.96.36.199 - 188.8.131.52
Now sometimes I get an IP range represented like this 184.108.40.206/12
this is easy to then block the entire nework by entering 220.127.116.11/12 into ipblock
What I want to know: Is there anyway to or any software around that can represent the range returned in the format that I can enter into IPBLOCK GUI
So enter start address and end address (18.104.22.168 - 22.214.171.124) get a result that encapsulates the range like: 126.96.36.199/16 <<<<<< I know this range is too broad, thats what I need to know how to calculate.
Do you know what I mean???