Hello
 
last night i found an list on ripe where to see all countries and ther ip ranges
 
http://www.ripe.net/ripencc/mem-services/general/allocs4.html
 
with an awk script i cut out everything but ips
 
now ips are looking like  212.30/19
original
uk.guernsey-telecoms (Guernsey Telecoms)
19980304 212.30/19 ALLOCATED PA
 
command:
ipchains -A input -s 212.30/19 -j DENY
 
but in ipchains -L -n
the rule is after this step
 
DENY       all  ------  212.0.0.0/19         0.0.0.0/0             n/a
 
why where´s there the error???
 
----------------
 
other question, someone now how to expand 212.30/19 with awk to an complete ip like 212.30.0.0/19 into an whole list??
 
list is like following
 
"194.112.192/18",
"212.126.64/19",
"212.52.192/19",
"213.153.32/19",
"195.70.96/19",
"194.118.0/19",
"194.118.32/19",
"194.118.64/18",
"194.118.128/17",
"62.140.32/19",
"212.119.128/19",
"62.178/15",
"195.34.128/19",
"212.17.64/18",
"212.186.0/16",
"213.47/16",
"62.46/15",
"195.3.64/18",
"212.183/18",
"212.183.64/18",
"213.33/17",
"194.183.128/19",
"194.208.0/19",
"194.208.32/19",
"194.208.64/18",
"194.208.128/17",
"213.142.32/19",
"62.218/16",