The packet filter in Linux is called netfilter and is usually managed with iptables
The common way of using iptables is by creating an init script with iptables statements, but there are also GUI frontends to iptables.
Iptables is used to set up, maintain, and inspect the tables of IP
packet filter rules in the Linux kernel. Several different tables may
be defined. Each table contains a number of built-in chains and may
also contain user-defined chains.
I don't know what the usual method is for blocking a list of addresses, but you could probably just do something like the following (in an init script) :
If you prefer to maintain a list of addresses in a separate file, you can do
HACKERS="172.16.0.0/12 10.0.0.0/8 169.254.0.0/16 19...... "
for ADDR in $HACKERS; do
iptables -A INPUT -s $ADDR -j DROP #block traffic from $ADDR
iptables -A OUTPUT -d $ADDR -j DROP #block traffic towards $ADDR
cat list_of_scriptkiddie_addresses | while read ADDR ; do
iptables ... $ADDR ......