Page 1 of 1
Customer IP's blocked after false positive
Posted: Sat Jun 21, 2008 4:44 am
by BerArt
I received two false positive messages on one of our servers that did block two customer IP numbers and put them in the hosts.deny (all)
I put them both in the ASL white list and removed them from hosts.deny (I double checked this) than I runned asl –f and I could see that the IP’s (fixed) in the ASL white list. Still my customers cannot access Plesk nor can see there site so they are still fully blocked. What am I missing? Why are they still blocked? (I aslo did send a support ticket to Scott)
Thx!

Posted: Mon Jun 23, 2008 8:35 am
by Highland
Do you have the ASL GUI for Plesk installed? If so, go in there and click on the block list and see if they're still listed.
If they're not, try a manual restart of OSSEC
Code: Select all
#/var/ossec/bin/ossec-control restart
Posted: Mon Jun 23, 2008 8:51 am
by BerArt
Yes, I can see them in the block list but behind the IP is the text "Whitelisted" and I can also see them in the Whitelist section. I had this problem before, and then a Whitelist and removal from hosts.deny solved the problem. Now it doesn’t anymore

still the two IP are blocked completely.
Posted: Mon Jun 23, 2008 8:54 am
by BerArt
Posted: Wed Jun 25, 2008 3:41 am
by BerArt
I can see the two IP are still listed in IPtables, I thought if you remove it from hosts.deny and whitelist it on ASL it also would be removed from IPtables? Is it posible that this is the problem?
Posted: Wed Jun 25, 2008 7:13 am
by scott
the correct way to remove them would be to use the gui, or run asl --unblock <IP>
Posted: Wed Jun 25, 2008 7:26 am
by BerArt
Do I have to run asl -s -f after the --unblock?
//edit I guess not problem is solved, Thx! Scott

Posted: Wed Jun 25, 2008 10:11 am
by scott
No, you dont need to run -s -f after that. --unblock <IP> is exactly what the GUI calls when you unblock something. Its more efficient than -s -f since it just removes the shuns from the shun database, and then extracts them from firewall policy. It would also get around any high-load issues caused by an OSSEC restarts.
--whitelist is different, it requires an OSSEC and Denyhosts restart which would spawn hundreds (or thousands) of configuration events, and that would mean high load until its done.
Posted: Wed Jun 25, 2008 10:13 am
by BerArt
Ok clear, so I use --unblock in the future
