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 184.108.40.206
I get info about the source network http://www.whois.sc/220.127.116.11
Which returns a network range 18.104.22.168 - 22.214.171.124
Now sometimes I get an IP range represented like this 126.96.36.199/12
this is easy to then block the entire nework by entering 188.8.131.52/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 (184.108.40.206 - 220.127.116.11) get a result that encapsulates the range like: 18.104.22.168/16 <<<<<< I know this range is too broad, thats what I need to know how to calculate.
Do you know what I mean???