Bill Church wrote:
If you have the luxury of blocking IPs based on countries or regions,
that helps as well but not everyone can do this.
-Bill
That in a nutshell of but one layer of a multi-layer approach that I've
been using for the past two years. At present I may get a grand total of
2 SPAMs per week; sometimes less than that, but that's the average.
layer #1: RBLs configured in the MTA - Sendmail
layer #2: SpamAssassin (score set to 3 and known or trusted addresses
white-listed
layer #3: iptables rules and a technique known as geo-blocking.
The third layer, iptables and geo-blocking REALLY make a huge
difference. It's taken about a year and some digging, but I've got a
very good foundation ruleset that works extremely well. And personally I
don't consider blocking on countries or regions is a luxury, but rather
a necessity. Anyone can do it and should of they're running a mail
server that is accepting direct SMTP connections.
Since my mail server is already behind a router the rule set is very
simple, but extremely effective and very portable.
*see attached bash script.
--
Mark
"If you have found a very wise man, then you've found
a man that at one time was an idiot and lived long enough
to learn from his own stupidity."
==============================================
Powered by CentOS4 (RHEL4)
#!/bin/sh
# flush the rules
iptables -F;
###############################################################################
######################### setting initial rules set ###########################
###############################################################################
#
# protecting the Samba ports from the outside world
#
#iptables -I INPUT -p udp -s 0/0 --dport 137:139 -j DROP;
#iptables -I INPUT -p udp -s 0/0 --dport 137:139 -j LOG --log-prefix "Samba Connect ATTEMPT:";
#iptables -I INPUT -p tcp -s 0/0 --dport 137:139 -j DROP;
#iptables -I INPUT -p tcp -s 0/0 --dport 137:139 -j LOG --log-prefix "Samba Connect ATTEMPT:";
################### SPRINT NET - Treason Uncloaked ##################
# 205.240.0.0/13
#iptables -A INPUT -s 205.240.0.0/13 -j LOG --log-level debug --log-prefix "TU_SPRINT-Reston-VA: ";
#iptables -A INPUT -s 205.240.0.0/13 -j DROP;
#####################################################################
#####################################################################
#####################################################################
# EXTRA IPTABLES RULES TO KEEP OUT THE MORONS #
#####################################################################
#####################################################################
# 70.136.0.27
iptables -A INPUT -p tcp --dport 25 -s 70.136.0.27 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 70.136.0.27 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 149.143.201.219 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 149.143.201.219 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 157.45.146.216 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 157.45.146.216 -j DROP;
# 12.202.204.83
iptables -A INPUT -p tcp --dport 25 -s 12.202.204.83 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 12.202.204.83 -j DROP;
# 207.45.240.0/20
iptables -A INPUT -p tcp --dport 25 -s 207.45.240.0/20 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 207.45.240.0/20 -j DROP;
# 68.73.184.7
iptables -A INPUT -p tcp --dport 25 -s 68.73.184.7 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 68.73.184.7 -j DROP;
# 66.75.160.141
iptables -A INPUT -p tcp --dport 25 -s 66.75.160.141 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.75.160.141 -j DROP;
# 209.196.77.104
iptables -A INPUT -p tcp --dport 25 -s 209.196.77.104 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 209.196.77.104 -j DROP;
# 69.6.17.28
iptables -A INPUT -p tcp --dport 25 -s 69.6.17.28 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 69.6.17.28 -j DROP;
# 67.172.124.91
iptables -A INPUT -p tcp --dport 25 -s 67.172.124.91 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 67.172.124.91 -j DROP;
# 70.182.91.39
iptables -A INPUT -p tcp --dport 25 -s 70.182.91.39 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 70.182.91.39 -j DROP;
# 32.97.182.141
iptables -A INPUT -p tcp --dport 25 -s 32.97.182.141 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 32.97.182.141 -j DROP;
# 209.214.107.219
iptables -A INPUT -p tcp --dport 25 -s 209.214.107.219 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 209.214.107.219 -j DROP;
# 69.40.188.64
iptables -A INPUT -p tcp --dport 25 -s 69.40.188.64 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 69.40.188.64 -j DROP;
# 69.40.189.103
iptables -A INPUT -p tcp --dport 25 -s 69.40.189.103 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 69.40.189.103 -j DROP;
# 207.254.0.0/17
iptables -A INPUT -p tcp --dport 25 -s 207.254.0.0/17 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 207.254.0.0/17 -j DROP;
# 65.175.2.89
iptables -A INPUT -p tcp --dport 25 -s 65.175.0.0/18 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 65.175.0.0/18 -j DROP;
# 63.218.48.173
iptables -A INPUT -p tcp --dport 25 -s 63.218.48.173 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 63.218.48.173 -j DROP;
# 207.179.112.0/24
# Netname: ACDC
# ACD Internet Services - Lansing, Michigan
iptables -A INPUT -p tcp --dport 25 -s 207.179.112.0/24 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 207.179.112.0/24 -j DROP;
# 68.236.0.0/14
iptables -A INPUT -p tcp --dport 25 -s 68.236.0.0/14 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 68.236.0.0/14 -j DROP;
# 199.239.248.126
iptables -A INPUT -p tcp --dport 25 -s 199.239.248.126 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 199.239.248.126 -j DROP;
# 66.69.39.254
iptables -A INPUT -p tcp --dport 25 -s 66.69.39.254 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.69.39.254 -j DROP;
# 66.139.73.209
iptables -A INPUT -p tcp --dport 25 -s 66.139.73.209 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.139.73.209 -j DROP;
# 67.173.134.50
iptables -A INPUT -p tcp --dport 25 -s 67.173.134.50 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 67.173.134.50 -j DROP;
# 216.75.25.109
iptables -A INPUT -p tcp --dport 25 -s 216.75.25.109 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 216.75.25.109 -j DROP;
# 216.74.216.242
iptables -A INPUT -p tcp --dport 25 -s 216.74.216.242 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 216.74.216.242 -j DROP;
# 63.218.48.148
iptables -A INPUT -p tcp --dport 25 -s 63.218.48.148 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 63.218.48.148 -j DROP;
# 209.126.136.193
iptables -A INPUT -p tcp --dport 25 -s 209.126.136.193 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 209.126.136.193 -j DROP;
# 67.48.77.93
iptables -A INPUT -p tcp --dport 25 -s 67.48.77.93 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 67.48.77.93 -j DROP;
# 66.35.244.41
iptables -A INPUT -p tcp --dport 25 -s 66.35.244.41 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.35.244.41 -j DROP;
# 68.223.154.214
iptables -A INPUT -p tcp --dport 25 -s 68.223.154.214 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 68.223.154.214 -j DROP;
# 68.119.34.148
iptables -A INPUT -p tcp --dport 25 -s 68.119.34.148 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 68.119.34.148 -j DROP;
# 216.177.12.178
iptables -A INPUT -p tcp --dport 25 -s 216.177.12.178 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 216.177.12.178 -j DROP;
# 71.107.92.239
iptables -A INPUT -p tcp --dport 25 -s 71.107.92.239 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 71.107.92.239 -j DROP;
# 204.15.230.110
iptables -A INPUT -p tcp --dport 25 -s 204.15.230.110 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 204.15.230.110 -j DROP;
# 69.30.231.208
iptables -A INPUT -p tcp --dport 25 -s 69.30.231.208 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 69.30.231.208 -j DROP;
# 209.213.197.123
iptables -A INPUT -p tcp --dport 25 -s 209.213.197.123 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 209.213.197.123 -j DROP;
# 204.15.230.122
iptables -A INPUT -p tcp --dport 25 -s 204.15.230.122 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 204.15.230.122 -j DROP;
# 69.30.225.165
iptables -A INPUT -p tcp --dport 25 -s 69.30.225.165 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 69.30.225.165 -j DROP;
# 72.29.24.188
iptables -A INPUT -p tcp --dport 25 -s 72.29.24.188 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 72.29.24.188 -j DROP;
# 69.30.201.134
iptables -A INPUT -p tcp --dport 25 -s 69.30.201.134 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 69.30.201.134 -j DROP;
# 69.30.200.203
iptables -A INPUT -p tcp --dport 25 -s 69.30.200.203 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 69.30.200.203 -j DROP;
# 204.15.227.243
iptables -A INPUT -p tcp --dport 25 -s 204.15.227.243 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 204.15.227.243 -j DROP;
# 204.15.227.242
iptables -A INPUT -p tcp --dport 25 -s 204.15.227.242 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 204.15.227.242 -j DROP;
# 69.30.200.209
iptables -A INPUT -p tcp --dport 25 -s 69.30.200.209 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 69.30.200.209 -j DROP;
# 72.29.19.215
iptables -A INPUT -p tcp --dport 25 -s 72.29.19.215 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 72.29.19.215 -j DROP;
# 69.30.201.153
iptables -A INPUT -p tcp --dport 25 -s 69.30.201.153 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 69.30.201.153 -j DROP;
# 69.30.242.6
iptables -A INPUT -p tcp --dport 25 -s 69.30.242.6 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 69.30.242.6 -j DROP;
# 209.51.159.194
iptables -A INPUT -p tcp --dport 25 -s 209.51.159.194 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 209.51.159.194 -j DROP;
# 64.129.66.34
iptables -A INPUT -p tcp --dport 25 -s 64.129.66.34 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 64.129.66.34 -j DROP;
# 66.220.26.149
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.149 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.149 -j DROP;
# 66.220.26.139
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.139 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.139 -j DROP;
# 66.220.26.146
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.146 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.146 -j DROP;
# 216.86.157.205
iptables -A INPUT -p tcp --dport 25 -s 216.86.157.205 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 216.86.157.205 -j DROP;
# 69.30.242.61
iptables -A INPUT -p tcp --dport 25 -s 69.30.242.61 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 69.30.242.61 -j DROP;
# 66.220.26.142
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.142 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.142 -j DROP;
#66.220.26.150
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.150 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.150 -j DROP;
#66.220.26.147
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.147 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.147 -j DROP;
#66.220.11.88
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.88 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.88 -j DROP;
#69.30.242.14
iptables -A INPUT -p tcp --dport 25 -s 69.30.242.14 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 69.30.242.14 -j DROP;
#204.15.230.111
iptables -A INPUT -p tcp --dport 25 -s 204.15.230.111 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 204.15.230.111 -j DROP;
#66.220.26.148
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.148 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.148 -j DROP;
#64.129.66.52
iptables -A INPUT -p tcp --dport 25 -s 64.129.66.52 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 64.129.66.52 -j DROP;
#66.220.26.144
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.144 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.144 -j DROP;
#72.29.1.58
iptables -A INPUT -p tcp --dport 25 -s 72.29.1.58 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 72.29.1.58 -j DROP;
#64.192.203.6
iptables -A INPUT -p tcp --dport 25 -s 64.192.203.6 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 64.192.203.6 -j DROP;
#69.30.242.23
iptables -A INPUT -p tcp --dport 25 -s 69.30.242.23 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 69.30.242.23 -j DROP;
#69.30.215.154
iptables -A INPUT -p tcp --dport 25 -s 69.30.215.154 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 69.30.215.154 -j DROP;
#66.220.26.156
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.156 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.156 -j DROP;
#66.220.11.77
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.77 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.77 -j DROP;
#66.220.11.91
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.91 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.91 -j DROP;
#204.15.227.232
iptables -A INPUT -p tcp --dport 25 -s 204.15.227.232 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 204.15.227.232 -j DROP;
#204.15.227.235
iptables -A INPUT -p tcp --dport 25 -s 204.15.227.235 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 204.15.227.235 -j DROP;
#66.220.11.70
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.70 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.70 -j DROP;
#204.15.227.245
iptables -A INPUT -p tcp --dport 25 -s 204.15.227.245 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 204.15.227.245 -j DROP;
#66.220.26.136
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.136 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.136 -j DROP;
#66.220.11.93
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.93 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.93 -j DROP;
#66.220.26.140
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.140 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.140 -j DROP;
#205.245.135.69
iptables -A INPUT -p tcp --dport 25 -s 205.245.135.69 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 205.245.135.69 -j DROP;
#69.57.176.118
iptables -A INPUT -p tcp --dport 25 -s 69.57.176.118 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 69.57.176.118 -j DROP;
#84.95.76.8
iptables -A INPUT -p tcp --dport 25 -s 84.95.76.8 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 84.95.76.8 -j DROP;
#83.54.89.6
iptables -A INPUT -p tcp --dport 25 -s 83.54.89.6 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 83.54.89.6 -j DROP;
#69.30.242.19
iptables -A INPUT -p tcp --dport 25 -s 69.30.242.19 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 69.30.242.19 -j DROP;
#69.30.215.89
iptables -A INPUT -p tcp --dport 25 -s 69.30.215.89 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 69.30.215.89 -j DROP;
#66.220.26.157
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.157 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.157 -j DROP;
#66.220.26.154
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.154 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.154 -j DROP;
#66.220.26.152
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.152 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.152 -j DROP;
#66.220.26.151
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.151 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.151 -j DROP;
#66.220.26.135
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.135 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.135 -j DROP;
#66.220.11.90
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.90 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.90 -j DROP;
#66.220.11.84
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.84 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.84 -j DROP;
#66.220.11.76
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.76 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.76 -j DROP;
#66.220.11.69
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.69 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.69 -j DROP;
#64.129.66.43
iptables -A INPUT -p tcp --dport 25 -s 64.129.66.43 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 64.129.66.43 -j DROP;
#208.97.210.94
iptables -A INPUT -p tcp --dport 25 -s 208.97.210.94 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 208.97.210.94 -j DROP;
#205.245.135.92
iptables -A INPUT -p tcp --dport 25 -s 205.245.135.92 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 205.245.135.92 -j DROP;
#204.15.230.93
iptables -A INPUT -p tcp --dport 25 -s 204.15.230.93 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 204.15.230.93 -j DROP;
#69.30.242.12
iptables -A INPUT -p tcp --dport 25 -s 69.30.242.12 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 69.30.242.12 -j DROP;
#66.220.11.87
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.87 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.87 -j DROP;
#66.220.11.68
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.68 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.68 -j DROP;
#66.220.11.89
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.89 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.89 -j DROP;
#72.29.1.50
iptables -A INPUT -p tcp --dport 25 -s 72.29.1.50 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 72.29.1.50 -j DROP;
#66.220.11.80
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.80 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.80 -j DROP;
#69.30.242.59
iptables -A INPUT -p tcp --dport 25 -s 69.30.242.59 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 69.30.242.59 -j DROP;
#66.220.26.137
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.137 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.137 -j DROP;
#66.220.11.82
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.82 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.82 -j DROP;
#64.129.66.37
iptables -A INPUT -p tcp --dport 25 -s 64.129.66.37 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 64.129.66.37 -j DROP;
#72.29.19.158
iptables -A INPUT -p tcp --dport 25 -s 72.29.19.158 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 72.29.19.158 -j DROP;
#205.245.135.131
iptables -A INPUT -p tcp --dport 25 -s 205.245.135.131 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 205.245.135.131 -j DROP;
#69.30.242.26
iptables -A INPUT -p tcp --dport 25 -s 69.30.242.26 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 69.30.242.26 -j DROP;
#204.15.227.234
iptables -A INPUT -p tcp --dport 25 -s 204.15.227.234 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 204.15.227.234 -j DROP;
#205.245.135.99
iptables -A INPUT -p tcp --dport 25 -s 205.245.135.99 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 205.245.135.99 -j DROP;
#208.97.210.74
iptables -A INPUT -p tcp --dport 25 -s 208.97.210.74 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 208.97.210.74 -j DROP;
#204.15.230.88
iptables -A INPUT -p tcp --dport 25 -s 204.15.230.88 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 204.15.230.88 -j DROP;
#69.30.242.62
iptables -A INPUT -p tcp --dport 25 -s 69.30.242.62 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 69.30.242.62 -j DROP;
#66.220.11.79
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.79 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.79 -j DROP;
#66.220.11.78
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.78 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.78 -j DROP;
#204.15.227.238
iptables -A INPUT -p tcp --dport 25 -s 204.15.227.238 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 204.15.227.238 -j DROP;
#66.220.26.133
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.133 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.133 -j DROP;
#66.220.11.94
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.94 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.94 -j DROP;
#204.15.230.96
iptables -A INPUT -p tcp --dport 25 -s 204.15.230.96 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 204.15.230.96 -j DROP;
#12.191.232.78
iptables -A INPUT -p tcp --dport 25 -s 12.191.232.78 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 12.191.232.78 -j DROP;
#64.129.66.54
iptables -A INPUT -p tcp --dport 25 -s 64.129.66.54 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 64.129.66.54 -j DROP;
#69.30.225.170
iptables -A INPUT -p tcp --dport 25 -s 69.30.225.170 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 69.30.225.170 -j DROP;
#69.30.242.38
iptables -A INPUT -p tcp --dport 25 -s 69.30.242.38 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 69.30.242.38 -j DROP;
#205.245.135.152
iptables -A INPUT -p tcp --dport 25 -s 205.245.135.152 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 205.245.135.152 -j DROP;
#12.191.232.67
iptables -A INPUT -p tcp --dport 25 -s 12.191.232.67 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 12.191.232.67 -j DROP;
#208.97.210.79
iptables -A INPUT -p tcp --dport 25 -s 208.97.210.79 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 208.97.210.79 -j DROP;
#204.15.227.244
iptables -A INPUT -p tcp --dport 25 -s 204.15.227.244 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 204.15.227.244 -j DROP;
#66.220.11.83
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.83 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.83 -j DROP;
#64.129.66.35
iptables -A INPUT -p tcp --dport 25 -s 64.129.66.35 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 64.129.66.35 -j DROP;
#69.30.242.56
iptables -A INPUT -p tcp --dport 25 -s 69.30.242.56 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 69.30.242.56 -j DROP;
#204.15.230.112
iptables -A INPUT -p tcp --dport 25 -s 204.15.230.112 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 204.15.230.112 -j DROP;
#66.220.11.85
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.85 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.11.85 -j DROP;
#66.220.26.132
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.132 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.220.26.132 -j DROP;
#69.30.242.55
iptables -A INPUT -p tcp --dport 25 -s 69.30.242.55 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 69.30.242.55 -j DROP;
#68.235.233.186
iptables -A INPUT -p tcp --dport 25 -s 68.235.233.186 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 68.235.233.186 -j DROP;
# 69.255.21.62
iptables -A INPUT -p tcp --dport 25 -s 69.255.21.62 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 69.255.21.62 -j DROP;
# 68.44.120.32
iptables -A INPUT -p tcp --dport 25 -s 68.44.120.32 -j LOG --log-level debug --log-prefix "as_US-MORON-comcast-pa: ";
iptables -A INPUT -p tcp --dport 25 -s 68.44.120.32 -j DROP;
# 71.36.23.208
iptables -A INPUT -p tcp --dport 25 -s 71.36.23.208 -j LOG --log-level debug --log-prefix "as_US-MORON-qwest-co: ";
iptables -A INPUT -p tcp --dport 25 -s 71.36.23.208 -j DROP;
# 72.161.73.206
iptables -A INPUT -p tcp --dport 25 -s 72.161.73.206 -j LOG --log-level debug --log-prefix "as_US-MORON-centtel-la: ";
iptables -A INPUT -p tcp --dport 25 -s 72.161.73.206 -j DROP;
# 64.127.125.134
iptables -A INPUT -p tcp --dport 25 -s 64.127.125.134 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 64.127.125.134 -j DROP;
# 64.175.175.165
iptables -A INPUT -p tcp --dport 25 -s 64.175.175.165 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 64.175.175.165 -j DROP;
# 66.235.218.125
iptables -A INPUT -p tcp --dport 25 -s 66.235.218.125 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 66.235.218.125 -j DROP;
# 207.217.125.16
iptables -A INPUT -p tcp --dport 25 -s 207.217.125.16 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 207.217.125.16 -j DROP;
# 72.20.4.146
iptables -A INPUT -p tcp --dport 25 -s 72.20.4.146 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -s 72.20.4.146 -j DROP;
#############################################################################
########################## US Netblocks That Spew SPAM ######################
# Netname: CARI-4
# California Regional Internet, Inc. 8929A COMPLEX DRIVE SAN DIEGO CA 92123 US
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 216.75.0.0-216.75.31.255 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 216.75.0.0-216.75.31.255 -j DROP;
# Netname: EchoLabs 2465 Centerville Road Number J17-209 Herndon VA 20171
# 216.52.118.192-216.52.118.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 216.52.118.192-216.52.118.255 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 216.52.118.192-216.52.118.255 -j DROP;
# 158.59.0.0-158.59.255.255
# Netname: ARL-COUNTY
# Arlington County Government ACG-9 2100 Clarendon Blvd., Suite 612 Arlington VA, US
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 158.59.0.0-158.59.255.255 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 158.59.0.0-158.59.255.255 -j DROP;
# Netname: 66.51.192.0-66.51.223.255 CIDR: 66.51.192.0/19 DSLEXTREME-NWK-1
# DSL Extreme DSLE 20847 Sherman Way 5b. Org Address: Suite 300 Winnetka CA 91306 US
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 66.51.192.0-66.51.223.255 -j LOG --log-level debug --log-prefix "as_DSLEXTREME-NWK-1-us: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 66.51.192.0-66.51.223.255 -j DROP;
# 65.184.0.0-65.191.255.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 65.184.0.0-65.191.255.255 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 65.184.0.0-65.191.255.255 -j DROP;
# 205.152.0.0-205.152.255.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 205.152.0.0-205.152.255.255 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 205.152.0.0-205.152.255.255 -j DROP;
# 129.107.0.0-129.107.255.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 129.107.0.0-129.107.255.255 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 129.107.0.0-129.107.255.255 -j DROP;
# 72.176.0.0-72.186.95.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 72.176.0.0-72.186.95.255 -j LOG --log-level debug --log-prefix "as_US-MORON: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 72.176.0.0-72.186.95.255 -j DROP;
# 68.208.0.0-68.223.255.255 BELLSNET-BLK15
# BellSouth.net Inc. 575 Morosgo Drive Atlanta GA
#iptables -A INPUT -m iprange --src-range 68.208.0.0-68.223.255.255 -j LOG --log-level debug --log-prefix "as_BELLSNET-BLK15-us: ";
#iptables -A INPUT -m iprange --src-range 68.208.0.0-68.223.255.255 -j DROP;
# Netname: SRVN
# MailGravity 244 Fifth Ave. Suite L209 New York NY 10001 US
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 216.22.33.0-216.22.33.255 -j LOG --log-level debug --log-prefix "as_US-MORON-SRVN: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 216.22.33.0-216.22.33.255 -j DROP;
# 130.94.6.192-130.94.6.223
# Verio Data Centers - San Francisco
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 130.94.6.192-130.94.6.223 -j LOG --log-level debug --log-prefix "as_US-MORON-VERIO: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 130.94.6.192-130.94.6.223 -j DROP;
# 209.213.192.0-209.213.223.255
# YIPES-BLK1
# Yipes Communications, Inc. YIPS 114 Sansome Street San Francisco CA
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 209.213.192.0-209.213.223.255 -j LOG --log-level debug --log-prefix "as_YIPES-BLK1-us: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 209.213.192.0-209.213.223.255 -j DROP;
#####################################################################################
############################## UUNET TECHNOLOGIES ###################################
#####################################################################################
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 199.170.0.0-199.173.255.255 -j LOG --log-level debug --log-prefix "as_UUNET: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 199.170.0.0-199.173.255.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 63.64.0.0-63.127.255.255 -j LOG --log-level debug --log-prefix "as_UUNET: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 63.64.0.0-63.127.255.255 -j DROP;
#####################################################################################
#####################################################################################
# 69.44.0.0 - 69.45.255.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 69.44.0.0-69.45.255.255 -j LOG --log-level debug --log-prefix "as_DULLES: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 69.44.0.0-69.45.255.255 -j DROP;
# 69.44.152.0 - 69.44.159.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 69.44.152.0-69.44.159.255 -j LOG --log-level debug --log-prefix "as_SERVERBEACH: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 69.44.152.0-69.44.159.255 -j DROP;
#######################################################################################
##################### THE ROAD RUNNER NETWORK IN THE US ###############################
#######################################################################################
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 65.32.0.0-65.34.15.255 -j LOG --log-level debug --log-prefix "as_RoadRunner: "
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 65.32.0.0-65.34.15.255 -j DROP;
#iptables -A INPUT -m iprange --src-range -j LOG --log-level debug --log-prefix "as_RoadRunner: "
#iptables -A INPUT -m iprange --src-range -j DROP;
############################### canada #############################
# Netname: UNIVER-122
# University of Manitoba - Winnipeg, MB - CA
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 130.179.0.0-130.179.255.255 -j LOG --log-level debug --log-prefix "asshole_UNIVER-122-ca: "
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 130.179.0.0-130.179.255.255 -j DROP;
# Netname: SHAWC-1
# Shaw Communications Inc. - Calgary, AB
#iptables -A INPUT -m iprange --src-range 64.59.128.0-64.59.191.255 -j LOG --log-level debug --log-prefix "as_SHAWC-1-ca: "
#iptables -A INPUT -m iprange --src-range 64.59.128.0-64.59.191.255 -j DROP;
########################################################################################
################################ THE ASSHOLE SECTION: ##################################
################# IF YOU'VE MADE IT HERE YOU MUST BE AN ASSHOLE ########################
####################### WITH FAR TOO MUCH TIME ON YOUR HANDS ###########################
########################################################################################
iptables -A INPUT -s 216.179.125.69 -j LOG --log-prefix "asshole: ";
iptables -A INPUT -s 216.179.125.69 -j DROP;
iptables -A INPUT -s 216.17.51.201 -j LOG --log-level debug --log-prefix "asshole: ";
iptables -A INPUT -s 216.17.51.201 -j DROP;
iptables -A INPUT -s 69.152.151.222 -j LOG --log-level debug --log-prefix "asshole: ";
iptables -A INPUT -s 69.152.151.222 -j DROP;
iptables -A INPUT -s 66.151.128.13 -j LOG --log-level debug --log-prefix "asshole: ";
iptables -A INPUT -s 66.151.128.13 -j DROP;
iptables -A INPUT -s 209.77.56.46 -j LOG --log-level debug --log-prefix "asshole: ";
iptables -A INPUT -s 209.77.56.46 -j DROP;
iptables -A INPUT -s 24.218.44.187 -j LOG --log-level debug --log-prefix "asshole: ";
iptables -A INPUT -s 24.218.44.187 -j DROP;
iptables -A INPUT -s 206.228.93.25 -j LOG --log-level debug --log-prefix "asshole: ";
iptables -A INPUT -s 206.228.93.25 -j DROP;
# 66.221.167.1
iptables -A INPUT -s 66.221.167.1 -j LOG --log-level debug --log-prefix "asshole: ";
iptables -A INPUT -s 66.221.167.1 -j DROP;
# 207.154.23.130
iptables -A INPUT -s 207.154.23.130 -j LOG --log-level debug --log-prefix "asshole: ";
iptables -A INPUT -s 207.154.23.130 -j DROP;
# Server Beach -- more compromised machine's than you can shake a stick at!
# 64.34.160.0-64.34.191.255
iptables -A INPUT -m iprange --src-range 64.34.160.0-64.34.191.255 -j LOG --log-level debug --log-prefix "asshole_ServerBeach-US: "
iptables -A INPUT -m iprange --src-range 64.34.160.0-64.34.191.255 -j DROP;
# 216.22.0.0-216.22.63.255: 216.22.56.5
iptables -A INPUT -m iprange --src-range 216.22.0.0-216.22.63.255 -j LOG --log-level debug --log-prefix "asshole_ServerBeach-US: "
iptables -A INPUT -m iprange --src-range 216.22.0.0-216.22.63.255 -j DROP;
# 66.221.0.0-66.221.255.255: 66.221.227.98
iptables -A INPUT -m iprange --src-range 66.221.0.0-66.221.255.255 -j LOG --log-level debug --log-prefix "asshole_ServerBeach-US: "
iptables -A INPUT -m iprange --src-range 66.221.0.0-66.221.255.255 -j DROP;
# 66.101.58.150
iptables -A INPUT -s 66.101.58.150 -j LOG --log-level debug --log-prefix "asshole: ";
iptables -A INPUT -s 66.101.58.150 -j DROP;
# 4.253.15.151
iptables -A INPUT -s 4.253.15.151 -j LOG --log-level debug --log-prefix "asshole: ";
iptables -A INPUT -s 4.253.15.151 -j DROP;
# 63.135.230.220
iptables -A INPUT -s 63.135.230.220 -j LOG --log-level debug --log-prefix "asshole: ";
iptables -A INPUT -s 63.135.230.220 -j DROP;
# 72.22.74.89
iptables -A INPUT -s 63.135.230.220 -j LOG --log-level debug --log-prefix "asshole: ";
iptables -A INPUT -s 63.135.230.220 -j DROP;
# 209.11.243.131
iptables -A INPUT -s 209.11.243.131 -j LOG --log-level debug --log-prefix "asshole: ";
iptables -A INPUT -s 209.11.243.131 -j DROP;
########################################################################################
########################## REAL BAD ASSHOLES| BREACH ATTEMPTS ##########################
############################ ALL ACCESS BLOCKED COMPLETELY #############################
########################################################################################
# Netname: NETBLK-THEPLANET-BLK-13
# ThePlanet.com Internet Services, Inc. TPCM 1333 North Stemmons Freeway Suite 110 Dallas TX 75207 US
#iptables -A INPUT -m iprange --src-range 70.84.0.0-70.87.255.255 -j LOG --log-level debug --log-prefix "asshole_BREACH-ATTEMPTS-US: "
#iptables -A INPUT -m iprange --src-range 70.84.0.0-70.87.255.255 -j DROP;
iptables -A INPUT -p udp --dport 10000:65000 -m iprange --src-range 70.84.0.0-70.87.255.255 -j LOG --log-level debug --log-prefix "asshole_BREACH-ATTEMPTS-US: "
iptables -A INPUT -p udp --dport 10000:65000 -m iprange --src-range 70.84.0.0-70.87.255.255 -j DROP;
iptables -A INPUT -p tcp --dport 80:65000 -m iprange --src-range 70.84.0.0-70.87.255.255 -j LOG --log-level debug --log-prefix "asshole_BREACH-ATTEMPTS-US: "
iptables -A INPUT -p tcp --dport 80:65000 -m iprange --src-range 70.84.0.0-70.87.255.255 -j DROP;
iptables -A INPUT -p tcp --dport 20:23 -m iprange --src-range 70.84.0.0-70.87.255.255 -j LOG --log-level debug --log-prefix "asshole_BREACH-ATTEMPTS-US: "
iptables -A INPUT -p tcp --dport 20:23 -m iprange --src-range 70.84.0.0-70.87.255.255 -j DROP;
###############################################################################
##################### SPECIAL US ASSHOLE SPAMMER NETWORKS #####################
###############################################################################
# Netname: BTN-CIDR5
# Beyond The Network America, Inc. BNA-42 Reston Executive Center 12100 Sunset Hills Road, Suite 300 Reston, VA 20190 US
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 63.216.0.0-63.223.255.255 -j LOG --log-level debug --log-prefix "asshole_networks-US: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 63.216.0.0-63.223.255.255 -j DROP;
# Netname: WESTHOST-NOC
# WestHost, Inc. WESTHO 164 N Spring Creek Pkwy Providence UT 84332 US
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 69.36.160.0-69.36.191.255 -j LOG --log-level debug --log-prefix "asshole_networks-US: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 69.36.160.0-69.36.191.255 -j DROP;
# Netname:
# California Regional Intranet, Inc. CALI 8929A COMPLEX DRIVE SAN DIEGO CA 92123 US
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 209.126.128.0-209.126.255.255 -j LOG --log-level debug --log-prefix "asshole_networks-US: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 209.126.128.0-209.126.255.255 -j DROP;
# Netname: 204.10.36.0-204.10.39.255 NDCH
# Network Data Center Host, Inc. 24843 Del Prado 205 Dana Point CA 92629 US
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 204.10.36.0-204.10.39.255 -j LOG --log-level debug --log-prefix "asshole_networks-US: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 204.10.36.0-204.10.39.255 -j DROP;
#iptables -A INPUT -m iprange --src-range -j LOG --log-level debug --log-prefix "asshole_networks-US: ";
#iptables -A INPUT -m iprange --src-range -j DROP;
# Netname: INJU-MAINSTREAM
# Feinstein, Eric +1-813-855-7793 efeinstein@ij.net, United States
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 209.216.65.0-209.216.65.31 -j LOG --log-level debug --log-prefix "asshole_networks-US: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 209.216.65.0-209.216.65.31 -j DROP;
###############################################################################
###############################################################################
#####################################################################
########################### RIPE NETWORK ###########################
#####################################################################
# Netname: RIPE all blocks assigned to APNIC
# iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 80.0.0.0-80.255.255.255 -j LOG --log-level debug --log-prefix "APNIC: ";
# iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 80.0.0.0-80.255.255.255 -j DROP;
############################ Denmark ###############################
# 80.164.64.0-80.164.127.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 80.164.64.0-80.164.127.255 -j LOG --log-level debug --log-prefix "RIPE-DK: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 80.164.64.0-80.164.127.255 -j DROP;
############################ Estonia ###############################
# 84.50.1.0-84.50.1.255 EE-ESTPAK
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.50.1.0-84.50.1.255 -j LOG --log-level debug --log-prefix "RIPE-EE: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.50.1.0-84.50.1.255 -j DROP;
############################# Israel ###############################
# 80.178.0.0-80.178.11.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 80.178.0.0-80.178.11.255 -j LOG --log-level debug --log-prefix "RIPE-il: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 80.178.0.0-80.178.11.255 -j DROP;
# 85.250.128.0-85.250.255.255 BB-PT
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.250.128.0-85.250.255.255 -j LOG --log-level debug --log-prefix "RIPE-il: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.250.128.0-85.250.255.255 -j DROP;
# 80.200.144.0-80.200.159.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 80.200.144.0-80.200.159.255 -j LOG --log-level debug --log-prefix "RIPE-be: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 80.200.144.0-80.200.159.255 -j DROP;
#
# iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 81.0.0.0-81.255.255.255 -j LOG --log-level debug --log-prefix "APNIC: ";
# iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 81.0.0.0-81.255.255.255 -j DROP;
# 81.154.0.0-81.157.255.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 81.154.0.0-81.157.255.255 -j LOG --log-level debug --log-prefix "RIPE-gb: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 81.154.0.0-81.157.255.255 -j DROP;
#
# iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.0.0.0-82.255.255.255 -j LOG --log-level debug --log-prefix "APNIC: ";
# iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.0.0.0-82.255.255.255 -j DROP;
# 82.114.184.0-82.114.191.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.114.184.0-82.114.191.255 -j LOG --log-level debug --log-prefix "RIPE-ye: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.114.184.0-82.114.191.255 -j DROP;
# 82.192.44.0-82.192.44.127
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.192.44.0-82.192.44.127 -j LOG --log-level debug --log-prefix "TELEMACH-NET-sl: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.192.44.0-82.192.44.127 -j DROP;
#
# iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.0.0.0-83.255.255.255 -j LOG --log-level debug --log-prefix "APNIC: ";
# iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.0.0.0-83.255.255.255 -j DROP;
#
# iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.0.0.0-84.255.255.255 -j LOG --log-level debug --log-prefix "APNIC: ";
# iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.0.0.0-84.255.255.255 -j DROP;
# 83.247.76.0-83.247.79.255 SOLCON INFRA-AW Solcon Dsl Versatel NL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.247.76.0-83.247.79.255 -j LOG --log-level debug --log-prefix "RIPE-SOLCON-nl: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.247.76.0-83.247.79.255 -j DROP;
# 84.94.12.0-84.94.23.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.94.12.0-84.94.23.255 -j LOG --log-level debug --log-prefix "RIPE-il: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.94.12.0-84.94.23.255 -j DROP;
# 147.236.0.0-147.236.255.255 ISRAEL-LCL-NET
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 147.236.0.0-147.236.255.255 -j LOG --log-level debug --log-prefix "RIPE-il: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 147.236.0.0-147.236.255.255 -j DROP;
# 88.154.85.0-88.154.169.255 ADSL-CUSTOMER-CONNECTION
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.154.85.0-88.154.169.255 -j LOG --log-level debug --log-prefix "RIPE-il: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.154.85.0-88.154.169.255 -j DROP;
# 88.154.170.0-88.154.255.255 ADSL-CUSTOMER-CONNECTION
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.154.170.0-88.154.255.255 -j LOG --log-level debug --log-prefix "RIPE-il: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.154.170.0-88.154.255.255 -j DROP;
# 88.155.170.0-88.155.255.255 ADSL-CUSTOMER-CONNECTION
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.155.170.0-88.155.255.255 -j LOG --log-level debug --log-prefix "RIPE-il: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.155.170.0-88.155.255.255 -j DROP;
# iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.0.0.0-85.255.255.255 -j LOG --log-level debug --log-prefix "APNIC: ";
# iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.0.0.0-85.255.255.255 -j DROP;
# 85.91.128.0-85.91.140.255 DATABG Data BG Infrastructure BG
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.91.128.0-85.91.140.255 -j LOG --log-level debug --log-prefix "RIPE-bg: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.91.128.0-85.91.140.255 -j DROP;
# 85.101.0.0-85.101.127.255 TurkTelekom Turk Telekom ADSL-200K_2 tr
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.101.0.0-85.101.127.255 -j LOG --log-level debug --log-prefix "RIPE-tk: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.101.0.0-85.101.127.255 -j DROP;
# 85.135.160.0-85.135.175.255 SLOVANET-ADSL-FLAT ISP Slovanet ADSL pool SK
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.135.160.0-85.135.175.255 -j LOG --log-level debug --log-prefix "RIPE-sk: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.135.160.0-85.135.175.255 -j DROP;
#
# iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 86.0.0.0-86.255.255.255 -j LOG --log-level debug --log-prefix "APNIC: ";
# iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 86.0.0.0-86.255.255.255 -j DROP;
#
# 87.118.64.0-87.118.127.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 87.118.64.0-87.118.127.255 -j LOG --log-level debug --log-prefix "RIPE: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 87.118.64.0-87.118.127.255 -j DROP;
# iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 87.0.0.0-87.255.255.255 -j LOG --log-level debug --log-prefix "APNIC: ";
# iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 87.0.0.0-87.255.255.255 -j DROP;
#
# iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.0.0.0-88.255.255.255 -j LOG --log-level debug --log-prefix "APNIC: ";
# iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.0.0.0-88.255.255.255 -j DROP;
# 88.233.0.0-88.233.255.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.233.0.0-88.233.255.255 -j LOG --log-level debug --log-prefix "RIPE-tr: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.233.0.0-88.233.255.255 -j DROP;
# iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 89.0.0.0-89.255.255.255 -j LOG --log-level debug --log-prefix "APNIC: ";
# iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 89.0.0.0-89.255.255.255 -j DROP;
#
# iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 90.0.0.0-90.255.255.255 -j LOG --log-level debug --log-prefix "APNIC: ";
# iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 90.0.0.0-90.255.255.255 -j DROP;
#
# iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 91.0.0.0-91.255.255.255 -j LOG --log-level debug --log-prefix "APNIC: ";
# iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 91.0.0.0-91.255.255.255 -j DROP;
# 81.19.32.0-81.19.35.255 CDT-CZ-NET
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 81.19.32.0-81.19.35.255 -j LOG --log-level debug --log-prefix "RIPE-cz: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 81.19.32.0-81.19.35.255 -j DROP;
# 82.100.50.0-82.100.51.255 GRAPESC-NET
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.100.50.0-82.100.51.255 -j LOG --log-level debug --log-prefix "RIPE-cz: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.100.50.0-82.100.51.255 -j DROP;
# 85.70.171.0-85.70.171.255 NEXTEL-XDSL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.70.171.0-85.70.171.255 -j LOG --log-level debug --log-prefix "RIPE-cz: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.70.171.0-85.70.171.255 -j DROP;
# 193.165.6.0-193.165.6.255
# SKYNET-ADSL SkyNet aDSL customers CZ
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 193.165.6.0-193.165.6.255 -j LOG --log-level debug --log-prefix "RIPE-cz: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 193.165.6.0-193.165.6.255 -j DROP;
# 194.108.48.160-194.108.48.255 ERKOR-CZ
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 194.108.48.160-194.108.48.255 -j LOG --log-level debug --log-prefix "RIPE-cz: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 194.108.48.160-194.108.48.255 -j DROP;
# 194.212.0.0-194.212.255.255 CZ-GTS-19951214
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 194.212.0.0-194.212.255.255 -j LOG --log-level debug --log-prefix "RIPE-cz: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 194.212.0.0-194.212.255.255 -j DROP;
# 217.168.208.0-217.168.215.255 TRIONET-CZ
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 217.168.208.0-217.168.215.255 -j LOG --log-level debug --log-prefix "RIPE-cz: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 217.168.208.0-217.168.215.255 -j DROP;
# 212.38.69.0-212.38.69.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 212.38.69.0-212.38.69.255 -j LOG --log-level debug --log-prefix "RIPE-gb: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 212.38.69.0-212.38.69.255 -j DROP;
# 217.17.249.0-217.17.249.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 217.17.249.0-217.17.249.255 -j LOG --log-level debug --log-prefix "RIPE-bh: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 217.17.249.0-217.17.249.255 -j DROP;
# -------------------------------------------------------------------------------------------------------
# ------------------------------------------------ Russia -----------------------------------------------
# -------------------------------------------------------------------------------------------------------
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 194.67.0.0-194.67.255.255 -j LOG --log-level debug --log-prefix "RIPE-Russia: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 194.67.0.0-194.67.255.255 -j DROP;
# 194.108.48.128-194.108.48.159 ERKOR-CZ ERKOR, spol. s r. o. Hradec Kralove Ostrava area CZ
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 194.108.48.128-194.108.48.159 -j LOG --log-level debug --log-prefix "RIPE-ERKOR-CZ: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 194.108.48.128-194.108.48.159 -j DROP;
# iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 212.0.0.0-212.255.255.255 -j LOG --log-level debug --log-prefix "APNIC: ";
# iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 212.0.0.0-212.255.255.255 -j DROP;
#____________________________________________________________________
# Place all the miscreant spammer networks here. We're blocking them
# by netblock and country.
# If the packets are coming from China, Russia, Taiwan, Japan, Korea
# or any other Asian country we don't want'em. Just drop da shit!
#####################################################################
############################## ASIA #################################
#####################################################################
#####################################################################
########################### APNIC NETWORK ###########################
#####################################################################
# Netname: APNIC all blocks assigned to APNIC
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 58.0.0.0-58.255.255.255 -j LOG --log-level debug --log-prefix "APNIC: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 58.0.0.0-58.255.255.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 59.0.0.0-59.255.255.255 -j LOG --log-level debug --log-prefix "APNIC: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 59.0.0.0-59.255.255.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 60.0.0.0-60.255.255.255 -j LOG --log-level debug --log-prefix "APNIC: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 60.0.0.0-60.255.255.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 61.0.0.0-61.255.255.255 -j LOG --log-level debug --log-prefix "APNIC: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 61.0.0.0-61.255.255.255 -j DROP;
# 124.80.64.0-124.80.79.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 124.80.64.0-124.80.79.255 -j LOG --log-level debug --log-prefix "APNIC-kr: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 124.80.64.0-124.80.79.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 124.96.0.0-124.103.255.255 -j LOG --log-level debug --log-prefix "APNIC: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 124.96.0.0-124.103.255.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 125.0.0.0-125.255.255.255 -j LOG --log-level debug --log-prefix "APNIC: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 125.0.0.0-125.255.255.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 140.109.0.0-140.138.255.255 -j LOG --log-level debug --log-prefix "APNIC: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 140.109.0.0-140.138.255.255 -j DROP;
# 202.114.32.0-202.114.47.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 202.114.32.0-202.114.47.255 -j LOG --log-level debug --log-prefix "APNIC: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 202.114.32.0-202.114.47.255 -j DROP;
# 203.82.192.0-203.82.207.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 203.82.192.0-203.82.207.255 -j LOG --log-level debug --log-prefix "APNIC: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 203.82.192.0-203.82.207.255 -j DROP;
#iptables -A INPUT -p tcp --dport 25 -p tcp --dport 20:25 -m iprange --src-range 202.0.0.0-203.255.255.255 -j LOG --log-level debug --log-prefix "APNIC: ";
#iptables -A INPUT -p tcp --dport 25 -p tcp --dport 20:25 -m iprange --src-range 202.0.0.0-203.255.255.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 210.0.0.0-211.255.255.255 -j LOG --log-level debug --log-prefix "APNIC: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 210.0.0.0-211.255.255.255 -j DROP;
#iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 218.0.0.0-218.255.255.255 -j LOG --log-level debug --log-prefix "APNIC: ";
#iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 218.0.0.0-218.255.255.255 -j DROP;
# 218.87.0.0-218.87.255.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 218.87.0.0-218.87.255.255 -j LOG --log-level debug --log-prefix "APNIC-ch: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 218.87.0.0-218.87.255.255 -j DROP;
# 218.150.153.0-218.150.153.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 218.150.153.0-218.150.153.255 -j LOG --log-level debug --log-prefix "APNIC-kr: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 218.150.153.0-218.150.153.255 -j DROP;
# 218.160.0.0-218.175.255.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 218.160.0.0-218.175.255.255 -j LOG --log-level debug --log-prefix "APNIC_HINET-tw: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 218.160.0.0-218.175.255.255 -j DROP;
# 218.184.0.0/18
iptables -A INPUT -p tcp --dport 25 -s 218.184.0.0/18 -j LOG --log-level debug --log-prefix "APNIC_ETWEBS-NET-tw: ";
iptables -A INPUT -p tcp --dport 25 -s 218.184.0.0/18 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 219.0.0.0-219.255.255.255 -j LOG --log-level debug --log-prefix "APNIC: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 219.0.0.0-219.255.255.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 220.0.0.0-220.255.255.255 -j LOG --log-level debug --log-prefix "APNIC: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 220.0.0.0-220.255.255.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 221.0.0.0-221.255.255.255 -j LOG --log-level debug --log-prefix "APNIC: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 221.0.0.0-221.255.255.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 222.0.0.0-222.255.255.255 -j LOG --log-level debug --log-prefix "APNIC: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 222.0.0.0-222.255.255.255 -j DROP;
############################### CHINA ###############################
############### Asia Pacific [China] Class C networks ###############
############################## HONG KONG #############################
############################### taiwan ################################
############################## KOREA #################################
#########################################################################
########################### ASIA WEST #################################
#########################################################################
############################# Turkey #############################
# 82.151.156.0-82.151.159.255 DORUK-SD-NET DorukNet SD Block TR
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.151.156.0-82.151.159.255 -j LOG --log-level debug --log-prefix "as_DORUK-SD-NET-tr: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.151.156.0-82.151.159.255 -j DROP;
# Netname: TurkTelekom
# TurkTelekom - ADSL-ALC-Acibadem-Dynamic Pool
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.97.72.0-85.97.87.255 -j LOG --log-level debug --log-prefix "as_TurkTelekom-tr: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.97.72.0-85.97.87.255 -j DROP;
# 85.107.0.0-85.107.127.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.107.0.0-85.107.127.255 -j LOG --log-level debug --log-prefix "as_TurkTelekom-tr: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.107.0.0-85.107.127.255 -j DROP;
# 88.229.0.0-88.229.127.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.229.0.0-88.229.127.255 -j LOG --log-level debug --log-prefix "as_TurkTelekom-tr: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.229.0.0-88.229.127.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.96.112.0-85.96.113.255 -j LOG --log-level debug --log-prefix "as_TurkTelekom-tr: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.96.112.0-85.96.113.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.104.128.0-85.104.255.255 -j LOG --log-level debug --log-prefix "as_TurkTelekom-tr: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.104.128.0-85.104.255.255 -j DROP;
# 88.241.128.0-88.241.255.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.241.128.0-88.241.255.255 -j LOG --log-level debug --log-prefix "as_TurkTelekom-tr: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.241.128.0-88.241.255.255 -j DROP;
#########################################################################
########################## ASIA PACIFIC #################################
#########################################################################
############################## tailand ############################
############################ australia ##################################
# ----------------------------------------------------------------------
# the following rule could be troublesome for some folks on the OT list
# that are actually in Australia. Not sure if anyone on the list on the
# this network.
# -----------------------------------------------------------------------
# Netname: TELSTRAINTERNET40-AU
# Canberra, Au.
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 60.224.0.0-60.231.255.255 -j LOG --log-level debug --log-prefix "as_Canberra-au: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 60.224.0.0-60.231.255.255 -j DROP;
# Netname: TELSTRAINTERNET29-AU
# Canberra, Au.
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 144.136.0.0-144.136.255.255 -j LOG --log-level debug --log-prefix "as_Canberra-au: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 144.136.0.0-144.136.255.255 -j DROP;
# 202.6.248.0-202.6.251.255 SPIDERWEB
# SPIDERWEB, INTERNET SERVICE PROVIDER, COOLOOLA, AUSTRALIA AU
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 202.6.248.0-202.6.251.255 -j LOG --log-level debug --log-prefix "as_SPIDERWEB-au: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 202.6.248.0-202.6.251.255 -j DROP;
############################# Sinapore ##################################
############################### Malaysia ################################
####################### Philines ######################
######################## Japan ########################
########################### india #####################
# 124.124.0.0-124.125.255.255 RelianceInfocomm Reliance Infocomm Limited, Dhirubai Ambani Knowledge City, Thane Belapur Road, KoparKhairne,Navi Mumbai - 400710 , INDIA. IN
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 124.124.0.0-124.125.255.255 -j LOG --log-level debug --log-prefix "as_ReliInfocomm-in: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 124.124.0.0-124.125.255.255 -j DROP;
# 218.176.0.0-218.183.255.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 218.176.0.0-218.183.255.255 -j LOG --log-level debug --log-prefix "as_BBTECH-jp: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 218.176.0.0-218.183.255.255 -j DROP;
####################### Pakistan ######################
#########################################################################
############################### AFRICA ##################################
#########################################################################
############################# Palastine #############################
# 82.205.0.0-82.205.127.255 ORG-PCL3-RIPE PS-PALNET-20031105 Palnet Communications Ltd. PS
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.205.0.0-82.205.127.255 -j LOG --log-level debug --log-prefix "as_ORG-PCL3-RIPE-ps: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.205.0.0-82.205.127.255 -j DROP;
############################### Libya ###############################
# 82.205.232.0-82.205.232.255 ALRIYADHA Assignment for Al Riyadha Internet Libya ly
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.205.232.0-82.205.232.255 -j LOG --log-level debug --log-prefix "as_ALRIYADHA-ly: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.205.232.0-82.205.232.255 -j DROP;
############################ south africa ###############################
# Netname: TELKOMNET-B4
# Telkom SA Limited - Pretoria ZA (South Africa)
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 165.146.0.0-165.146.255.255 -j LOG --log-level debug --log-prefix "as_TELKOMNET-B4-za: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 165.146.0.0-165.146.255.255 -j DROP;
# 89.4.0.0-89.4.63.255
# Netname: NESMA ADMIN RIPE
# National Engineering Services and Marketing Company Ltd. NESMA - Internet Services P.O. Box 300940, Riyadh 11372 - KSA
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 89.4.0.0-89.4.63.255 -j LOG --log-level debug --log-prefix "as_NESMA-sa: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 89.4.0.0-89.4.63.255 -j DROP;
#################### africa proper ######################################
# Netname: 196.206.0.0-196.206.255.255 ORG-AFNC1-RIPE AFRINIC-NET-TRANSFERRED-20050223
# IAM ADSL subscriber - Rabat and north morocoo MA (Morocco)
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 196.206.0.0-196.206.255.255 -j LOG --log-level debug --log-prefix "as_ORG-AFNC1-RIPE-ma: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 196.206.0.0-196.206.255.255 -j DROP;
# Netname: AFRINIC-NET-TRANSFERRED-20050223
# ORG-AFNC1-RIPE
# 82.151.64.0-82.151.95.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.151.64.0-82.151.95.255 -j LOG --log-level debug --log-prefix "as_AFRINIC-NET-af: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.151.64.0-82.151.95.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 196.201.64.0-196.201.95.255 -j LOG --log-level debug --log-prefix "as_AFRINIC-NET-af: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 196.201.64.0-196.201.95.255 -j DROP;
# Netname: Bloom-Business-Bereau
# Lagos, Nigeria
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 217.194.157.160-217.194.157.167 -j LOG --log-level debug --log-prefix "as_lagos_ng: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 217.194.157.160-217.194.157.167 -j DROP;
#########################################################################
######################### SOUTH AMERICA & MEXICO #######################
#########################################################################
##################### mexico ######################
# Netname: Reasignacion UniNet
# Mexico
iptables -A INPUT -p tcp --dport 25 -s 200.67.239.0/24 -j LOG --log-level debug --log-prefix "as_UniNet_mx: ";
iptables -A INPUT -p tcp --dport 25 -s 200.67.239.0/24 -j DROP;
#200.57.198/24
# AVANTEL MX-AVAN4-LACNIC INSURGENTES ESQ. FRAY SERVANDO CULIACAN, SL 80000 MX
iptables -A INPUT -p tcp --dport 25 -s 200.57.198.0/24 -j LOG --log-level debug --log-prefix "as_AVANTEL_mx: ";
iptables -A INPUT -p tcp --dport 25 -s 200.57.198.0/24 -j DROP;
# Netname: MX-REUN-LACNIC
# Reasignacion UniNet - Periferico Sur, Mexico
iptables -A INPUT -p tcp --dport 25 -s 201.128.226.0/24 -j LOG --log-level debug --log-prefix "as_MX-REUN-LACNIC_mx: ";
iptables -A INPUT -p tcp --dport 25 -s 201.128.226.0/24 -j DROP;
# 201.152.0.0/14
iptables -A INPUT -p tcp --dport 25 -s 201.152.0.0/14 -j LOG --log-level debug --log-prefix "as_MX-USCV4-LACNIC_mx: ";
iptables -A INPUT -p tcp --dport 25 -s 201.152.0.0/14 -j DROP;
# 189.128.0.0/11
iptables -A INPUT -p tcp --dport 25 -s 189.128.0.0/11 -j LOG --log-level debug --log-prefix "as_MX-USCV4-LACNIC_mx: ";
iptables -A INPUT -p tcp --dport 25 -s 189.128.0.0/11 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 148.228.0.0/16 -j LOG --log-level debug --log-prefix "ssh-block_MX-REUN-LACNIC_mx: ";
iptables -A INPUT -p tcp --dport 25 -s 148.228.0.0/16 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 200.25.176.0/20 -j LOG --log-level debug --log-prefix "ssh-block_MX-REUN-LACNIC_mx: ";
iptables -A INPUT -p tcp --dport 25 -s 200.25.176.0/20 -j DROP;
# Netname: MX-TNSC1-LACNIC
# Luis Rodolfo Nevarez Garcia - Pio Pico, 2101, 22000 - Tijuana - BC MX
iptables -A INPUT -p tcp --dport 25 -s 200.79.128.0/19 -j LOG --log-level debug --log-prefix "as_MX-TNSC1-LACNIC_mx: ";
iptables -A INPUT -p tcp --dport 25 -s 200.79.128.0/19 -j DROP;
################### argentina #####################
# Netname: AR-BSAB-LACNIC 200.112.128.0-200.112.159.255
# Broadbandtech S. A. Fernando G. Escobar Olga Cossenttini, 731, Piso 3 C1107VBA - Buenos Aires - AR
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 200.112.128.0-200.112.159.255 -j LOG --log-level debug --log-prefix "as_AR-BSAB-LACNIC-ar: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 200.112.128.0-200.112.159.255 -j DROP;
# 190.49.0.0/16
iptables -A INPUT -p tcp --dport 25 -s 190.49.0.0/16 -j LOG --log-level debug --log-prefix "as_LACNIC_ar: ";
iptables -A INPUT -p tcp --dport 25 -s 190.49.0.0/16 -j DROP;
# 190.48.0.0/16
iptables -A INPUT -p tcp --dport 25 -s 190.48.0.0/16 -j LOG --log-level debug --log-prefix "as_LACNIC_ar: ";
iptables -A INPUT -p tcp --dport 25 -s 190.48.0.0/16 -j DROP;
# Netname: AR-CASA10-LACNIC 24.232.0.00-24.232.255.255
# CABLEVISION S.A. - Munro - BA, Argentina
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 24.232.0.00-24.232.255.255 -j LOG --log-level debug --log-prefix "as_AR-BSAB-LACNIC-ar: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 24.232.0.00-24.232.255.255 -j DROP;
# 201.235.0.0-201.235.127.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 201.235.0.0-201.235.127.255 -j LOG --log-level debug --log-prefix "as_AR-BSAB-LACNIC-ar: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 201.235.0.0-201.235.127.255 -j DROP;
# 200.42.0.0-200.42.127.255 Prima S.A. AR-PRSA-LACNIC
# Miguel Fernandez La Rioja, 301, C1214ADG - Buenos Aires - AR
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 200.42.0.0-200.42.127.255 -j LOG --log-level debug --log-prefix "as_AR-PRSA-LACNIC-ar: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 200.42.0.0-200.42.127.255 -j DROP;
# Netname: AR-MTSR-LACNIC 200.59.128.0-200.59.159.255
# METRORED TELECOMUNICACIONES S.R.L. - Buenos Aires, Argentina
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 200.59.128.0-200.59.159.255 -j LOG --log-level debug --log-prefix "as_AR-MTSR-LACNIC-ar: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 200.59.128.0-200.59.159.255 -j DROP;
# Netname: AR-PRSA-LACNIC 200.122.0.0-200.122.31.255
# Prima S.A. Miguel Fernandez - La Rioja, 301, C1214ADG - Buenos Aires - AR
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 200.122.0.0-200.122.31.255 -j LOG --log-level debug --log-prefix "as_AR-PRSA-LACNIC-ar: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 200.122.0.0-200.122.31.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 200.122.32.0-200.122.63.255 -j LOG --log-level debug --log-prefix "as_AR-PRSA-LACNIC-ar: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 200.122.32.0-200.122.63.255 -j DROP;
# Netname: AR-SISA7-LACNIC
# UOL Sinectis S.A. Florida, 537, Piso 6 C1005AAK - BuenosAires - AR
iptables -A INPUT -p tcp --dport 25 -s 200.59.112.0/20 -j LOG --log-level debug --log-prefix "as_AR-SISA7-LACNIC-ar: ";
iptables -A INPUT -p tcp --dport 25 -s 200.59.112.0/20 -j DROP;
# Netname: AR-TEAR7-LACNIC
# Telefonica de Argentina Ferreira Teixeira AV. ING. HUERGO - OBS. JUDICIALES, 723, 1065 - Buenos Aires - CF AR
iptables -A INPUT -p tcp --dport 25 -s 201.254.0.0/16 -j LOG --log-level debug --log-prefix "as_AR-TEAR7-LACNIC-ar: ";
iptables -A INPUT -p tcp --dport 25 -s 201.254.0.0/16 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 201.255.128.0/17 -j LOG --log-level debug --log-prefix "as_AR-TEAR7-LACNIC-ar: ";
iptables -A INPUT -p tcp --dport 25 -s 201.255.128.0/17 -j DROP;
#################### Columbia #####################
# Netname: CO-ETBE-LACNIC
# Coordinacion de Redes Internet Calle 22 F, 39, 16 9999 - Bogota - Cu CO
iptables -A INPUT -p tcp --dport 25 -s 201.245.0.0/16 -j LOG --log-level debug --log-prefix "as_CO-ETBE-LACNIC-co: ";
iptables -A INPUT -p tcp --dport 25 -s 201.245.0.0/16 -j DROP;
# 200.6.176.0/20
iptables -A INPUT -p tcp --dport 25 -s 200.6.176.0/20 -j LOG --log-level debug --log-prefix "as_CO-COSA20-LACNIC-co: ";
iptables -A INPUT -p tcp --dport 25 -s 200.6.176.0/20 -j DROP;
# 200.6.78.0/24
iptables -A INPUT -p tcp --dport 25 -s 200.6.78.0/24 -j LOG --log-level debug --log-prefix "as_CL-SOSA-LACNIC-co: ";
iptables -A INPUT -p tcp --dport 25 -s 200.6.78.0/24 -j DROP;
# 201.228.0.0/17
iptables -A INPUT -p tcp --dport 25 -s 201.228.0.0/17 -j LOG --log-level debug --log-prefix "as_CO-CTSE-LACNIC-co: ";
iptables -A INPUT -p tcp --dport 25 -s 201.228.0.0/17 -j DROP;
# 201.244.0.0/16
iptables -A INPUT -p tcp --dport 25 -s 201.244.0.0/16 -j LOG --log-level debug --log-prefix "as_CO-ETBE-LACNIC-co: ";
iptables -A INPUT -p tcp --dport 25 -s 201.244.0.0/16 -j DROP;
# 201.232.0.0/17
iptables -A INPUT -p tcp --dport 25 -s 201.232.0.0/17 -j LOG --log-level debug --log-prefix "as_CO-ETBE-LACNIC-co: ";
iptables -A INPUT -p tcp --dport 25 -s 201.232.0.0/17 -j DROP;
# Netname: CO-TCSD-LACNIC
# Network Security Team Carrera 11A No. 94-76, 0, 0 0 - Bogotá - DC CO
iptables -A INPUT -p tcp --dport 25 -s 200.118.32.0/19 -j LOG --log-level debug --log-prefix "as_CO-TCSD-LACNIC-co: ";
iptables -A INPUT -p tcp --dport 25 -s 200.118.32.0/19 -j DROP;
####################### Dominican Republic #####################
# 66.98.0.0-66.98.95.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 66.98.0.0-66.98.95.255 -j LOG --log-level debug --log-prefix "as_LACNIC-do: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 66.98.0.0-66.98.95.255 -j DROP;
#################### peru #########################
# 201.230.233.0/25 PE-PETD7-LACNIC
# Telefonica del Peru Av. San Felipe 1144 Surquillo, 1144, Edi A 34 - Lima - PE
iptables -A INPUT -p tcp --dport 25 -s 201.230.233.0/25 -j LOG --log-level debug --log-prefix "as_PE-PETD7-LACNIC-pe: ";
iptables -A INPUT -p tcp --dport 25 -s 201.230.233.0/25 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 200.121.20.0-200.121.24.127 -j LOG --log-level debug --log-prefix "as_PE-PETD7-LACNIC-pe: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 200.121.20.0-200.121.24.127 -j DROP;
# Netname: PE-TDPERX12-LACNIC - PE-PETD16-LACNIC
# TELEFONICA DEL PERU - Lima, Peru
iptables -A INPUT -p tcp --dport 25 -s 201.230.120.0/25 -j LOG --log-level debug --log-prefix "as_PE-TDPERX12-pe: ";
iptables -A INPUT -p tcp --dport 25 -s 201.230.120.0/25 -j DROP;
# Netname: 201.230.11.0/25 PE-PETD14-LACNIC
# TELEFONICA DEL PERU SAN FELIPE, 1144, SURQUILLO 34 - LIMA - PE
iptables -A INPUT -p tcp --dport 25 -s 201.230.11.0/25 -j LOG --log-level debug --log-prefix "as_PE-PETD14-LACNIC-pe: ";
iptables -A INPUT -p tcp --dport 25 -s 201.230.11.0/25 -j DROP;
###################### chile ######################
# 190.46.0.0/15
iptables -A INPUT -p tcp --dport 25 -s 190.46.0.0/15 -j LOG --log-level debug --log-prefix "anti-spam-chile: ";
iptables -A INPUT -p tcp --dport 25 -s 190.46.0.0/15 -j DROP;
# Netname:
# Chile
iptables -A INPUT -p tcp --dport 25 -s 200.72.0.0/17 -j LOG --log-level debug --log-prefix "anti-spam-chile: ";
iptables -A INPUT -p tcp --dport 25 -s 200.72.0.0/17 -j DROP;
# Netname: CL-TSSA-LACNIC
# Telefonica del Sur S.A. - Valdivia - CL
iptables -A INPUT -p tcp --dport 25 -s 216.155.64.0/19 -j LOG --log-level debug --log-prefix "anti-spam-chile: ";
iptables -A INPUT -p tcp --dport 25 -s 216.155.64.0/19 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 201.220.112.0/20 -j LOG --log-level debug --log-prefix "anti-spam-chile: ";
iptables -A INPUT -p tcp --dport 25 -s 201.220.112.0/20 -j DROP;
#iptables -A INPUT -p tcp --dport 25 -s -j LOG --log-level debug --log-prefix "anti-spam-chile: ";
#iptables -A INPUT -p tcp --dport 25 -s -j DROP;
# Netname: CL-TNCS-LACNIC
# Terra Networks Chile S.A. CL-TNCS-LACNIC Avda. Vitacura, 2736, Piso 2 1 - Santiago - RM, CL
iptables -A INPUT -p tcp --dport 25 -s 200.28.0.0/16 -j LOG --log-level debug --log-prefix "as_CL-TNCS-LACNIC-cl: ";
iptables -A INPUT -p tcp --dport 25 -s 200.28.0.0/16 -j DROP;
# 200.114.0.0/20
iptables -A INPUT -p tcp --dport 25 -s 200.114.0.0/20 -j LOG --log-level debug --log-prefix "as_CL-TCBU-LACNIC-co: ";
iptables -A INPUT -p tcp --dport 25 -s 200.114.0.0/20 -j DROP;
################### BRAZIL ########################
# 143.106.0.0/16
iptables -A INPUT -p tcp --dport 25 -s 143.106.0.0/16 -j LOG --log-level debug --log-prefix "anti-spam-brazil: ";
iptables -A INPUT -p tcp --dport 25 -s 143.106.0.0/16 -j DROP;
# Netname:
# 200.103/16
iptables -A INPUT -p tcp --dport 25 -s 200.103.0.0/16 -j LOG --log-level debug --log-prefix "anti-spam-brazil: ";
iptables -A INPUT -p tcp --dport 25 -s 200.103.0.0/16 -j DROP;
# Netname: AS4230
# NET Serviços de Comunicação S.A. - Lauro Fernando Costa Barbosa - Rua Verbo Divino, 1356, 04719-002 - São Paulo - SP BR
iptables -A INPUT -p tcp --dport 25 -s 200.217.0.0/16 -j LOG --log-level debug --log-prefix "as_AS4230-br: ";
iptables -A INPUT -p tcp --dport 25 -s 200.217.0.0/16 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 200.179.192.0/18 -j LOG --log-level debug --log-prefix "as_AS4230-br: ";
iptables -A INPUT -p tcp --dport 25 -s 200.179.192.0/18 -j DROP;
# Netname: AS4230
# NET Serviços de Comunicação S.A. - Lauro Fernando Costa Barbosa - Rua Verbo Divino, 1356, 04719-002 - São Paulo - SP BR
iptables -A INPUT -p tcp --dport 25 -s 200.179.192.0/18 -j LOG --log-level debug --log-prefix "as_AS4230-br: ";
iptables -A INPUT -p tcp --dport 25 -s 200.179.192.0/18 -j DROP;
# Netname: AS7738
# Telemar Norte Leste S.A. 002.558.134/0001-58 Rua Humberto de Campos, 425, 7 andar 22430-190 - Rio de Janeiro - RJ, BR
iptables -A INPUT -p tcp --dport 25 -s 201.4.0.0/16 -j LOG --log-level debug --log-prefix "as_AS7738-br: ";
iptables -A INPUT -p tcp --dport 25 -s 201.4.0.0/16 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 201.5.0.0/16 -j LOG --log-level debug --log-prefix "as_AS7738-br: ";
iptables -A INPUT -p tcp --dport 25 -s 201.5.0.0/16 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 201.8.0.0/16 -j LOG --log-level debug --log-prefix "as_AS7738-br: ";
iptables -A INPUT -p tcp --dport 25 -s 201.8.0.0/16 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 201.9.0.0/16 -j LOG --log-level debug --log-prefix "as_AS7738-br: ";
iptables -A INPUT -p tcp --dport 25 -s 201.9.0.0/16 -j DROP;
# 201.50.0.0/15
iptables -A INPUT -p tcp --dport 25 -s 201.50.0.0/15 -j LOG --log-level debug --log-prefix "as_AS7738-br: ";
iptables -A INPUT -p tcp --dport 25 -s 201.50.0.0/15 -j DROP;
# 201.32.0.0/16
iptables -A INPUT -p tcp --dport 25 -s 201.32.0.0/16 -j LOG --log-level debug --log-prefix "as_AS7738-br: ";
iptables -A INPUT -p tcp --dport 25 -s 201.32.0.0/16 -j DROP;
# 201.34.0.0/16
# Netname: AS8167 Brasil Telecom S/A - Filial Distrito Federal 076.535.764/0326-90 Brasil Telecom S. A. - CNRS
iptables -A INPUT -p tcp --dport 25 -s 201.34.0.0/16 -j LOG --log-level debug --log-prefix "as_AS8167-br: ";
iptables -A INPUT -p tcp --dport 25 -s 201.34.0.0/16 -j DROP;
# 201.36.0.0/16
# AS17379 Intelig Telecomunica�es Ltda. 002.421.421/0001-11
# Engenharia de Redes Intelig Praia de Botafogo, 370, 2o. andar 22250-900 - Rio de Janeiro - RJ
iptables -A INPUT -p tcp --dport 25 -s 201.36.0.0/16 -j LOG --log-level debug --log-prefix "as_AS17379-br: ";
iptables -A INPUT -p tcp --dport 25 -s 201.36.0.0/16 -j DROP;
# Netname: AS27699 TELECOMUNICACOES DE SAO PAULO S.A.
# TELESP Rua Martiniano de Carvalho, 851, 01321-001 - Sao Paulo - SP, BR
iptables -A INPUT -p tcp --dport 25 -s 201.0.0.0/16 -j LOG --log-level debug --log-prefix "as_AS27699v-br: ";
iptables -A INPUT -p tcp --dport 25 -s 201.0.0.0/16 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 201.42.0.0-201.43.255.255 -j LOG --log-level debug --log-prefix "as_AR-PRSA-LACNIC-ar: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 201.42.0.0-201.43.255.255 -j DROP;
# 201.68.0.0/15
iptables -A INPUT -p tcp --dport 25 -s 201.68.0.0/15 -j LOG --log-level debug --log-prefix "as_AS27699-br: ";
iptables -A INPUT -p tcp --dport 25 -s 201.68.0.0/15 -j DROP;
# 201.78.0.0/15
iptables -A INPUT -p tcp --dport 25 -s 201.78.0.0/15 -j LOG --log-level debug --log-prefix "as_AS7738-br: ";
iptables -A INPUT -p tcp --dport 25 -s 201.78.0.0/15 -j DROP;
# Netname: AS27699
# TELECOMUNICACOES DE SAO PAULO S.A. - TELESP - Sao Paulo - SP, Brazil
iptables -A INPUT -p tcp --dport 25 -s 201.207.0.0/16 -j LOG --log-level debug --log-prefix "as_AS27699v-br: ";
iptables -A INPUT -p tcp --dport 25 -s 201.207.0.0/16 -j DROP;
# Netname: AS28573
# NET Serviços de Comunicação S.A. 000.065.376/0002-65 Lauro Fernando Costa Barbosa Rua Verbo Divino, 1356, 04719-002 - São Paulo - SP
iptables -A INPUT -p tcp --dport 25 -s 201.6.0.0/16 -j LOG --log-level debug --log-prefix "as_AS28573-br: ";
iptables -A INPUT -p tcp --dport 25 -s 201.6.0.0/16 -j DROP;
# 201.66.0.0/15 AS8167
iptables -A INPUT -p tcp --dport 25 -s 201.66.0.0/15 -j LOG --log-level debug --log-prefix "as_AS81673-br: ";
iptables -A INPUT -p tcp --dport 25 -s 201.66.0.0/15 -j DROP;
# Netmame: AS8167
# Brasil Telecom S/A -
iptables -A INPUT -p tcp --dport 25 -s 200.199.192.0/18 -j LOG --log-level debug --log-prefix "anti-spam-brazil: ";
iptables -A INPUT -p tcp --dport 25 -s 200.199.192.0/18 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 200.199.193.0/24 -j LOG --log-level debug --log-prefix "anti-spam-brazil: ";
iptables -A INPUT -p tcp --dport 25 -s 200.199.193.0/24 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 200.199.194.0/24 -j LOG --log-level debug --log-prefix "anti-spam-brazil: ";
iptables -A INPUT -p tcp --dport 25 -s 200.199.194.0/24 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 200.199.196.0/23 -j LOG --log-level debug --log-prefix "anti-spam-brazil: ";
iptables -A INPUT -p tcp --dport 25 -s 200.199.196.0/23 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 200.199.198.0/23 -j LOG --log-level debug --log-prefix "anti-spam-brazil: ";
iptables -A INPUT -p tcp --dport 25 -s 200.199.198.0/23 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 200.199.200.0/24 -j LOG --log-level debug --log-prefix "anti-spam-brazil: ";
iptables -A INPUT -p tcp --dport 25 -s 200.199.200.0/24 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 200.199.201.0/24 -j LOG --log-level debug --log-prefix "anti-spam-brazil: ";
iptables -A INPUT -p tcp --dport 25 -s 200.199.201.0/24 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 200.199.202.0/24 -j LOG --log-level debug --log-prefix "anti-spam-brazil: ";
iptables -A INPUT -p tcp --dport 25 -s 200.199.202.0/24 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 200.199.203.0/24 -j LOG --log-level debug --log-prefix "anti-spam-brazil: ";
iptables -A INPUT -p tcp --dport 25 -s 200.199.203.0/24 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 200.199.205.0/24 -j LOG --log-level debug --log-prefix "anti-spam-brazil: ";
iptables -A INPUT -p tcp --dport 25 -s 200.199.205.0/24 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 200.199.206.0/24 -j LOG --log-level debug --log-prefix "anti-spam-brazil: ";
iptables -A INPUT -p tcp --dport 25 -s 200.199.206.0/24 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 200.199.210.0/24 -j LOG --log-level debug --log-prefix "anti-spam-brazil: ";
iptables -A INPUT -p tcp --dport 25 -s 200.199.210.0/24 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 200.199.220.0/24 -j LOG --log-level debug --log-prefix "anti-spam-brazil: ";
iptables -A INPUT -p tcp --dport 25 -s 200.199.220.0/24 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 200.199.224.0/24 -j LOG --log-level debug --log-prefix "anti-spam-brazil: ";
iptables -A INPUT -p tcp --dport 25 -s 200.199.224.0/24 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 200.199.225.0/24 -j LOG --log-level debug --log-prefix "anti-spam-brazil: ";
iptables -A INPUT -p tcp --dport 25 -s 200.199.225.0/24 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 200.199.226.0/24 -j LOG --log-level debug --log-prefix "anti-spam-brazil: ";
iptables -A INPUT -p tcp --dport 25 -s 200.199.226.0/24 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 200.199.227.0/24 -j LOG --log-level debug --log-prefix "anti-spam-brazil: ";
iptables -A INPUT -p tcp --dport 25 -s 200.199.227.0/24 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 200.199.228.0/24 -j LOG --log-level debug --log-prefix "anti-spam-brazil: ";
iptables -A INPUT -p tcp --dport 25 -s 200.199.228.0/24 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 200.199.229.0/24 -j LOG --log-level debug --log-prefix "anti-spam-brazil: ";
iptables -A INPUT -p tcp --dport 25 -s 200.199.229.0/24 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 200.199.230.0/23 -j LOG --log-level debug --log-prefix "anti-spam-brazil: ";
iptables -A INPUT -p tcp --dport 25 -s 200.199.230.0/23 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 200.199.232.0/24 -j LOG --log-level debug --log-prefix "anti-spam-brazil: ";
iptables -A INPUT -p tcp --dport 25 -s 200.199.232.0/24 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 200.199.237.0/24 -j LOG --log-level debug --log-prefix "anti-spam-brazil: ";
iptables -A INPUT -p tcp --dport 25 -s 200.199.237.0/24 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 200.199.238.0/24 -j LOG --log-level debug --log-prefix "anti-spam-brazil: ";
iptables -A INPUT -p tcp --dport 25 -s 200.199.238.0/24 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 200.199.239.0/24 -j LOG --log-level debug --log-prefix "anti-spam-brazil: ";
iptables -A INPUT -p tcp --dport 25 -s 200.199.239.0/24 -j DROP;
# 200.96/16
iptables -A INPUT -p tcp --dport 25 -s 200.96.0.0/16 -j LOG --log-level debug --log-prefix "anti-spam-brazil: ";
iptables -A INPUT -p tcp --dport 25 -s 200.96.0.0/16 -j DROP;
########################## chili #########################
iptables -A INPUT -p tcp --dport 25 -s 200.0.0.0/21 -j LOG --log-level debug --log-prefix "as_LACNIC-cl: ";
iptables -A INPUT -p tcp --dport 25 -s 200.0.0.0/21 -j DROP;
# Netname: CL-TEEM-LACNIC
# Rodrigo Chacon Providencia, 119, Piso 8 00 - Santiago - CL
#iptables -A INPUT -p tcp --dport 25 -s 200.113.96.0/19 -j LOG --log-level debug --log-prefix "as_CL-TEEM-LACNIC-cl: ";
#iptables -A INPUT -p tcp --dport 25 -s 200.113.96.0/19 -j DROP;
# 200.90.192.0/20
#iptables -A INPUT -p tcp --dport 25 -s 200.90.192.0/20 -j LOG --log-level debug --log-prefix "as_CL-TEEM-LACNIC-cl: ";
#iptables -A INPUT -p tcp --dport 25 -s 200.90.192.0/20 -j DROP;
#iptables -A INPUT -p tcp --dport 25 -s 200.91.0.0/19 -j LOG --log-level debug --log-prefix "as_CL-TEEM-LACNIC-cl: ";
#iptables -A INPUT -p tcp --dport 25 -s 200.91.0.0/19 -j DROP;
#iptables -A INPUT -p tcp --dport 25 -s 200.92.0.0/17 -j LOG --log-level debug --log-prefix "as_CL-TEEM-LACNIC-cl: ";
#iptables -A INPUT -p tcp --dport 25 -s 200.92.0.0/17 -j DROP;
#iptables -A INPUT -p tcp --dport 25 -s 200.93.0.0/18 -j LOG --log-level debug --log-prefix "as_CL-TEEM-LACNIC-cl: ";
#iptables -A INPUT -p tcp --dport 25 -s 200.93.0.0/18 -j DROP;
#iptables -A INPUT -p tcp --dport 25 -s 200.94.0.0/17 -j LOG --log-level debug --log-prefix "as_CL-TEEM-LACNIC-cl: ";
#iptables -A INPUT -p tcp --dport 25 -s 200.94.0.0/17 -j DROP;
#iptables -A INPUT -p tcp --dport 25 -s 200.95.0.0/24 -j LOG --log-level debug --log-prefix "as_CL-TEEM-LACNIC-cl: ";
#iptables -A INPUT -p tcp --dport 25 -s 200.95.0.0/24 -j DROP;
################### uruguay #######################
# Netname: UY-ANTA-LACNIC
# ANTELDATA ANTEL URUGUAY
iptables -A INPUT -p tcp --dport 25 -s 200.125.16.0/20 -j LOG --log-level debug --log-prefix "as_UY-ANTA-LACNIC-uy: ";
iptables -A INPUT -p tcp --dport 25 -s 200.125.16.0/20 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 200.40.0.0/17 -j LOG --log-level debug --log-prefix "ssh_UY-ANTA-LACNIC-uy: ";
iptables -A INPUT -p tcp --dport 25 -s 200.40.0.0/17 -j DROP;
##########################################################################
############################# CARRIBEAN ##################################
##########################################################################
############################### trinidad #################################
# Netname: TT-TSOT1
# Telecommunication Services of Trinidad and Tobago Ronald Mohammed 1 Edward Street, 1, 00000 - Port of Spain - TT
iptables -A INPUT -p tcp --dport 25 -s 201.238.64.0/18 -j LOG --log-level debug --log-prefix "as_TT-TSOT1-tt: ";
iptables -A INPUT -p tcp --dport 25 -s 201.238.64.0/18 -j DROP;
##########################################################################
################################ EUROPE ##################################
##########################################################################
####################### austria ########################
# Netname: 83.218.160.0-83.218.191.255 AT-MYNET-20040317
# PROVIDER Local Registry myNet Internet Solutions AT
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.218.160.0-83.218.191.255 -j LOG --log-level debug --log-prefix "as_AT-MYNET-20040317-at: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.218.160.0-83.218.191.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.218.160.0-83.218.191.255 -j LOG --log-level debug --log-prefix "as_AT-MYNET-20040317-at: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.218.160.0-83.218.191.255 -j DROP;
# 80.121.44.0-80.121.127.255 TA-HIGHWAY-SPEED
# Highway Customers Telekom Austria Aktiengesellschaft AT
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 80.121.44.0-80.121.127.255 -j LOG --log-level debug --log-prefix "as_TA-HIGHWAY-SPEED-at: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 80.121.44.0-80.121.127.255 -j DROP;
######################### belgium #######################
# Netname: TVCABLENET
# ELECTRABEL Belgian Cable Modem ISP # Please report abuse to abuse@tvcablenet.be# BE
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.201.64.0-85.201.95.255 -j LOG --log-level debug --log-prefix "as_TVCABLENET-be: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.201.64.0-85.201.95.255 -j DROP;
# Netname: BE-BRUTELE-20050318
# Brutele SC BE
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.27.0.0-85.27.127.255 -j LOG --log-level debug --log-prefix "as_BRUTELE-20050318-be: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.27.0.0-85.27.127.255 -j DROP;
###################### bulgaria #########################
# Netname: SETSERVICE-BG
# 62.204.128.0-62.204.129.255 SETSERVICE-BG Set Service Ltd. BG
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 62.204.128.0-62.204.129.255 -j LOG --log-level debug --log-prefix "as_SETSERVICE-BG-bg ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 62.204.128.0-62.204.129.255 -j DROP;
####################### croatia #########################
# 83.131.48.0-83.131.63.255 T-HT
# T-Com Croatia Internet network Croatian Telecom Inc., Zagreb, Croatia HR
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.131.48.0-83.131.63.255 -j LOG --log-level debug --log-prefix "as_T-HT-hr: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.131.48.0-83.131.63.255 -j DROP;
#################### Czech Republic #####################
# Netname: NOVERA
# IPv4 block for Novera JSC CZ
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 86.59.208.0-86.59.211.255 -j LOG --log-level debug --log-prefix "as_NOVERA-cz: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 86.59.208.0-86.59.211.255 -j DROP;
# Netname: OTHOR
# Prague 4, Czech Republic Durychova, 27 Othor JSC CZ
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 86.59.0.0-87.255.255.255 -j LOG --log-level debug --log-prefix "as_OTHOR-cz: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 86.59.0.0-87.255.255.255 -j DROP;
#iptables -A INPUT -p tcp --dport 25 -m iprange --src-range -j LOG --log-level debug --log-prefix "as_-cz: ";
#iptables -A INPUT -p tcp --dport 25 -m iprange --src-range -j DROP;
######################### england #######################
# Netname: OPAL-DSL
# Opal Telecom DSL Network - Manchester United Kingdom
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.13.128.0-84.13.159.255 -j LOG --log-level debug --log-prefix "as_OPAL-DSL-uk: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.13.128.0-84.13.159.255 -j DROP;
# Netname: UK-EENET-HASTINGS
# Exponential-e Ltd - London, England
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.244.130.0-83.244.130.255 -j LOG --log-level debug --log-prefix "as_UK-HASTINGS-uk: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.244.130.0-83.244.130.255 -j DROP;
# Netname: PH-NETWORK-VASERV
# Maidenhead, UK
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.234.133.0-85.234.133.255 -j LOG --log-level debug --log-prefix "ssh-blk_uk: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.234.133.0-85.234.133.255 -j DROP;
# Netname: 82.41.0.0-82.41.255.255 TELEWEST-HSD_1-EDINBURGH
# Telewest HSD Platform GB
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.41.0.0-82.41.255.255 -j LOG --log-level debug --log-prefix "as_HSD_1-EDINBURGH-uk: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.41.0.0-82.41.255.255 -j DROP;
# Netname: 82.35.0.0-82.35.255.255 TELEWEST-HSD_1-HARRINGEY
# Telewest HSD Platform GB
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.35.0.0-82.35.255.255 -j LOG --log-level debug --log-prefix "as_HSD_1-HARRINGEY-uk: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.35.0.0-82.35.255.255 -j DROP;
# Netname: UK2-NET
# UK2.NET - UK's biggest host GB
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.170.64.0-83.170.79.255 -j LOG --log-level debug --log-prefix "ssh-UK2-NET_uk: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.170.64.0-83.170.79.255 -j DROP;
# Netname: 88.104.0.0-88.107.255.255 DSL-TISCALI-UK
# Tiscali UK Ltd Milton Keynes Dynamic DSL GB
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.104.0.0-88.107.255.255 -j LOG --log-level debug --log-prefix "ssh-DSL-TISCALI-UK_gb: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.104.0.0-88.107.255.255 -j DROP;
######################## france #########################
# Netname: FR-PROXAD-ADSL
# Proxad / Free SAS Dynamic pool (IP/ADSL) NCC#2005090519 FR
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.248.0.0-82.255.255.255 -j LOG --log-level debug --log-prefix "as_FR-PROXAD-ADSL-fr: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.248.0.0-82.255.255.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.243.84.0-82.243.87.255 -j LOG --log-level debug --log-prefix "as_FR-PROXAD-ADSL-fr: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.243.84.0-82.243.87.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.64.115.0-82.64.255.255 -j LOG --log-level debug --log-prefix "as_FR-PROXAD-ADSL-fr: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.64.115.0-82.64.255.255 -j DROP;
# Netname: MAIL-ESSENTIALS-WANADOO Projet Mail Essentials FR
# 193.252.22.0-193.252.22.31
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 193.252.22.0-193.252.22.31 -j LOG --log-level debug --log-prefix "as_WANNADO-fr: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 193.252.22.0-193.252.22.31 -j DROP;
# Netname: T-ONLINEFRANCE
# Servers at InterXion - Paris, France
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 194.158.104.0-194.158.107.255 -j LOG --log-level debug --log-prefix "as_T-ONLINEFRANCE-fr: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 194.158.104.0-194.158.107.255 -j DROP;
# 195.132.0.0-195.132.255.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 195.132.0.0-195.132.255.255 -j LOG --log-level debug --log-prefix "as_FR-CYBERCABLE-960620-fr: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 195.132.0.0-195.132.255.255 -j DROP;
# Netname: N9UF-DYN-DSL
# Boulogne Billancourt, France
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.97.0.0-84.103.231.255 -j LOG --log-level debug --log-prefix "intruder_N9UF-DYN-DSL-fr: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.97.0.0-84.103.231.255 -j DROP;
# Netname: IP2000-ADSL-BAS
# BSMAR253 Marseille Bloc 2 - WANADOO FRANCE 48 rue Camille Desmoulins, FR
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 80.8.191.0-80.8.191.255 -j LOG --log-level debug --log-prefix "intr-ftp_IP2000-ADSL-BAS-fr: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 80.8.191.0-80.8.191.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.120.58.0-82.120.58.255 -j LOG --log-level debug --log-prefix "intr-ftp_IP2000-ADSL-BAS-fr: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.120.58.0-82.120.58.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.123.157.0-82.123.157.255 -j LOG --log-level debug --log-prefix "intr-ftp_IP2000-ADSL-BAS-fr: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.123.157.0-82.123.157.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.205.221.0-83.205.221.255 -j LOG --log-level debug --log-prefix "intr-ftp_IP2000-ADSL-BAS-fr: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.205.221.0-83.205.221.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 86.195.180.0-86.195.180.255 -j LOG --log-level debug --log-prefix "as_IP2000-ADSL-BAS-fr: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 86.195.180.0-86.195.180.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.115.115.0-83.115.115.255 -j LOG --log-level debug --log-prefix "as_IP2000-ADSL-BAS-fr: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.115.115.0-83.115.115.255 -j DROP;
# Netname: TIF-200401
# Telecom Italia France Broadband Pools FR
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.152.0.0-83.155.255.255 -j LOG --log-level debug --log-prefix "asshole_TIF-200401-fr: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.152.0.0-83.155.255.255 -j DROP;
######################### germany ######################
# 62.104.104.0-62.104.127.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 62.104.0.0-62.104.255.255 -j LOG --log-level debug --log-prefix "as_STRATO-POOL-NET-de: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 62.104.0.0-62.104.255.255 -j DROP;
# Netname: GMX-NET
# D-80992 Muenchen Germany
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 213.165.64.0-213.165.66.127 -j LOG --log-level debug --log-prefix "as_GMX-NET-de: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 213.165.64.0-213.165.66.127 -j DROP;
# 217.224.0.0-217.237.161.47 DTAG-DIAL15
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 217.224.0.0-217.237.161.47 -j LOG --log-level debug --log-prefix "as_DTAG-DIAL15-de: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 217.224.0.0-217.237.161.47 -j DROP;
# Netname: ARCOR-DSL-NET12
# ARCOR AG - Germany
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.82.169.0-82.83.255.255 -j LOG --log-level debug --log-prefix "as_ARCOR-DSL-NET12-de: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.82.169.0-82.83.255.255 -j DROP;
# Netname: 84.57.113.0-84.61.96.255 ARCOR-DSL-NET13
# ARCOR AG Alfred-Herrhausen-Allee 1 D-65760 Eschborn DE
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.57.113.0-84.61.96.255 -j LOG --log-level debug --log-prefix "as_ARCOR-DSL-NET13-de: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.57.113.0-84.61.96.255 -j DROP;
# Netname: ARCOR-DSL-NET14
# ARCOR AG - Germany
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.61.97.0-84.63.127.255 -j LOG --log-level debug --log-prefix "intruder_ARCOR-DSL-NET12-de: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.61.97.0-84.63.127.255 -j DROP;
# Netname: DTAG-DIAL16
# Nuernberg, Germany
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 80.128.0.0-80.146.159.255 -j LOG --log-level debug --log-prefix "intruder_DTAG-DIAL16-de: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 80.128.0.0-80.146.159.255 -j DROP;
# Netname: DTAG-DIAL17
# Deutsche Telekom AG - Nuernberg Germany
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 217.246.0.0-217.255.255.255 -j LOG --log-level debug --log-prefix "as_DTAG-DIAL17-de: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 217.246.0.0-217.255.255.255 -j DROP;
# Netname: DTAG-DIAL20
# Deutsche Telekom AG - Nuernberg Germany
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.136.0.0-84.191.255.255 -j LOG --log-level debug --log-prefix "as_DTAG-DIAL20-de: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.136.0.0-84.191.255.255 -j DROP;
# Netname: 80.184.0.0-80.184.255.255 FREENET-POOL-NET
# freenet Cityline GmbH Millstaetterstrasse 13 40549 Duesseldorf Germany DE
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 80.184.0.0-80.184.255.255 -j LOG --log-level debug --log-prefix "as_FREENET-POOL-de: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 80.184.0.0-80.184.255.255 -j DROP;
# Netname: 85.176.0.0-85.182.127.255 HANSENET-ADSL
# ALICE DSL HanseNet Telekommunikation GmbH ADSL Pool Customers DE
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.176.0.0-85.182.127.255 -j LOG --log-level debug --log-prefix "as_HANSENET-ADSL-de: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.176.0.0-85.182.127.255 -j DROP;
# 85.216.0.0-85.216.113.255 KABELBW-03 Kabel Baden-Wuerttemberg GmbH & Co. KG DE
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.216.0.0-85.216.113.255 -j LOG --log-level debug --log-prefix "as_KABELBW-03-de: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.216.0.0-85.216.113.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 213.39.128.0-213.39.166.255 -j LOG --log-level debug --log-prefix "as_HANSENET-ADSL-de: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 213.39.128.0-213.39.166.255 -j DROP;
# Netname: 195.158.162.0-195.158.165.255 HOME-DYNAMIC-NET
# QSC AG Dynamic IP Addresses DE
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 195.158.162.0-195.158.165.255 -j LOG --log-level debug --log-prefix "as_HOME-DYNAMIC-NET-de: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 195.158.162.0-195.158.165.255 -j DROP;
# Netname: KABEL-DEUTSCHLAND-CUSTOMER-SERVICES-7
# Kabel Deutschland Breitband Customer 7 DE
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.134.0.0-88.134.63.255 -j LOG --log-level debug --log-prefix "as_KABEL-DEUTSCHLAND-de: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.134.0.0-88.134.63.255 -j DROP;
# Netname: LYCOS-VDS-1
# Guetersloh, Germany
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.244.0.0-84.244.39.255 -j LOG --log-level debug --log-prefix "ssh-blk_LYCOS-VDS-1: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.244.0.0-84.244.39.255 -j DROP;
# Netname: 85.8.118.0-85.8.122.255 OSNATEL-DSL-39
# osnatel-subnet for ADSL dial-up DE
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.8.118.0-85.8.122.255 -j LOG --log-level debug --log-prefix "as_OSNATEL-DSL-39-de: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.8.118.0-85.8.122.255 -j DROP;
# Netname: VT-DYNAMICPOOL
# Versatel Deutschland Dynamic Pool DE
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 87.122.0.0-87.122.63.255 -j LOG --log-level debug --log-prefix "intr_VT-DYNAMICPOOL-de: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 87.122.0.0-87.122.63.255 -j DROP;
####################### Ireland ########################
# Netname: 159.134.0.0-159.134.255.255 TELE-IRELAND
# eircom Group plc Corporate network and public ISP infrastructure Dublin, Ireland IE
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 159.134.0.0-159.134.255.255 -j LOG --log-level debug --log-prefix "as_TELE-IRELAND-ie: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 159.134.0.0-159.134.255.255 -j DROP;
######################### israel #######################
# Netname: 88.152.0.0-88.152.84.255 ADSL-CUSTOMER-CONNECTION SE-1 IL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.152.0.0-88.152.84.255 -j LOG --log-level debug --log-prefix "as_ADSL-CUST-CONNECT-il: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.152.0.0-88.152.84.255 -j DROP;
# 62.0.128.0-62.0.191.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 62.0.128.0-62.0.191.255 -j LOG --log-level debug --log-prefix "as_BB-HFA-il: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 62.0.128.0-62.0.191.255 -j DROP;
# Netname: NV-BROADBAND-POPS
# Netvision's BroadBand service - Omega Building MATAM industrial park Haifa 31905 Israel
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 217.132.0.0-217.132.127.255 -j LOG --log-level debug --log-prefix "as_NV-BROADBAND-POPS-il: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 217.132.0.0-217.132.127.255 -j DROP;
# Netname: EURONET
# IG Cables Costumers (Genie03) Internet Gold - LTD. Alexander Yanai 1 Petah-Tikva Israel
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.130.240.0-83.130.255.255 -j LOG --log-level debug --log-prefix "as_NV-BROADBAND-POPS-il: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.130.240.0-83.130.255.255 -j DROP;
######################### italy ########################
# Netname: PUGNO-ETTORE
# Italy
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 212.210.167.176-212.210.167.183 -j LOG --log-level debug --log-prefix "as_PUGNO-ETTORE-it: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 212.210.167.176-212.210.167.183 -j DROP;
# 151.37.0.0-151.37.255.255 IUNET-BNET37
# IUnet Via Lorenteggio 257 Milano, I-20100 IT
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 151.37.0.0-151.37.255.255 -j LOG --log-level debug --log-prefix "as_IUNET-BNET37-it: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 151.37.0.0-151.37.255.255 -j DROP;
# Netname: TELECOM-ADSL-4
# Telecom Italia S.p.A. TIN EASY LITE
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.50.0.0-82.51.255.255 -j LOG --log-level debug --log-prefix "anti-spam-it: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.50.0.0-82.51.255.255 -j DROP;
# 82.52.0.0-82.55.255.255 TELECOM-ADSL-5
# Telecom Italia S.p.A. TIN EASY LITE IT
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.52.0.0-82.55.255.255 -j LOG --log-level debug --log-prefix "as_TELECOM-ADSL-5-it: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.52.0.0-82.55.255.255 -j DROP;
# 212.216.172.0-212.216.177.255 TIN
# Telecom Italia Net PROVIDER NOC Roma IT
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 212.216.172.0-212.216.177.255 -j LOG --log-level debug --log-prefix "as_TIN-it: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 212.216.172.0-212.216.177.255 -j DROP;
# Netname: 84.222.0.0-84.223.255.255 TISCALINET
# Tiscali SpA PROVIDER IT
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.222.0.0-84.223.255.255 -j LOG --log-level debug --log-prefix "as_TISCALINET-it: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.222.0.0-84.223.255.255 -j DROP;
###################### hungry ##########################
# Netname: 81.182.228.0-81.182.229.255 DSL-POOL-114
# IPconnect ADSL clients (dynamic address pool) Hungarian Telecom contraced ISPs HU
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 81.182.228.0-81.182.229.255 -j LOG --log-level debug --log-prefix "as_DSL-POOL-114-hu: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 81.182.228.0-81.182.229.255 -j DROP;
# 85.66.120.0-85.66.120.255 HU-FIBERNET-040916 FiberNet Communication Co. Budapest HU
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.66.120.0-85.66.120.255 -j LOG --log-level debug --log-prefix "as_HU-FIBERNET-040916-hu: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.66.120.0-85.66.120.255 -j DROP;
####################### lithuania #######################
# Netname: LIETUVOS-TELEKOMAS
# Joint Stock Company Lietuvos Telekomas - Lithuanian Telecom IP NOC - Lithuania
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.206.72.0-85.206.107.255 -j LOG --log-level debug --log-prefix "as_LIETUVOS-lt: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.206.72.0-85.206.107.255 -j DROP;
# 88.118.192.0-88.118.199.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.118.192.0-88.118.199.255 -j LOG --log-level debug --log-prefix "as_LIETUVOS-lt: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.118.192.0-88.118.199.255 -j DROP;
# 88.118.217.0-88.118.222.255 LIETUVOS-TELEKOMAS
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.118.217.0-88.118.222.255 -j LOG --log-level debug --log-prefix "as_LIETUVOS-TELEKOMASS-lt: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.118.217.0-88.118.222.255 -j DROP;
# 88.118.70.0-88.118.73.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.118.70.0-88.118.73.255 -j LOG --log-level debug --log-prefix "as_LIETUVOS-TELEKOMASS-lt: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.118.70.0-88.118.73.255 -j DROP;
###################### Moldavia ########################
# Netname: 83.218.192.0-83.218.223.255 MD-SUN-20040318
# JV "Sun Communications" S.R.L. MD
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.218.192.0-83.218.223.255 -j LOG --log-level debug --log-prefix "as_MD-SUN-20040318-md: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.218.192.0-83.218.223.255 -j DROP;
#################### Netherlands #######################
# Netname: NL-VUURWERK
# Vuurwerk Internet NL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 62.250.0.0-62.250.9.255 -j LOG --log-level debug --log-prefix "as_NL-VUURWERK-nl: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 62.250.0.0-62.250.9.255 -j DROP;
# 82.151.32.0-82.151.63.255 ORG-KA13-RIPE NL-KABELTEX-20030903 Kabeltex PROVIDER Local Registry NL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.151.32.0-82.151.63.255 -j LOG --log-level debug --log-prefix "as_ORG-KA13-RIPE-nl: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.151.32.0-82.151.63.255 -j DROP;
####################### norway #########################
# Netname: TELE2-ADSL-DYNAMIC-BAPC1
# Tele2 Norge AS. Dynamic IP pool for BAP 0511 NO
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 193.217.252.0-193.217.252.255 -j LOG --log-level debug --log-prefix "as_TELE2-DYNAMIC-BAPC1-no: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 193.217.252.0-193.217.252.255 -j DROP;
# 85.166.0.0-85.166.255.255 NO-TELENOR-DSL-3 Telenor Business Solutions AS NO
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.166.0.0-85.166.255.255 -j LOG --log-level debug --log-prefix "as_NO-TELENOR-DSL-3-no: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.166.0.0-85.166.255.255 -j DROP;
######################### poland ########################
# Netname: INTERIA-PL
# INTERIA.PL os. Teatralne 9A 31-636 Krakow PL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 80.48.65.0-80.48.65.255 -j LOG --log-level debug --log-prefix "as_INTERIA-PL-pl: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 80.48.65.0-80.48.65.255 -j DROP;
# 83.26.0.0-83.26.255.255 NEOSTRADA-ADSL Neostrada Plus Lodz PL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.26.0.0-83.26.255.255 -j LOG --log-level debug --log-prefix "as_NEOSTRADA-ADSL-pl: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.26.0.0-83.26.255.255 -j DROP;
# Netname: NEOSTRADA-ADSL
# Neostrada Plus - Krakow Poland
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.27.0.0-83.27.255.255 -j LOG --log-level debug --log-prefix "as_NEOSTRADA-pl: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.27.0.0-83.27.255.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.29.0.0-83.29.255.255 -j LOG --log-level debug --log-prefix "as_NEOSTRADA-pl: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.29.0.0-83.29.255.255 -j DROP;
# Netname: NEOSTRADA
# Neostrada Plus - Warszawa Poland
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.23.0.0-83.23.255.255 -j LOG --log-level debug --log-prefix "as_NEOSTRADA-pl: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.29.0.0-83.29.255.255 -j DROP;
# PL-DIALOG
# Dialog Internet Services Customer DSL Telefonia Dialog S.A. PL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 81.168.171.0-81.168.171.255 -j LOG --log-level debug --log-prefix "as_PL-DIALOG-pl: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 81.168.171.0-81.168.171.255 -j DROP;
# Netname: WINIARSKICHORZW
# CHORZOW, POLAND
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 80.55.226.48-80.55.226.51 -j LOG --log-level debug --log-prefix "as_CHORZOW-pl: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 80.55.226.48-80.55.226.51 -j DROP;
# Netname: JOZEFKANET-PIEKARYSLASKIE
# Jozefka.NET 41-943 Piekary Slaskie Perlowa 31 pl
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 213.17.150.128-213.17.150.159 -j LOG --log-level debug --log-prefix "ssh_PIEKARYSLASKIE-pl: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 213.17.150.128-213.17.150.159 -j DROP;
############################################## portugal #########################################
# 62.169.96.0-62.169.127.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 62.169.96.0-62.169.127.255 -j LOG --log-level debug --log-prefix "as_OPTIMUS-pt: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 62.169.96.0-62.169.127.255 -j DROP;
# Netname: 81.84.20.0-81.84.21.255 TVCABO TVCABO-Portugal Cable Modem Network
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 81.84.20.0-81.84.21.255 -j LOG --log-level debug --log-prefix "as_TVCABO-Portugal-pt: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 81.84.20.0-81.84.21.255 -j DROP;
# Netname: TELEPAC-DSL
# Telepac - Comunicacoes Interactivas, SA Portugal
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.155.128.0-82.155.191.255 -j LOG --log-level debug --log-prefix "as_TELEPAC-DSL-pt: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.155.128.0-82.155.191.255 -j DROP;
# Netname: TVCABO
# TVCABO-Portugal Cable Modem Network PT
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.138.32.0-85.138.175.255 -j LOG --log-level debug --log-prefix "as_TVCABO-pt: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.138.32.0-85.138.175.255 -j DROP;
# Netname: IP-NOVIS
# NOVIS TELECOM, S.A. - Carnaxide, Portugal
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 87.196.0.0-87.196.127.255 -j LOG --log-level debug --log-prefix "as_IP-NOVIS-pt: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 87.196.0.0-87.196.127.255 -j DROP;
# Netname: PT-TELEPAC-20050103
# PT.Com - Comunicacoes Interactivas, S.A. PT
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.240.0.0-85.247.255.255 -j LOG --log-level debug --log-prefix "as_PT-TELEPAC-20050103-pt: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.240.0.0-85.247.255.255 -j DROP;
###################### romania ##########################
# Netname: RO-RDS-SV-RADAUTI-MBIT
# Mbit Radauti Romania Data Systems NOC 71-75 Dr. Staicovici Bucharest / ROMANIA
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.77.10.0-82.77.10.255 -j LOG --log-level debug --log-prefix "as_RADAUTI-MBIT-ro: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.77.10.0-82.77.10.255 -j DROP;
# Netname: ASTRALTC-NET
# SC ASTRAL TELECOM SA str. Brincusi 147 Cluj-Napoca, 3400 Cluj, Romania RO
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 194.105.24.0-194.105.31.255 -j LOG --log-level debug --log-prefix "as_ASTRALTC-NET-ro: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 194.105.24.0-194.105.31.255 -j DROP;
######################### russia #########################
# Netname:
# 213.33.254.0-213.33.254.255 SOVINTEL-BACKBONE-SpB-NET Interface networks - Spb. RU
# 213.33.255.0-213.33.255.255 route: 213.33.240.0/20
# 82.179.234.0-82.179.234.255 INFOLINK-RU Infolink Technology Inc. RU
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.179.234.0-82.179.234.255 -j LOG --log-level debug --log-prefix "as_INFOLINK-RU-ru: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.179.234.0-82.179.234.255 -j DROP;
# 84.54.237.0-84.54.238.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.54.237.0-84.54.238.255 -j LOG --log-level debug --log-prefix "as_RIPE-ru: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.54.237.0-84.54.238.255 -j DROP;
# 89.110.0.0-89.110.31.255
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 89.110.0.0-89.110.31.255 -j LOG --log-level debug --log-prefix "as_RU-SPBNIT-20060403-ru: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 89.110.0.0-89.110.31.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -s 213.33.240.0/20 -j LOG --log-level debug --log-prefix "ssh_SpB-NET-ru: ";
iptables -A INPUT -p tcp --dport 25 -s 213.33.240.0/20 -j DROP;
#iptables -A INPUT -p tcp --dport 25 -s -j LOG --log-level debug --log-prefix "ssh_SpB-NET-ru ";
#iptables -A INPUT -p tcp --dport 25 -s s -j DROP;
# Netname: 194.67.45.0-194.67.45.255 MAILRU-NET-3
# Mail.Ru Pushechnaya st., 2/6 103012, Moscow RU
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 194.67.45.0-194.67.45.255 -j LOG --log-level debug --log-prefix "as_MAILRU-NET-3-ru ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 194.67.45.0-194.67.45.255 -j DROP;
# 194.67.57.0-194.67.57.255 MAILRU-NET2 Mail.ru Moscow, Russia RU
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 194.67.57.0-194.67.57.255 -j LOG --log-level debug --log-prefix "as_MAILRU-NET-3-ru ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 194.67.57.0-194.67.57.255 -j DROP;
# 194.67.58.0-194.67.58.255 STNET58 Sovam Teleport Ufa, Russia RU
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 194.67.58.0-194.67.58.255 -j LOG --log-level debug --log-prefix "as_STNET58-ru ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 194.67.58.0-194.67.58.255 -j DROP;
#iptables -A INPUT -p tcp --dport 25 -m iprange --src-range -j LOG --log-level debug --log-prefix "as_SpB-NET-ru ";
#iptables -A INPUT -p tcp --dport 25 -m iprange --src-range -j DROP;
######################## spain ##########################
# Netname: 80.36.0.0-80.39.255.255 RIMA
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 80.36.0.0-80.39.255.255 -j LOG --log-level debug --log-prefix "as_RIMA-es: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 80.36.0.0-80.39.255.255 -j DROP;
# 80.58.205.0-80.58.205.255 RIMA TELEFONICA DE ESPANA Provider Local Registry ES
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 80.58.205.0-80.58.205.255 -j LOG --log-level debug --log-prefix "as_RIMA-es: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 80.58.205.0-80.58.205.255 -j DROP;
# Netname: 81.202.0.0-81.202.255.255 ONO-SCOPES-1
# Cableuropa - ONO ONO net in whole Spain ES
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 81.202.0.0-81.202.255.255 -j LOG --log-level debug --log-prefix "as_ONO-SCOPES-1-es: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 81.202.0.0-81.202.255.255 -j DROP;
# Netname: RIMA
# TELEFONICA DE ESPANA - Spain
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.32.0.0-83.35.255.255 -j LOG --log-level debug --log-prefix "as_RIMA-es: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.32.0.0-83.35.255.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.37.0.0-83.39.255.255 -j LOG --log-level debug --log-prefix "as_RIMA-es: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.37.0.0-83.39.255.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.40.201.0-83.45.92.255 -j LOG --log-level debug --log-prefix "as_RIMA-es: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.40.201.0-83.45.92.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.45.93.0-83.46.255.255 -j LOG --log-level debug --log-prefix "as_RIMA-es: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.45.93.0-83.46.255.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.47.0.0-83.47.103.255 -j LOG --log-level debug --log-prefix "as_RIMA-es: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.47.0.0-83.47.103.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.49.0.0-83.51.240.255 -j LOG --log-level debug --log-prefix "as_RIMA-es: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.49.0.0-83.51.240.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 213.98.0.0-213.98.180.255 -j LOG --log-level debug --log-prefix "as_RIMA-es: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 213.98.0.0-213.98.180.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.47.104.0-83.47.191.255 -j LOG --log-level debug --log-prefix "as_RIMA-es: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.47.104.0-83.47.191.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.47.192.0-83.47.255.255 -j LOG --log-level debug --log-prefix "as_RIMA-es: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.47.192.0-83.47.255.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.57.0.0-83.61.24.255 -j LOG --log-level debug --log-prefix "as_RIMA-es: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.57.0.0-83.61.24.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.61.25.0-83.61.215.255 -j LOG --log-level debug --log-prefix "as_RIMA-es: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.61.25.0-83.61.215.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.61.216.0-83.63.255.255 -j LOG --log-level debug --log-prefix "as_RIMA-es: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.61.216.0-83.63.255.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.3.213.0-88.8.104.255 -j LOG --log-level debug --log-prefix "as_RIMA-es: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.3.213.0-88.8.104.255 -j DROP;
# Netname: BROADNET-ES-RNET
# Roadnet S.L. C/ Sor Angela de la Cruz, 31, 1º D 28020 Madrid ES
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 213.171.252.0-213.171.252.63 -j LOG --log-level debug --log-prefix "as_BROADNET-ES-RNET-es: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 213.171.252.0-213.171.252.63 -j DROP;
# Netname: ES-EUSKALTEL-20041022
# Euskaltel PROVIDER Local Registry ES
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.84.0.0-85.87.255.255 -j LOG --log-level debug --log-prefix "intr_ES-EUSKALTEL-es: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.84.0.0-85.87.255.255 -j DROP;
# Netname: SIMBADNET
# Retecal Sociedad Operadora de Telecomunicaciones Red de usuarios de cable ES
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 213.254.64.0-213.254.95.255 -j LOG --log-level debug --log-prefix "as_SIMBADNET-es: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 213.254.64.0-213.254.95.255 -j DROP;
# Netname: 80.103.0.0-80.103.255.255 UNI2-NET
# Uni2 IP Data Network ES
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 80.103.0.0-80.103.255.255 -j LOG --log-level debug --log-prefix "as_UNI2-NET-es: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 80.103.0.0-80.103.255.255 -j DROP;
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.56.0.0-85.59.255.255 -j LOG --log-level debug --log-prefix "as_UNI2-NET-es: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.56.0.0-85.59.255.255 -j DROP;
####################### slovakia ########################
# Netname: ST-xDSL-DYNLNS1-NET
# Slovenske telekomunikacie a.s. - Slovak republic -
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.47.0.0-84.47.31.255 -j LOG --log-level debug --log-prefix "as_RIMA-es: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.47.0.0-84.47.31.255 -j DROP;
############################ sweden ######################
# Netname: SE-SPRAY-DIALUP-NET
# Spray Networks AB - Stockholm, Sweden
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.216.64.0-84.216.95.255 -j LOG --log-level debug --log-prefix "as_SE-SPRAY-se: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.216.64.0-84.216.95.255 -j DROP;
###################### Yugoslavia ########################
# Netname: Atribut-NET
# PCS-SezamPro, Jugodata Bulevar Kralja Aleksandra 326 11050 Beograd Yugoslavia
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 212.200.200.0-212.200.201.255 -j LOG --log-level debug --log-prefix "as_Atribut-NET-cs: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 212.200.200.0-212.200.201.255 -j DROP;
# 62.162.0.0-62.162.255.255 ORG-MTA1-RIPE MK-MPT-20000926 Provider Local Registry Macedonian Post & Telecommunications MK
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 62.162.0.0-62.162.255.255 -j LOG --log-level debug --log-prefix "as_ORG-MTA1-RIPE-mk: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 62.162.0.0-62.162.255.255 -j DROP;
######################### Ukraine ########################
# Netname: 83.218.224.0-83.218.227.0 INTERCOM-UA
# ISP Intercom UA
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.218.224.0-83.218.227.0 -j LOG --log-level debug --log-prefix "as_INTERCOM-UA-ua: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.218.224.0-83.218.227.0 -j DROP;
#_____________________________________________________________________
############################################################################
################## RULES ADDED BY read_log.pl PROGRAM ######################
############################################################################
# 12.195.43.97
iptables -A INPUT -p tcp --dport 25 -s 12.195.43.97 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 12.195.43.97 -j DROP
# 128.177.26.9
iptables -A INPUT -p tcp --dport 25 -s 128.177.26.9 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 128.177.26.9 -j DROP
# 204.11.96.94
iptables -A INPUT -p tcp --dport 25 -s 204.11.96.94 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 204.11.96.94 -j DROP
# 206.123.74.141
iptables -A INPUT -p tcp --dport 25 -s 206.123.74.141 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 206.123.74.141 -j DROP
# 206.123.74.179
iptables -A INPUT -p tcp --dport 25 -s 206.123.74.179 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 206.123.74.179 -j DROP
# 208.106.146.157
iptables -A INPUT -p tcp --dport 25 -s 208.106.146.157 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 208.106.146.157 -j DROP
# 208.106.146.188
iptables -A INPUT -p tcp --dport 25 -s 208.106.146.188 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 208.106.146.188 -j DROP
# 208.106.146.198
iptables -A INPUT -p tcp --dport 25 -s 208.106.146.198 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 208.106.146.198 -j DROP
# 208.106.146.204
iptables -A INPUT -p tcp --dport 25 -s 208.106.146.204 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 208.106.146.204 -j DROP
# 208.99.198.67
iptables -A INPUT -p tcp --dport 25 -s 208.99.198.67 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 208.99.198.67 -j DROP
# 209.133.69.26
iptables -A INPUT -p tcp --dport 25 -s 209.133.69.26 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 209.133.69.26 -j DROP
# 209.133.69.28
iptables -A INPUT -p tcp --dport 25 -s 209.133.69.28 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 209.133.69.28 -j DROP
# 209.133.69.41
iptables -A INPUT -p tcp --dport 25 -s 209.133.69.41 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 209.133.69.41 -j DROP
# 212.27.42.28
iptables -A INPUT -p tcp --dport 25 -s 212.27.42.28 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 212.27.42.28 -j DROP
# 212.9.11.203
iptables -A INPUT -p tcp --dport 25 -s 212.9.11.203 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 212.9.11.203 -j DROP
# 64.129.64.38
iptables -A INPUT -p tcp --dport 25 -s 64.129.64.38 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 64.129.64.38 -j DROP
# 64.129.64.39
iptables -A INPUT -p tcp --dport 25 -s 64.129.64.39 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 64.129.64.39 -j DROP
# 64.129.64.41
iptables -A INPUT -p tcp --dport 25 -s 64.129.64.41 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 64.129.64.41 -j DROP
# 64.129.64.42
iptables -A INPUT -p tcp --dport 25 -s 64.129.64.42 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 64.129.64.42 -j DROP
# 64.129.64.44
iptables -A INPUT -p tcp --dport 25 -s 64.129.64.44 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 64.129.64.44 -j DROP
# 64.129.64.52
iptables -A INPUT -p tcp --dport 25 -s 64.129.64.52 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 64.129.64.52 -j DROP
# 64.129.64.53
iptables -A INPUT -p tcp --dport 25 -s 64.129.64.53 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 64.129.64.53 -j DROP
# 64.129.64.54
iptables -A INPUT -p tcp --dport 25 -s 64.129.64.54 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 64.129.64.54 -j DROP
# 64.129.64.57
iptables -A INPUT -p tcp --dport 25 -s 64.129.64.57 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 64.129.64.57 -j DROP
# 64.129.64.63
iptables -A INPUT -p tcp --dport 25 -s 64.129.64.63 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 64.129.64.63 -j DROP
# 64.129.64.63
iptables -A INPUT -p tcp --dport 25 -s 64.129.64.63 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 64.129.64.63 -j DROP
# 64.129.65.35
iptables -A INPUT -p tcp --dport 25 -s 64.129.65.35 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 64.129.65.35 -j DROP
# 64.129.65.38
iptables -A INPUT -p tcp --dport 25 -s 64.129.65.38 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 64.129.65.38 -j DROP
# 64.129.65.45
iptables -A INPUT -p tcp --dport 25 -s 64.129.65.45 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 64.129.65.45 -j DROP
# 64.129.65.47
iptables -A INPUT -p tcp --dport 25 -s 64.129.65.47 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 64.129.65.47 -j DROP
# 64.129.65.52
iptables -A INPUT -p tcp --dport 25 -s 64.129.65.52 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 64.129.65.52 -j DROP
# 64.129.65.58
iptables -A INPUT -p tcp --dport 25 -s 64.129.65.58 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 64.129.65.58 -j DROP
# 64.129.66.42
iptables -A INPUT -p tcp --dport 25 -s 64.129.66.42 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 64.129.66.42 -j DROP
# 64.129.66.45
iptables -A INPUT -p tcp --dport 25 -s 64.129.66.45 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 64.129.66.45 -j DROP
# 64.129.66.48
iptables -A INPUT -p tcp --dport 25 -s 64.129.66.48 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 64.129.66.48 -j DROP
# 64.129.66.58
iptables -A INPUT -p tcp --dport 25 -s 64.129.66.58 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 64.129.66.58 -j DROP
# 64.129.66.62
iptables -A INPUT -p tcp --dport 25 -s 64.129.66.62 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 64.129.66.62 -j DROP
# 66.79.167.3
iptables -A INPUT -p tcp --dport 25 -s 66.79.167.3 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 66.79.167.3 -j DROP
# 66.79.186.80
iptables -A INPUT -p tcp --dport 25 -s 66.79.186.80 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 66.79.186.80 -j DROP
# 66.79.189.100
iptables -A INPUT -p tcp --dport 25 -s 66.79.189.100 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 66.79.189.100 -j DROP
# 66.79.189.116
iptables -A INPUT -p tcp --dport 25 -s 66.79.189.116 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 66.79.189.116 -j DROP
# 66.79.189.116
iptables -A INPUT -p tcp --dport 25 -s 66.79.189.116 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 66.79.189.116 -j DROP
# 71.248.161.66
iptables -A INPUT -p tcp --dport 25 -s 71.248.161.66 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 71.248.161.66 -j DROP
# 71.83.196.95
iptables -A INPUT -p tcp --dport 25 -s 71.83.196.95 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 71.83.196.95 -j DROP
# 208.106.146.172
iptables -A INPUT -p tcp --dport 25 -s 208.106.146.172 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 208.106.146.172 -j DROP
# 67.140.129.243
iptables -A INPUT -p tcp --dport 25 -s 67.140.129.243 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 67.140.129.243 -j DROP
# 64.129.66.60
iptables -A INPUT -p tcp --dport 25 -s 64.129.66.60 -j LOG --log-level debug --log-prefix "asshole: "
iptables -A INPUT -p tcp --dport 25 -s 64.129.66.60 -j DROP
# 83.208.59.0-83.208.59.255 NEXTEL-XDSL CZ
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.208.59.0-83.208.59.255 -j LOG --log-level debug --log-prefix "RIPE-CZ: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.208.59.0-83.208.59.255 -j DROP;
# 84.244.80.0-84.244.80.255 LLU-BLUETONE CZ
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.244.80.0-84.244.80.255 -j LOG --log-level debug --log-prefix "RIPE-CZ: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.244.80.0-84.244.80.255 -j DROP;
# 84.108.0.0-84.108.255.255 CABLES-CONNECTION IL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.108.0.0-84.108.255.255 -j LOG --log-level debug --log-prefix "RIPE-IL: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.108.0.0-84.108.255.255 -j DROP;
# 88.153.170.0-88.153.255.255 ADSL-CUSTOMER-CONNECTION IL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.153.170.0-88.153.255.255 -j LOG --log-level debug --log-prefix "RIPE-IL: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.153.170.0-88.153.255.255 -j DROP;
# 88.154.0.0-88.154.84.255 ADSL-CUSTOMER-CONNECTION IL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.154.0.0-88.154.84.255 -j LOG --log-level debug --log-prefix "RIPE-IL: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.154.0.0-88.154.84.255 -j DROP;
# 85.250.0.0-85.250.127.255 BB-PT IL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.250.0.0-85.250.127.255 -j LOG --log-level debug --log-prefix "RIPE-IL: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.250.0.0-85.250.127.255 -j DROP;
# 88.155.0.0-88.155.84.255 ADSL-CUSTOMER-CONNECTION IL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.155.0.0-88.155.84.255 -j LOG --log-level debug --log-prefix "RIPE-IL: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.155.0.0-88.155.84.255 -j DROP;
# 62.245.112.0-62.245.119.255 UPC-BRNO-V CZ
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 62.245.112.0-62.245.119.255 -j LOG --log-level debug --log-prefix "RIPE-CZ: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 62.245.112.0-62.245.119.255 -j DROP;
# 85.70.248.0-85.70.248.255 NEXTEL-XDSL CZ
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.70.248.0-85.70.248.255 -j LOG --log-level debug --log-prefix "RIPE-CZ: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.70.248.0-85.70.248.255 -j DROP;
# 89.0.0.0-89.1.255.255 IL-BARAK-20060508 IL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 89.0.0.0-89.1.255.255 -j LOG --log-level debug --log-prefix "RIPE-IL: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 89.0.0.0-89.1.255.255 -j DROP;
# 83.130.76.0-83.130.91.255 EURONET IL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.130.76.0-83.130.91.255 -j LOG --log-level debug --log-prefix "RIPE-IL: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.130.76.0-83.130.91.255 -j DROP;
# 88.152.85.0-88.152.169.255 ADSL-CUSTOMER-CONNECTION IL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.152.85.0-88.152.169.255 -j LOG --log-level debug --log-prefix "RIPE-IL: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.152.85.0-88.152.169.255 -j DROP;
# 88.153.0.0-88.153.84.255 ADSL-CUSTOMER-CONNECTION IL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.153.0.0-88.153.84.255 -j LOG --log-level debug --log-prefix "RIPE-IL: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.153.0.0-88.153.84.255 -j DROP;
# 84.201.240.0-84.201.255.255 NEOLINK-NET RU
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.201.240.0-84.201.255.255 -j LOG --log-level debug --log-prefix "RIPE-RU: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.201.240.0-84.201.255.255 -j DROP;
# 62.168.111.48-62.168.111.63 SK-NETIQ-KROM SK
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 62.168.111.48-62.168.111.63 -j LOG --log-level debug --log-prefix "RIPE-SK: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 62.168.111.48-62.168.111.63 -j DROP;
# 84.42.192.0-84.42.199.255 UPC-BROADBAND-XXII CZ
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.42.192.0-84.42.199.255 -j LOG --log-level debug --log-prefix "RIPE-CZ: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.42.192.0-84.42.199.255 -j DROP;
# 212.116.184.0-212.116.184.31 IL-MISH-EIN-GEDI-NET IL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 212.116.184.0-212.116.184.31 -j LOG --log-level debug --log-prefix "RIPE-IL: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 212.116.184.0-212.116.184.31 -j DROP;
# 88.101.245.0-88.101.245.255 NEXTEL-XDSL CZ
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.101.245.0-88.101.245.255 -j LOG --log-level debug --log-prefix "RIPE-CZ: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.101.245.0-88.101.245.255 -j DROP;
# 80.178.131.0-80.178.142.255 GOLDENLINES-ADSL IL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 80.178.131.0-80.178.142.255 -j LOG --log-level debug --log-prefix "RIPE-IL: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 80.178.131.0-80.178.142.255 -j DROP;
# 194.212.175.64-194.212.175.95 ERKOR-CZ CZ
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 194.212.175.64-194.212.175.95 -j LOG --log-level debug --log-prefix "RIPE-CZ: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 194.212.175.64-194.212.175.95 -j DROP;
# 217.132.128.0-217.132.255.255 BB-HFA IL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 217.132.128.0-217.132.255.255 -j LOG --log-level debug --log-prefix "RIPE-IL: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 217.132.128.0-217.132.255.255 -j DROP;
# 83.130.111.0-83.130.127.255 EURONET IL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.130.111.0-83.130.127.255 -j LOG --log-level debug --log-prefix "RIPE-IL: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.130.111.0-83.130.127.255 -j DROP;
# 62.0.95.0-62.0.127.255 BB-PT IL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 62.0.95.0-62.0.127.255 -j LOG --log-level debug --log-prefix "RIPE-IL: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 62.0.95.0-62.0.127.255 -j DROP;
# 62.140.244.16-62.140.244.31 FIORD-BIRULEVONET RU
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 62.140.244.16-62.140.244.31 -j LOG --log-level debug --log-prefix "RIPE-RU: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 62.140.244.16-62.140.244.31 -j DROP;
# 84.25.0.0-84.25.255.255 ATHOME-LANDGRAAF-1 NL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.25.0.0-84.25.255.255 -j LOG --log-level debug --log-prefix "RIPE-NL: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.25.0.0-84.25.255.255 -j DROP;
# 86.3.128.0-86.3.143.255 NTL GB
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 86.3.128.0-86.3.143.255 -j LOG --log-level debug --log-prefix "RIPE-GB: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 86.3.128.0-86.3.143.255 -j DROP;
# 213.192.60.0-213.192.60.255 ERKORNET CZ
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 213.192.60.0-213.192.60.255 -j LOG --log-level debug --log-prefix "RIPE-CZ: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 213.192.60.0-213.192.60.255 -j DROP;
# 83.129.0.0-83.129.127.255 TISCALI-ADSL DE
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.129.0.0-83.129.127.255 -j LOG --log-level debug --log-prefix "RIPE-DE: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.129.0.0-83.129.127.255 -j DROP;
# 88.101.50.0-88.101.50.255 NEXTEL-XDSL CZ
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.101.50.0-88.101.50.255 -j LOG --log-level debug --log-prefix "RIPE-CZ: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.101.50.0-88.101.50.255 -j DROP;
# 84.252.14.0-84.252.15.255 EVROCOM-NET BG
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.252.14.0-84.252.15.255 -j LOG --log-level debug --log-prefix "RIPE-BG: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.252.14.0-84.252.15.255 -j DROP;
# 84.94.192.0-84.94.203.255 GOLDENLINES-CABLE IL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.94.192.0-84.94.203.255 -j LOG --log-level debug --log-prefix "RIPE-IL: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.94.192.0-84.94.203.255 -j DROP;
# 83.130.52.0-83.130.58.255 EURONET IL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.130.52.0-83.130.58.255 -j LOG --log-level debug --log-prefix "RIPE-IL: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.130.52.0-83.130.58.255 -j DROP;
# 62.219.246.56-62.219.246.63 MIVTZAR-LTD IL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 62.219.246.56-62.219.246.63 -j LOG --log-level debug --log-prefix "RIPE-IL: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 62.219.246.56-62.219.246.63 -j DROP;
# 81.90.160.0-81.90.164.255 CZ-TERMSNET CZ
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 81.90.160.0-81.90.164.255 -j LOG --log-level debug --log-prefix "RIPE-CZ: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 81.90.160.0-81.90.164.255 -j DROP;
# 66.231.170.102
iptables -A INPUT -p tcp --dport 25 -s 66.231.170.102 -j LOG --log-level debug --log-prefix "as-US: ";
iptables -A INPUT -p tcp --dport 25 -s 66.231.170.102 -j DROP;
# 85.192.16.0-85.192.23.255 YAUZA-TELECOM RU
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.192.16.0-85.192.23.255 -j LOG --log-level debug --log-prefix "RIPE-RU: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.192.16.0-85.192.23.255 -j DROP;
# 66.255.41.42
iptables -A INPUT -p tcp --dport 25 -s 66.255.41.42 -j LOG --log-level debug --log-prefix "as-US: ";
iptables -A INPUT -p tcp --dport 25 -s 66.255.41.42 -j DROP;
# 85.95.131.0-85.95.131.255 PTKOM-NET-001 RU
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.95.131.0-85.95.131.255 -j LOG --log-level debug --log-prefix "RIPE-RU: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.95.131.0-85.95.131.255 -j DROP;
# 84.228.152.0-84.228.155.255 EURONET IL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.228.152.0-84.228.155.255 -j LOG --log-level debug --log-prefix "RIPE-IL: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.228.152.0-84.228.155.255 -j DROP;
# 195.225.128.0-195.225.131.255 PROVRU RU
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 195.225.128.0-195.225.131.255 -j LOG --log-level debug --log-prefix "RIPE-RU: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 195.225.128.0-195.225.131.255 -j DROP;
# 85.48.0.0-85.55.255.255 UNI2-NET ES
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.48.0.0-85.55.255.255 -j LOG --log-level debug --log-prefix "RIPE-ES: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.48.0.0-85.55.255.255 -j DROP;
# 83.208.83.0-83.208.83.255 NEXTEL-XDSL CZ
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.208.83.0-83.208.83.255 -j LOG --log-level debug --log-prefix "RIPE-CZ: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.208.83.0-83.208.83.255 -j DROP;
# 84.94.60.0-84.94.71.255 GOLDENLINES-CABLE IL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.94.60.0-84.94.71.255 -j LOG --log-level debug --log-prefix "RIPE-IL: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.94.60.0-84.94.71.255 -j DROP;
# 83.130.16.0-83.130.36.255 EURONET IL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.130.16.0-83.130.36.255 -j LOG --log-level debug --log-prefix "RIPE-IL: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.130.16.0-83.130.36.255 -j DROP;
# 88.155.85.0-88.155.169.255 ADSL-CUSTOMER-CONNECTION IL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.155.85.0-88.155.169.255 -j LOG --log-level debug --log-prefix "RIPE-IL: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.155.85.0-88.155.169.255 -j DROP;
# 85.193.26.0-85.193.26.255 TASARYNET CZ
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.193.26.0-85.193.26.255 -j LOG --log-level debug --log-prefix "RIPE-CZ: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.193.26.0-85.193.26.255 -j DROP;
# 195.47.9.0-195.47.9.255 RKKA CZ
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 195.47.9.0-195.47.9.255 -j LOG --log-level debug --log-prefix "RIPE-CZ: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 195.47.9.0-195.47.9.255 -j DROP;
# 194.108.132.0-194.108.133.255 CTT-ADSL1-NET CZ
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 194.108.132.0-194.108.133.255 -j LOG --log-level debug --log-prefix "RIPE-CZ: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 194.108.132.0-194.108.133.255 -j DROP;
# 66.225.159.217
iptables -A INPUT -p tcp --dport 25 -s 66.225.159.217 -j LOG --log-level debug --log-prefix "as-US: ";
iptables -A INPUT -p tcp --dport 25 -s 66.225.159.217 -j DROP;
# 83.130.92.0-83.130.110.255 EURONET IL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.130.92.0-83.130.110.255 -j LOG --log-level debug --log-prefix "RIPE-IL: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.130.92.0-83.130.110.255 -j DROP;
# 83.130.59.0-83.130.67.255 EURONET IL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.130.59.0-83.130.67.255 -j LOG --log-level debug --log-prefix "RIPE-IL: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.130.59.0-83.130.67.255 -j DROP;
# 84.229.0.0-84.229.63.255 EURONET IL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.229.0.0-84.229.63.255 -j LOG --log-level debug --log-prefix "RIPE-IL: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.229.0.0-84.229.63.255 -j DROP;
# 88.152.170.0-88.152.255.255 ADSL-CUSTOMER-CONNECTION IL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.152.170.0-88.152.255.255 -j LOG --log-level debug --log-prefix "RIPE-IL: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.152.170.0-88.152.255.255 -j DROP;
# 81.30.202.0-81.30.207.255 UBN RU
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 81.30.202.0-81.30.207.255 -j LOG --log-level debug --log-prefix "RIPE-RU: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 81.30.202.0-81.30.207.255 -j DROP;
# 81.138.148.80-81.138.148.87 Mark-LANE-000000007254525 GB
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 81.138.148.80-81.138.148.87 -j LOG --log-level debug --log-prefix "RIPE-GB: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 81.138.148.80-81.138.148.87 -j DROP;
# 12.173.239.196
iptables -A INPUT -p tcp --dport 25 -s 12.173.239.196 -j LOG --log-level debug --log-prefix "as-US: ";
iptables -A INPUT -p tcp --dport 25 -s 12.173.239.196 -j DROP;
# 207.173.181.177
iptables -A INPUT -p tcp --dport 25 -s 207.173.181.177 -j LOG --log-level debug --log-prefix "as-US: ";
iptables -A INPUT -p tcp --dport 25 -s 207.173.181.177 -j DROP;
# 64.81.94.114
iptables -A INPUT -p tcp --dport 25 -s 64.81.94.114 -j LOG --log-level debug --log-prefix "as-US: ";
iptables -A INPUT -p tcp --dport 25 -s 64.81.94.114 -j DROP;
# 88.146.128.0-88.146.255.255 CZ-SLOANE-20051222 CZ
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.146.128.0-88.146.255.255 -j LOG --log-level debug --log-prefix "RIPE-CZ: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.146.128.0-88.146.255.255 -j DROP;
# 86.40.0.0-86.43.255.255 EIRCOM IE
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 86.40.0.0-86.43.255.255 -j LOG --log-level debug --log-prefix "RIPE-IE: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 86.40.0.0-86.43.255.255 -j DROP;
# 218.78.0.0-218.83.255.255 CHINANET-SH CN
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 218.78.0.0-218.83.255.255 -j LOG --log-level debug --log-prefix "RIPE-CN: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 218.78.0.0-218.83.255.255 -j DROP;
# 80.188.32.0-80.188.32.255 NEXTEL-XDSL CZ
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 80.188.32.0-80.188.32.255 -j LOG --log-level debug --log-prefix "RIPE-CZ: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 80.188.32.0-80.188.32.255 -j DROP;
# 81.245.4.0-81.245.5.255 BE-SKYNET-20011108 BE
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 81.245.4.0-81.245.5.255 -j LOG --log-level debug --log-prefix "RIPE-BE: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 81.245.4.0-81.245.5.255 -j DROP;
# 217.197.157.0-217.197.157.63 NWT-NET CZ
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 217.197.157.0-217.197.157.63 -j LOG --log-level debug --log-prefix "RIPE-CZ: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 217.197.157.0-217.197.157.63 -j DROP;
# 195.204.237.0-195.204.237.255 NO-FRENA-BREIBAND NO
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 195.204.237.0-195.204.237.255 -j LOG --log-level debug --log-prefix "RIPE-NO: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 195.204.237.0-195.204.237.255 -j DROP;
# 88.212.0.0-88.212.63.255 SK-ANTIK-20051208 SK
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.212.0.0-88.212.63.255 -j LOG --log-level debug --log-prefix "RIPE-SK: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.212.0.0-88.212.63.255 -j DROP;
# 217.80.0.0-217.86.127.255 DTAG-DIAL14 DE
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 217.80.0.0-217.86.127.255 -j LOG --log-level debug --log-prefix "RIPE-DE: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 217.80.0.0-217.86.127.255 -j DROP;
# 62.204.252.0-62.204.253.255 TTNET-SDL2 cz
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 62.204.252.0-62.204.253.255 -j LOG --log-level debug --log-prefix "RIPE-cz: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 62.204.252.0-62.204.253.255 -j DROP;
# 212.96.206.0-212.96.206.255 UGANSK RU
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 212.96.206.0-212.96.206.255 -j LOG --log-level debug --log-prefix "RIPE-RU: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 212.96.206.0-212.96.206.255 -j DROP;
# 82.147.96.0-82.147.127.255 RU-NEXCOM-20030704 RU
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.147.96.0-82.147.127.255 -j LOG --log-level debug --log-prefix "RIPE-RU: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.147.96.0-82.147.127.255 -j DROP;
# 62.168.245.0-62.168.245.127 PRUDOK ru
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 62.168.245.0-62.168.245.127 -j LOG --log-level debug --log-prefix "RIPE-ru: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 62.168.245.0-62.168.245.127 -j DROP;
# 83.208.32.0-83.208.32.255 NEXTEL-XDSL CZ
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.208.32.0-83.208.32.255 -j LOG --log-level debug --log-prefix "RIPE-CZ: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.208.32.0-83.208.32.255 -j DROP;
# 194.108.139.0-194.108.143.255 CTT-ADSL1-NET CZ
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 194.108.139.0-194.108.143.255 -j LOG --log-level debug --log-prefix "RIPE-CZ: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 194.108.139.0-194.108.143.255 -j DROP;
# 83.130.152.0-83.130.175.255 EURONET IL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.130.152.0-83.130.175.255 -j LOG --log-level debug --log-prefix "RIPE-IL: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.130.152.0-83.130.175.255 -j DROP;
# 82.81.128.0-82.81.191.255 ADSL-CUSTOMER-CONNECTION IL
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.81.128.0-82.81.191.255 -j LOG --log-level debug --log-prefix "RIPE-IL: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 82.81.128.0-82.81.191.255 -j DROP;
# 71.48.232.183
iptables -A INPUT -p tcp --dport 25 -s 71.48.232.183 -j LOG --log-level debug --log-prefix "as-US: ";
iptables -A INPUT -p tcp --dport 25 -s 71.48.232.183 -j DROP;
# 89.102.161.0-89.102.161.255 TESNETWORK CZ
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 89.102.161.0-89.102.161.255 -j LOG --log-level debug --log-prefix "RIPE-CZ: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 89.102.161.0-89.102.161.255 -j DROP;
# 212.205.95.0-212.205.95.255 OTENET GR
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 212.205.95.0-212.205.95.255 -j LOG --log-level debug --log-prefix "RIPE-GR: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 212.205.95.0-212.205.95.255 -j DROP;
# 84.244.95.64-84.244.95.127 MOPOS-CRA CZ
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.244.95.64-84.244.95.127 -j LOG --log-level debug --log-prefix "RIPE-CZ: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 84.244.95.64-84.244.95.127 -j DROP;
# 86.34.0.0-86.34.255.255 ROMTELECOM RO
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 86.34.0.0-86.34.255.255 -j LOG --log-level debug --log-prefix "RIPE-RO: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 86.34.0.0-86.34.255.255 -j DROP;
# 195.190.115.0-195.190.115.255 SOVINTEL RU
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 195.190.115.0-195.190.115.255 -j LOG --log-level debug --log-prefix "RIPE-RU: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 195.190.115.0-195.190.115.255 -j DROP;
# 218.5.70.24-218.5.70.31 XIAMEN-CTECOR-LTD-FJ CN
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 218.5.70.24-218.5.70.31 -j LOG --log-level debug --log-prefix "RIPE-CN: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 218.5.70.24-218.5.70.31 -j DROP;
# 124.48.0.0-124.63.255.255 XPEED KR
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 124.48.0.0-124.63.255.255 -j LOG --log-level debug --log-prefix "RIPE-KR: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 124.48.0.0-124.63.255.255 -j DROP;
# 58.60.0.0-58.63.255.255 CHINANET-GD CN
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 58.60.0.0-58.63.255.255 -j LOG --log-level debug --log-prefix "RIPE-CN: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 58.60.0.0-58.63.255.255 -j DROP;
# 85.75.0.0-85.75.255.255 OTENET GR
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.75.0.0-85.75.255.255 -j LOG --log-level debug --log-prefix "RIPE-GR: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 85.75.0.0-85.75.255.255 -j DROP;
# 217.172.157.0-217.172.157.255 ITSYSTEMS-NET1 SK
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 217.172.157.0-217.172.157.255 -j LOG --log-level debug --log-prefix "RIPE-SK: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 217.172.157.0-217.172.157.255 -j DROP;
# 88.151.176.48-88.151.179.7 SKYNET KZ
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.151.176.48-88.151.179.7 -j LOG --log-level debug --log-prefix "RIPE-KZ: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.151.176.48-88.151.179.7 -j DROP;
# 89.144.192.0-89.144.223.255 MOBILKOM-MOBILEPOOLS3 AT
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 89.144.192.0-89.144.223.255 -j LOG --log-level debug --log-prefix "RIPE-AT: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 89.144.192.0-89.144.223.255 -j DROP;
# 64.18.4.10
iptables -A INPUT -p tcp --dport 25 -s 64.18.4.10 -j LOG --log-level debug --log-prefix "as-US: ";
iptables -A INPUT -p tcp --dport 25 -s 64.18.4.10 -j DROP;
# 218.228.128.0-218.228.255.255 K-OPTICOM JP
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 218.228.128.0-218.228.255.255 -j LOG --log-level debug --log-prefix "RIPE-JP: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 218.228.128.0-218.228.255.255 -j DROP;
# 200.69.160.0/21 K-OPTICOM EC
iptables -A INPUT -p tcp --dport 25 -s 200.69.160.0/21 -j LOG --log-level debug --log-prefix "LACNIC-EC: ";
iptables -A INPUT -p tcp --dport 25 -s 200.69.160.0/21 -j DROP;
# 83.141.84.192-83.141.84.255 IBIS-PA-NET IE
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.141.84.192-83.141.84.255 -j LOG --log-level debug --log-prefix "RIPE-IE: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 83.141.84.192-83.141.84.255 -j DROP;
# 63.211.182.52
iptables -A INPUT -p tcp --dport 25 -s 63.211.182.52 -j LOG --log-level debug --log-prefix "as-US: ";
iptables -A INPUT -p tcp --dport 25 -s 63.211.182.52 -j DROP;
# 60.208.0.0-60.217.255.255 CNCGROUP-SD CN
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 60.208.0.0-60.217.255.255 -j LOG --log-level debug --log-prefix "RIPE-CN: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 60.208.0.0-60.217.255.255 -j DROP;
# 124.128.0.0-124.135.255.255 CNCGROUP-SD CN
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 124.128.0.0-124.135.255.255 -j LOG --log-level debug --log-prefix "RIPE-CN: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 124.128.0.0-124.135.255.255 -j DROP;
# 88.242.64.0-88.242.255.255 TurkTelekom tr
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.242.64.0-88.242.255.255 -j LOG --log-level debug --log-prefix "RIPE-tr: ";
iptables -A INPUT -p tcp --dport 25 -m iprange --src-range 88.242.64.0-88.242.255.255 -j DROP;
# 201.253.26.0/23 AR
iptables -A INPUT -p tcp --dport 25 -s 201.253.26.0/23 -j LOG --log-level debug --log-prefix "LACNIC-AR: ";
iptables -A INPUT -p tcp --dport 25 -s 201.253.26.0/23 -j DROP;