Script to see blocked hosts online for csf !

Post Reply
Mangelot
Junior Member
Posts: 4
Joined: 14 Jan 2009, 16:19

Script to see blocked hosts online for csf !

Post by Mangelot »

Hello,

If found this script with download link on the website
h-t-t-p://tanchaz.hu/blockhosts/
it is originally for blockhosts en denyhost firewall solutions.

but seems simple to modifie for use with csf and lfd.
it reads the ip adresses inside /etc/hosts.deny file into mysql,
and makes it possible to view them online include a country flag.
only the way the file reading takes place seems to bee adjusted..

some one any suggestions how to make this work with csf.deny file?

regards Marco
chirpy
Moderator
Posts: 3537
Joined: 09 Dec 2006, 18:13

Post by chirpy »

I don't understand your request. hosts.deny isn't a firewall it's part of TCPWrappers. If you want to use that you can do, but it has nothing to do with csf. If it's that you want to use that web site as a block list, then you'd need to write your own script to retrieve the data from the site and parse the IP addresses into a file and use that as a Global Deny list in csf.
Mangelot
Junior Member
Posts: 4
Joined: 14 Jan 2009, 16:19

Post by Mangelot »

Hello Chirpy,

I think you dont understand me,
All I would like to see is the blocked ip-adresses by CSF,
Can be viewed on a webpage, like the example script I mentioned.
I don't want to use the website as an remote blocklist...

This script uses the ip adresses out of the hosts.deny file en places these online on a website. with a country flag etc..

I was wondering if this is also possible for CSF,
so that the script can be adjusted te retrieve ip-adresses out of csf.deny.
and show those online.

does this make sense?

regards Marco
chirpy
Moderator
Posts: 3537
Joined: 09 Dec 2006, 18:13

Post by chirpy »

I understand. I'm hopinh to develop such features in the future development of the statistics output.
Post Reply