I'm having some issues blocking IP addresses in my CentOS server. I'm using Advance Policy Firewall and I've added the IP addresses to the deny_hosts.rules file. I've stopped and restarted the service yet the addresses that I added to that file keep showing up in the HTTP access logs.
These IP addresses I'm trying to block are accessing my site a few hundred times every hour and it's spawning lots of HTTPD processes causing high load.
UPDATE
# Generated by iptables-save v1.4.7 on Mon Sep 19 06:42:07 2016
*mangle
:PREROUTING ACCEPT [100260:7590308]
:INPUT ACCEPT [100260:7590308]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [92161:131448392]
:POSTROUTING ACCEPT [92161:131448392]
COMMIT
# Completed on Mon Sep 19 06:42:07 2016
# Generated by iptables-save v1.4.7 on Mon Sep 19 06:42:07 2016
*filter
:INPUT ACCEPT [100252:7589968]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [92159:131448300]
COMMIT