Page 1 of 1

hook/script for CSF geolocation database downloads?

Posted: 02 Aug 2022, 20:37
by p4guru
I was wondering if there are any pre-existing hooks/script support for the moment CSF downloads and pulls the geolocation database download? Or would it work to just monitor /var/lib/csf/Geo for file changes?

Code: Select all

ls -lAhrt /var/lib/csf/Geo/
total 51M
-rw------- 1 root root  116 May 30  2021 README.txt
-rw-rw-r-- 1 root root  14M May 16 08:00 GeoLite2-Country-Blocks-IPv4.csv
-rw-rw-r-- 1 root root  398 May 16 08:00 LICENSE.txt
-rw-rw-r-- 1 root root   55 May 16 08:00 COPYRIGHT.txt
-rw-rw-r-- 1 root root 9.7K May 16 08:00 GeoLite2-Country-Locations-en.csv
-rw-rw-r-- 1 root root  11M May 16 08:00 GeoLite2-Country-Blocks-IPv6.csv
-rw------- 1 root root  31K Jul 28 08:00 countryInfo.txt
-rw------- 1 root root  28M Jul 28 08:00 dbip-country-lite.csv