How can I bulk add a text file full of IP blocks to IPTables using BASH (or another scripting language)? Or is there some other way of blocking these address ranges?
EDIT: In other words is there a way to program something to iterate through the file and build the relevant entries?